Skip to content

2.0.0

Latest

Choose a tag to compare

@Pingu501 Pingu501 released this 15 Apr 07:49

Release 2.0.0 comes with breaking changes to the DecoupledContentStore

Whats new?

  • FEATURE: support for different output formats, with differing documentRenderers and custom enumerators by @skurfuerst in #46
  • Define Workspaces to publish
  • Lots of code-refinements which may break your implementations due to namespace changes

Breaking Changes

  • contentReleaseWriters configuration moved: This setting is no longer top-level — it is now nested under the documentRenderers configuration. Update your Settings.yaml accordingly.

OLD:

Flowpack:
  DecoupledContentStore:
    extensions:
      contentReleaseWriters:
        gzipCompressed:
          className: Flowpack\DecoupledContentStore\NodeRendering\Extensibility\ContentReleaseWriters\GzipWriter
        legacy:
          className: Flowpack\DecoupledContentStore\NodeRendering\Extensibility\ContentReleaseWriters\LegacyWriter

NEW:

Flowpack:
  DecoupledContentStore:
    extensions:
      # Decide how node rendering should happen. 
      documentRenderers:
        htmlViaFusion:
          # ... the other config matches the old behavior ...

          # Register additional content release writers, being called for every finished node which should be added
          # to the content release.
          #  (must implement ContentReleaseWriterInterface)
          contentReleaseWriters:
            gzipCompressed:
              className: Flowpack\DecoupledContentStore\NodeRendering\Extensibility\ContentReleaseWriters\GzipWriter
            legacy:
              className: Flowpack\DecoupledContentStore\NodeRendering\Extensibility\ContentReleaseWriters\LegacyWriter
  • Configuration key rename: The workspace name field in ContentReleaseMetadata has been renamed. Check any custom integrations that rely on its serialized JSON output.
  • Namespace restructure (potential): Classes under NodeRendering\Extensibility may be reorganized. If you reference these classes directly, verify paths after upgrading.

What's Changed

  • BUGFIX: Add html escaping to stderr and stdout of job logs by @mhsdesign in #35
  • BUGFIX: Joblogs preserve whitespace and highlight errors by @mhsdesign in #36
  • BUGFIX: use allAllowedCombinations for contentDimensions in document … by @Pingu501 in #48
  • fix: Fix errors after resolving merge conflicts for beta v2 release by @nilsjung in #43
  • Feature: add changes from 1and1 branch, rebase + resolve conflicts for current main by @erickloss in #42

New Contributors

Full Changelog: 1.6.7...2.0.0