Skip to content

Commit

Permalink
Update Products.CMFEditions to 4.0.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Dec 11, 2024
1 parent 1937853 commit c0b7926
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 60 deletions.
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ plone.z3cform==2.0.3
plonetheme.barceloneta==3.2.0
Products.CMFDiffTool==4.0.4
Products.CMFDynamicViewFTI==7.0.2
Products.CMFEditions==4.0.3
Products.CMFEditions==4.0.4
Products.CMFPlacefulWorkflow==3.0.4
Products.CMFPlone==6.1.0b1
Products.ExtendedPathIndex==4.0.1
Expand Down
63 changes: 5 additions & 58 deletions release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release notes for Plone 6.1.0b1
# Release notes for Plone 6.1.0b2 (unreleased)

* Released: October 31, 2024
* Last updated: December 11, 2024
* Check the [release schedule](https://plone.org/download/release-schedule).
* Read the [upgrade guide](https://6.docs.plone.org/backend/upgrading/version-specific-migration/upgrade-to-61.html), explaining the biggest changes compared to 6.0.
* Canonical place for these [release notes](https://dist.plone.org/release/6.1.0b1/RELEASE-NOTES.md) and the full [packages changelog](https://dist.plone.org/release/6.1.0b1/changelog.txt).
Expand All @@ -13,62 +13,9 @@ If you want to jump straight in, here are two important links:

## Highlights

The main change in this release is the support and inclusion of Plone Distributions.
A Plone distribution is a Python package that defines specific features, themes, add-ons, and configurations that get activated when creating a Plone site.
Now it is available in core Plone as the recommended way for creating a new Plone site.

The documentation explains the [concept of distributions](https://6.docs.plone.org/conceptual-guides/distributions.html), how to [create a distribution](https://6.docs.plone.org/developer-guide/create-a-distribution.html) and what you may need to [do when upgrading](https://6.docs.plone.org/backend/upgrading/version-specific-migration/upgrade-to-61.html#distributions).

The following packages are involved in the changes. Their links already give an idea of how to create and use distributions:

* [`plone.distribution`](https://github.com/plone/plone.distribution) provides the framework for defining distributions.
* [`plone.exportimport`](https://github.com/plone/plone.exportimport) imports and exports content, users, and other objects between Plone sites.
`plone.distribution` uses it.
* [`plone.volto`](https://github.com/plone/plone.volto) is the distribution to create a Plone site with the default frontend, Volto.
* [`plone.classicui`](https://github.com/plone/plone.classicui) is the distribution to create a Plone site with the Classic UI frontend.
* `Plone`: Add dependency on `plone.classicui` distribution.
`plone.volto` was already a dependency. Both pull in `plone.distribution` and `plone.exportimport` as dependencies.
* `Products.CMFPlone` has the following related changes:
* Only register the add site form and root Zope overview if `plone.distribution` is not available.
* Remove advanced options from Add Plone Site form.
If you need more options, you should add a Plone Distribution to your packages.
The main ones are `plone.volto` and `plone.classicui`.
We now only create a basic Plone site without default example content.
* `factory.addPloneSite`: remove `setup_content` and `content_profile_id` keyword arguments.
We no longer load default content. Use a Plone Distribution if you need this.
Or pass an extra profile id in the `extension_ids` keyword argument.
* You can pass a `distribution_name` to `factory.addPloneSite`.
We then pass all other arguments and keyword arguments to the `plone.distribution` site api.

Other major changes since 6.1.0a5:

* `plone.app.caching`:
* Replace `plone.app.caching` import step with a post handler.
* Removed the `plone.app.caching.txt` Generic Setup flag file that was needed by the import step.
* Add uninstall profile.
* `plone.staticresources`:
* New `pat-contentbrowser` pattern from `mockup==5.2.0-alpha.11`. See https://github.com/plone/mockup/releases/tag/5.2.0-alpha.11 for details.
* Update to latest `mockup=5.2.0-beta.0`. See https://github.com/plone/mockup/releases/tag/5.2.0-beta.0
* `plone.app.z3cform`: Implement new `ContentBrowserWidget` for `pat-contentbrowser` pattern.
The deprecated `RelatedItemsWidget` and `pat-relateditems` pattern is still available
and imports should not break. But the default widget and converter adapter registration for
z3c.relationfield is changed to the new widget.
* `plone.app.relationfield`: Use new `ContentBrowserWidget` with `pat-contentbrowser` support.
* `plone.volto`:
* Drop support for Plone 5.2 and Plone 6.0.
* The following GenericSetup profiles were removed: `default-homepage`, `default-homepage-drafjs`, `default-homepage-slate`, `demo` and `richtext`.
* `Products.CMFPlone` and several other packages have robot tests: functional tests that use a real browser.
Most of these were ported to playwright based tests, using the robotframework browser library.
This should result in more stable tests that are easier to write and maintain.
* `Products.CMFPlone`: URL Management (Redirection) control panel:
* Added support for start and end filters.
* Find substring matches when querying aliases.
* `plone.recipe.zope2instance`: Specify a standalone `logging.ini` configuration using the `wsgi-logging-ini-template` option in buildout.
The log configuration will be injected into `wsgi.ini` keeping all other default wsgi config.
The `wsgi-logging-ini-template` option cannot be used together with the `wsgi-ini-template`.
* `plone.restapi`:
* Added create and fetch aliases in CSV format.
* Site service: Indicate whether the site supports filtering URL aliases by date.
Major changes since 6.1.0b1:

* `Products.CMFEditions`: Fix ancient bug: "Can't pickle objects in acquisition wrappers" error in `OMOutsideChildrensModifier` and `OMInsideChildrensModifier`.


## Volto frontend
Expand Down
2 changes: 1 addition & 1 deletion versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ plone.z3cform = 2.0.3
plonetheme.barceloneta = 3.2.0
Products.CMFDiffTool = 4.0.4
Products.CMFDynamicViewFTI = 7.0.2
Products.CMFEditions = 4.0.3
Products.CMFEditions = 4.0.4
Products.CMFPlacefulWorkflow = 3.0.4
Products.CMFPlone = 6.1.0b1
Products.ExtendedPathIndex = 4.0.1
Expand Down

0 comments on commit c0b7926

Please sign in to comment.