Skip to content

Commit

Permalink
Update release directory from 6.1.0a5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Sep 5, 2024
1 parent c35b234 commit bbe1c76
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 586 deletions.
8 changes: 4 additions & 4 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-c https://zopefoundation.github.io/Zope/releases/5.10/constraints.txt
pip==24.0
setuptools==69.5.1
wheel==0.43.0
zc.buildout==3.0.1
pip==24.2
setuptools==74.0.0
wheel==0.44.0
zc.buildout==3.1.0
nt-svcutils==2.13.0
docutils==0.21.2
borg.localrole==3.1.11
Expand Down
81 changes: 44 additions & 37 deletions release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,53 @@
# Release notes for Plone 6.1.0a4
# Release notes for Plone 6.1.0a5

* Released: August 1, 2024
* Released: September 5, 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.0a4/RELEASE-NOTES.md) and the full [packages changelog](https://dist.plone.org/release/6.1.0a4/changelog.txt).
* Canonical place for these [release notes](https://dist.plone.org/release/6.1.0a5/RELEASE-NOTES.md) and the full [packages changelog](https://dist.plone.org/release/6.1.0a5/changelog.txt).

If you want to jump straight in, here are two important links:

* With pip you can use the constraints file at [https://dist.plone.org/release/6.1.0a4/constraints.txt](https://dist.plone.org/release/6.1.0a4/constraints.txt), plus optionally [`constraints-extra.txt`](https://dist.plone.org/release/6.1.0a4/constraints-extra.txt) and [`constraints-ecosystem.txt`](https://dist.plone.org/release/6.1.0a4/constraints-ecosystem.txt). Note: in 6.0 we did not have these last two files. This may still change.
* With Buildout you can use the versions file at [https://dist.plone.org/release/6.1.0a4/versions.cfg](https://dist.plone.org/release/6.1.0a4/versions.cfg), plus optionally [`versions-extra.cfg`](https://dist.plone.org/release/6.1.0a4/versions-extra.cfg) and [`versions-ecosystem.cfg`](https://dist.plone.org/release/6.1.0a4/versions-ecosystem.cfg).
* With pip you can use the constraints file at [https://dist.plone.org/release/6.1.0a5/constraints.txt](https://dist.plone.org/release/6.1.0a5/constraints.txt), plus optionally [`constraints-extra.txt`](https://dist.plone.org/release/6.1.0a5/constraints-extra.txt) and [`constraints-ecosystem.txt`](https://dist.plone.org/release/6.1.0a5/constraints-ecosystem.txt). Note: in 6.0 we did not have these last two files. This may still change.
* With Buildout you can use the versions file at [https://dist.plone.org/release/6.1.0a5/versions.cfg](https://dist.plone.org/release/6.1.0a5/versions.cfg), plus optionally [`versions-extra.cfg`](https://dist.plone.org/release/6.1.0a5/versions-extra.cfg) and [`versions-ecosystem.cfg`](https://dist.plone.org/release/6.1.0a5/versions-ecosystem.cfg).


## Highlights

Major changes since 6.1.0a3:

The main change in this release is that Discussion is a core add-on.
Discussion is a feature that allows your site visitors to comment on web pages for any content object. The code behind this is in the `plone.app.discussion` package. In Plone 6.0 and earlier, this was a dependency of `Products.CMFPlone`, making it available for installation in all Plone sites. In Plone 6.1 it's a dependency of the `Plone` package.

See the [upgrade guide](https://6.docs.plone.org/backend/upgrading/version-specific-migration/upgrade-to-61.html#discussion-is-a-core-add-on) on how to handle this if your site has comments and you want to keep them.

The following packages are involved in the changes:

* `plone.app.discussion`: Move this package in the space of Plone Core add-ons.
It now depends on `Products.CMFPlone` and is no longer installed by default.
It is still available in the default `Plone` distribution, but can be omitted in customizations.
Installing this in the Add-ons control panel will enable comments globally.
* `Products.CMFPlone`: Remove dependency on `plone.app.discussion`.
* `plone.app.contenttypes`: Do not enable the `plone.allowdiscussion` behavior by default.
* `plone.app.dexterity`: Move `plone.discussion` behavior out of this package to `plone.app.discussion`.
* `plone.app.upgrade`: Cleanup `plone.app.discussion` settings when the package is not available. If the site contains comments, we throw an error and stop the upgrade. The advice then is to add the `plone.app.discussion` package.

Other major changes since 6.1.0a4:

* `plone.app.content`:
* `getVocabulary`: Fix for terms with incomplete HTML.
* Fix `select_default_page` in VHM hosted sites.
* `Products.PortalTransforms`: Shortcut in safe_html: Check for signs of html or script, skip further processing if none are found.
* Newer `docutils` that works with Sphinx 8.
* `Products.validation`:
* Moved to `versions-ecosystem.cfg`, and no longer test it in core, as core Plone is not using it. It is used by the populare addon `collective.easyform`.
* Drop support for Plone 5.2 and for Python 3.7 and lower. Only Plone 6.0 and 6.1 are supported now.
* Move translations from `plone.app.locales` to here.
* `Products.isurlinportal`: No longer patch `Products.CMFPlone`. Instead, `Products.CMFPlone` will use us directly (it already does, but with a new `Products.CMFPlone` release it will do so more cleanly). This solves cyclic dependencies.
* `zc.buildout`: update to version that works with latest setuptools.
* `plone.app.locales:
* Remove `Products.validation` translations. They are moved to that package.
* Update es, pt-br, eu, cn, and nl translations.
* `Products.CMFPlone`:
* Use details element for collapsibles in the resource registry. Makes it possible to toggle elements even with broken or missing javascript.
* Remove queryCatalog and getFolderContents skins script.
* Plone upgrade page: show error when upgrade is needed but no upgrades are available. Especially show a note when the `plone.app.upgrade` package is not available.
* Plone upgrade page: show list of previously installed packages that are currently missing. For example: `plone.app.discussion` may be missing in Plone 6.1, unless you explicitly add it, or depend on the `Plone` package.
* Remove `PropertiesTool` module and delete the `portal_properties` tool from the site in an upgrade step.
This tool was deprecated and scheduled for removal in Plone 6.1. If you use this tool in an add-on, you should move to storing settings in the `portal_registry` instead.
* Remove `propertiestool` import step and usage of `portal_properties` and `site_properties`
* Mockup TinyMCE settings: Remove deprecated AtD plugin settings.
* `plone.app.theming`: When calling the html serializer pass an encoding. This is needed because we updated from `lxml` 4 to 5.
* `plone.app.iterate`: Remove old GenericSetup profile with id `plone.app.iterate`. See [](https://github.com/plone/plone.app.iterate/issues/99#issuecomment-1484686642).
* Various packages: remove `portal_properties` code.
* `plone.base`:
* Mockup TinyMCE settings: Remove deprecated AtD (After the Deadline spell checker) plugin settings and related views and interfaces.
* Remove `ISearchSchemas` `types_not_searched` "Discussion Item" value to make `plone.app.discussion` a core addon.
It is actually not needed anyway, also not part of the underlying vocabulary and would be lost on first save in control-panel.
* `plone.api`: Report if a permission does not exist when calling `api.user.has_permission`.
* `plone.restapi`:
* Add cache rules for `@site` and `@navroot`.
* Added `TeaserBlockSerializer` which updates the contents of a teaser block from its target if the block has `"overwrite": false`.
* `plone.app.content`: Speed improvement in `getVocabulary` for large vocabularies.
* `plonetheme.barceloneta`:
* Add styles for details/summary based collapsibles.
* Add support for labels wrapping input fields.
* Add the portal_url parameter to be used with Diazo rules and implement it in `backend.xml`.
* Use `five.registerPackage` so an editable install with `pip` works.
* Use `Products.isurlinportal` directly, instead of relying on it patching our `URLTool`. This solves a cyclic dependency.


## Volto frontend
Expand All @@ -48,7 +56,7 @@ The default frontend for new Plone 6 sites is Volto.
Note that this is a JavaScript frontend that you need to run in a separate process with NodeJS.

Plone 6.1 is meant to be used with Volto 18.
Latest release is [18.0.0-alpha.42](https://www.npmjs.com/package/@plone/volto/v/18.0.0-alpha.42). See the [changelog](https://github.com/plone/volto/blob/18.0.0-alpha.42/CHANGELOG.md).
Latest release is [18.0.0-alpha.42](https://www.npmjs.com/package/@plone/volto/v/18.0.0-alpha.42). See the [changelog](https://github.com/plone/volto/blob/18.0.0-alpha.42/packages/volto/CHANGELOG.md).

Or use the latest Volto 17.

Expand All @@ -73,14 +81,13 @@ This release supports Python 3.10, 3.11, and 3.12.
In Plone core we use these versions to install Plone:

```
pip==24.0
setuptools==69.5.1
wheel==0.43.0
zc.buildout==3.0.1
pip==24.2
setuptools==74.0.0
wheel==0.44.0
zc.buildout==3.1.0
```

In general you are free to use whatever versions work for you, but these worked for us.
`setuptools` 70 will cause problems with current `zc.buildout` 3.0.1, so keep your eyes out for a new `zc.buildout` release.


## Installation
Expand Down
Loading

0 comments on commit bbe1c76

Please sign in to comment.