Attention: If you skipped one or more release, please also check the release-notes of the skipped ones.

Repositories

This release consists of the following new versions of the livingdocs-server and the livingdocs-editor:

Package Version
@livingdocs/server 68.0.8
@livingdocs/editor 28.4.15

Livingdocs Server

How to require the server in your package.json:

"dependencies": {
  "@livingdocs/server": "68.0.8",
}

Livingdocs Editor

How to require the editor in your package.json:

"dependencies": {
  "@livingdocs/editor": "28.4.15",
}

Highlights

Multi Language Support 🎁 🔥

This release introduce multi language support in the Livingdocs core. A more detailed description about the setup and the feature can be found in the documentation.

The activation of the feature requires a re-index of elasticsearch (including the new mapping): grunt search-index:document:reset

server PR #1881 / editor PR #1929

Configurable search filter for empty queries on the dashboard 🎁 🔥

This change brings a new option named emptySearchQueries for filters (e.g. articleList). emptySearchQueries specifies the filter & sorting rules when the search field is empty.

Required Actions

To get the previous search behaviour back of the last version, you have to provide -updated_at in the editor emptySearchQueries option (compare defaultQueries and emptySearchQueries):

filters: {
  articleList: {
    displayFilters: ['channels', 'contentType', 'timeRange'],
    defaultQueries: [
      {type: 'documentType', value: 'article'},
      {type: 'sortBy', value: 'relevance'}
    ],
    emptySearchQueries: [
      {type: 'documentType', value: 'article'},
      {type: 'sortBy', value: '-updated_at'}
    ]
  }
}

This tells the editor to provide sortBy -> -updated_at in case there is no search query input available.

For a more detailed description have a look at the documentation, the server PR #1885 and the editor PR #1939

Project toggle support (alpha) 🎁 🔥

A user can now switch between 2 or more projects in the Editor. This feature is in alpha state and can only be activated with manually assigning a user to another project via the database.

BREAKING CHANGES

Server

  • Editor API
    • The GET /projects/:id endpoint now uses properties that are in camelCase. That shouldn’t have any affect in the editor as we transform everything anyways.
    • GET /projects now returns the projects of a specific user. An admin can’t call that endpoint to retrieve all the projects anymore.
  • Public API
    • no breaking changes
  • Core API
    • project.default_channel_id has been renamed to project.defaultChannelId
    • project.config.import_user has been renamed to project.importUserId

For a more detailed description (including deprecations) check the server PR #1775 and the editor PR #1787

Other Changes

  • UX Improvements
    • Data dashboard (beta) #1879 #1927 🎁
    • Allow image replacement for hugo image drop #1915 🎁
    • Realtime Progress Bar Positioning #1890 🔧
  • Chore
    • Update angular to 1.6.9 #1823 🔧
    • Use pusher warnings instead of errors for expected failures #1888 🔧
    • Support spaces in directory paths when running tests #1842 🔧
    • Automatically create the import user if it doesn’t exist #1902 🔧
  • Bugfixes
    • Prevent endless redirects #1924 🪲
    • Fix events-publications migration #1878 🪲
    • Guard for undefined user in revision-history #1912 🪲
    • Make content_type on documents and publication events NOT NULLABLE #1855 🪲
  • Print
    • Fixes print layout select for new release #1909 🪲

Icon Legend

  • Breaking changes: 🔥
  • Feature: 🎁
  • Bugfix: 🪲
  • Chore: 🔧