Skip to content

Neos 4.x compatible release

Choose a tag to compare

@dimaip dimaip released this 28 Jan 19:34

Breaking Changes

Besides changing the default text editor, we have a few changes in the UI Extensibility API. Only the UI extension authors should be concerned with this.

The biggest change is that now the Redux application state is no longer an ImmutableJS structure, but a plain JS object. Practically it means that you should remove all .toJS() calls from your extensions and other special ImmutableJS methods like get or set.

Here are a few additional changes:

  • state: ui.contentCanvas.contextPath moved to cr.nodes.documentNode
  • actions.UI.ContentCanvas.setContextPath renamed to actions.CR.Nodes.setDocumentNode
  • actionTypes.UI.ContentCanvas.SET_CONTEXT_PATH renamed to actionTypes.CR.Nodes.SET_DOCUMENT_NODE
  • selectors.UI.ContentCanvas.getCurrentContentCanvasContextPath and selectors.CR.Workspaces.activeDocumentContextPathSelector are now both replaced by selectors.CR.Nodes.documentNodeContextPathSelector
  • selectors.UI.ContentCanvas.documentNodeSelector renamed to selectors.CR.Nodes.documentNodeSelector
  • actions.UI.Inspector.commit requires new argument focusedNode. Note that the commit prop function that is passed to the inspector editors doesn't change its signature and remains backwards-compatible.
  • actions.UI.Inspector.clear requires new argument focusedNodeContextPath
  • actions.UI.Inspector.discard requires new argument focusedNodeContextPath
  • ImmutableJS is no longer exposed via extensibility API. Install your own copy if you need it.