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

Newsletter

Repositories

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

Package Version
@livingdocs/server release-2020-05
@livingdocs/editor release-2020-05

Livingdocs Server

How to require the server in your package.json:

"dependencies": {
  "@livingdocs/server": "release-2020-05",
}

Livingdocs Server Patches

  • v94.10.18: fix(integrations): prevent initializing imatrics feature if not allowed
  • v94.10.17: fix(add-origin): to local authentication api
  • v94.10.16: fix(elasticsearch): Backport the fix for the numberOfReplicas and numberOfShards index configs
  • v94.10.15: fix: Upgrade to ioredis@4.17.3 to potentially fix a redis reconnect issue

The code in https://github.com/luin/ioredis/pull/1139 might fix the connection issue we’ve been running into

  • v94.10.14: fix(imatrics): Allow value 0 for minchars
  • v94.10.13: fix: add user to new login device data object
  • v94.10.12: fix(imatrics): make imatrics tag schema more flexibel by allowing additional properties
  • v94.10.11: fix: add getRoutePart for core li-language plugin
  • v94.10.10: chore: improve formatting
  • v94.10.9: bump framework

Livingdocs Editor

How to require the editor in your package.json:

"dependencies": {
  "@livingdocs/editor": "release-2020-05",
}

Livingdocs Editor Patches

  • v50.2.54: fix(comments): update metadata comment count only locally
  • v50.2.53: fix(editor): show scrollbar in read-only views
  • v50.2.52: chore: simplify redirect
  • v50.2.51: fix: properties panel behaves correct for multi selects
  • v50.2.50: fix(comment-count): set to undefined when count is 0
  • v50.2.49: fix(revision-selection): use always next revision to compare
  • v50.2.48: fix(image-uploader): Add file input element to DOM

The element generated in file_picker.js can not be accessed from the DOM. This adds the input element to the DOM so it can be accessed by E2E tests.

  • v50.2.47: fix(comment-cards): add comment thread to canvas

  • v50.2.46: fix(comments): add instead of remove highlight on change

  • v50.2.45: fix(asset-server): Do not serve .map files on production

  • v50.2.44: fix(error-message): deleted article message is error

  • v50.2.43: fix: activation of insert toolbar action only on canvas route

  • v50.2.42: fix: add comment and cancel btn

  • v50.2.41: fix(kanbanboard): fix live update of a kanban board card

  • v50.2.40: fix(remove-route): remove add route and save status in canvas

  • v50.2.39: fix(resolve-conflicts): check only on content, document.version and userId

  • v50.2.38: fix(deliveryLinks): recompile delivery links when publish state changes

  • v50.2.37: test(conflict): add tests

  • v50.2.36: fix: document copies and references are reliably shown as published and do not rely on a metadata field named publishDate

  • v50.2.35: fix: only promt entering languages on creation if languages are available on content types metadata

  • v50.2.34: fix: improve visiblity of urgent proofreading tasks and deadlines

  • v50.2.33: chore: disable shakey cypress test

  • v50.2.32: fix(editor text selection): Color

  • Changed color to cyan and increased contrast against background (white)

  • v50.2.31: fix(locale): fix default moment locale to ‘en-li’

  • v50.2.30: fix: add allow-downloads flag to support chrome 83

  • v50.2.29: fix: blur only if component is focused

  • v50.2.28: add uploadImage function to iFrameview

Highlights

Editor UI Changes

We did an iteration on the side panel next to the document to integrate the comments more seamlessly into the editing experience as well as prepare the editor for future mobile optimisations.

Canvas added

We have now removed the side-panel for properties and comments. Instead we have a canvas on the right side of the document that is visible by default. That way users do not have to jump between editing and comment modes and comments are more visible if there are any. As a general improvement the scrollbar of the document is now on the right side of the canvas which feels more natural.

image

Comments moved to Canvas

The comments are now shown in the canvas. And instead of using tabs to switch between open and resolved comments which comments are visible can be controlled from the collaboration-bar. The default is that the open comments will be shown and the resolved comments will be hidden. image

properties-panel

The properties-panel is not a side-panel anymore. Now it is a panel over the canvas and can be minimised. image

Translations 🎉

Livingdocs now supports translations. You can for example create an article in german and translate this document into another language like english.

Translations

References:

Webhooks 🎉

Livingdocs adds Webhooks to the core system. Webhooks can be configured to call a 3rd-party endpoint on document.published and document.unpublished event. Check out the documentation if you want to know more.

webhooks

References:

Custom Document Preview 🎉

Livingdocs now supports a custom document preview. You are now able to register your own rendering function to generate a preview of your delivery system like your webpage or an RSS feed. It’s even thinkable to generate a truly native app preview. For more information on how to do it look into the Server Pull Request.

document-preview3

References:

Delivery links are shown in the publish panel when a document is published. These links are usually used to check if the document has been published correctly on the website. You can now configure more than one of these links through channelConfig (or UI). Check out the Editor Pull Request if you want to know more.

delivery-link

References:

2 Times Faster Image Upload 🎉 :speedoat:

If you upload/drop an image into Livingdocs, the image upload is now twice as fast with the new libvips strategy.

Dropped image format support 🔥

  • libvips does not support .bmpimages, but supports HEIC (iphone format for images)
// change your environment config on the server to upload images twice as fast as with the 'imagemagick' strategy
images: {
  processingStrategy: 'libvips'
}

References:

Breaking Changes 🔥

Migrate the database

The migration is simple, the duration is short and there are no datalosses expected on up-/downgrade.

# run grunt migrate to update to the newest database scheme
# migration - 135-add-webhooks.js.js
#   create webhooks table
livingdocs-server migrate up

Other Changes

Features

Improvements

Bugfixes