Plone 6.0.0b2
There may be hotfixes applicable to this release. Always check the Plone Hotfix page before production deployment.
Release notes
License | GPL |
---|---|
Date released | 2022-09-10 |
Release manager | Eric Steele |
The second beta release of Plone 6 has arrived! Release Manager for this version is Maurits van Rees (despite the automated text above).
For technical wizards who want to jump straight in, here are two important links:
- With Buildout you can use the versions file at https://dist.plone.org/release/6.0.0b2/versions.cfg.
- With pip you can use the constraints file at https://dist.plone.org/release/6.0.0b2/constraints.txt
Highlights
Most important change is that this release officially drops Python 3.7 support. Currently everything still work in 3.7, all tests pass, but beta 2 is the last release where this is the case. See discussion in this issue and especially this community poll.
Python 3.8, 3.9 and 3.10 are supported. Python 3.11 support will likely be added after the final release. Most work for this is being done in the Zope packages. Note that Plone add-ons may choose to support less Python versions, especially dropping 3.8. You are encouraged to use Python 3.10, which is also the fastest supported Python.
Other major changes since 6.0.0b2:
-
plone.session
:- Creating per-user keyrings in order to have session invalidation on log-out (server-side logout).
- Cookie attribute SameSite is set to "Lax".
-
plone.restapi
:- Add
@portrait
endpoint. - Add support for importing profiles in
@addons
endpoint. - Add support to search for fullname, email, id on the
@users
endpoint with"?search="
.
- Add
-
plone.volto
:- Added preview image link behavior.
- Use slate as default text block in default contents for
default-homepage
andmultilingual
profile.
-
plone.app.z3cform
:- Add
default_time
attribute/argument to Date- and DatetimeWidget to allow the converter to set a custom time when nothing was given. - Customizable DateWidget formatter length.
- Add
-
plone.i18n
:- Add some more native names to language-country combinations
- Fix the missing native names for language-country variants.
-
plone.app.robotframework
: Add keyword 'Wait For Elements'. Here the requested element is allowed to match multiple times.
Volto frontend
The default frontend for Plone 6 is Volto. Latest release is 16.0.0-alpha.30. See the changelog.
Python compatibility
This release supports Python 3.8, 3.9, and 3.10. As said, technically 3.7 still works, but it is not supported anymore.
Installation
For installation instructions, see the documentation.
This documentation is under development, but this should get you up and running. No worries.
Downloads
Changes
Zope: 5.5.2 → 5.6
setuptools: 62.6.0 → 63.2.0
pip: 22.1.2 → 22.2
Plone: 6.0.0b1 → 6.0.0b2
Breaking changes:
- Officially drop Python 3.7 support and add 3.10 support. Currently everything still work in 3.7, but beta 2 is the last release where this is the case. [maurits]
plone.api: 2.0.0b1 → 2.0.0b2
Bug fixes:
- Ensure that the security related context managers restore the context even if an error occurs. (#374)
plone.app.content: 4.0.0a14 → 4.0.0b1
Bug fixes:
- Do not modify the original value in a vocabulary [frapell] (#244)
- Fix TypeError: 'NoneType' object is not subscriptable in reference browser widget. [maurits] (#2921)
plone.app.contentlisting: 3.0.0a1 → 3.0.0b1
Bug fixes:
- Build mime-type icon url with the absolute url. Fixes #44 [erral] (#44)
plone.app.contenttypes: 3.0.0b1 → 3.0.0b2
Bug fixes:
- Robot tests: use more specific element when clicking Save button. 'Click Button Save' sometimes failed. [maurits] (#3582)
plone.app.layout: 4.0.0b2 → 4.0.0b3
Bug fixes:
- get the title of the navigation root from the registry when the navigation root object is the portal object [erral] (#317)
- Fix css classes for membertools dropdown if toolbar is disabled. [petschki] (#320)
- Update markup and css classes for anontools viewlet. [petschki] (#322)
plone.app.locales: 6.0.4 → 6.0.6
- Change some control panel translations in basque [erral]
- Complete Dutch translations. [jladage]
- Fixes in Spanish translation: remove fuzzy messages [erral]
- Fix Basque translation, remove fuzzy messages [erral]
- Fixes in German translation [davisagli]
plone.app.multilingual: 6.0.0b1 → 6.0.0b3
Bug fixes:
- Grant the "plone.app.multilingual: Manage Translations" permission to the Site Administrator role. This change is not applied automatically to existing sites. You can apply it manually using the /manage_access view of the Plone site, or using rolemap.xml in a GenericSetup profile. [davisagli] (#405)
- Fix installation to preserve existing order of behaviors. [davisagli] (#403)
plone.app.robotframework: 2.0.0b1 → 2.0.0b2
New features:
- Add keyword 'Wait For Elements'. Here the requested element is allowed to match multiple times. [maurits] (#3582)
Bug fixes:
- Sleep in 'Wait For Element' and 'Wait For Then Click Element'. After this sleep, check that the element in question is there only once. Hopefully this will stabilize the Plone core robot tests. [maurits] (#3582)
plone.app.theming: 5.0.0a5 → 5.0.0b1
Bug fixes:
- The action buttons in the theming control panel have been improved [rohnsha0] (#212)
plone.app.upgrade: 3.0.0b3 → 3.0.0b4
Bug fixes:
- Add migration of actions.xml for https://github.com/plone/Products.CMFPlone/pull/3616 Add infrastructure for to beta2 migrations. [jensens] (#294)
- Add a timezone property to portal memberdata if it is missing. (#295)
- Update the portal actions icon expressions [ale-rt] (#298)
- Add an upgrade step to fix the dexterity indexer behavior (#300)
- Added upgrade to 6007, Plone 6.0.0b2. [maurits] (#6007)
plone.app.users: 3.0.0b1 → 3.0.0b2
Bug fixes:
- Ensure that, when no timezone is selected, the value of the stored timezone is an empty string (#109)
plone.app.uuid: 2.1.0 → 2.2.0
Bug fixes:
- Add optional security check for uuidToObject [anirudhhkashyap] (#13)
plone.app.viewletmanager: 3.1.3 → 4.0.0b1
Breaking changes:
- Update markup due to disabled Diazo rules for this view. This change breaks compatibility with Plone 5 because it makes it look ugly. [santonelli] (#26)
plone.app.vocabularies: 4.3.0 → 5.0.0b1
New features:
- Remove dependency on CMFPlone (use plone.base). In images vocab use utility instead of import. isort/black (pure) and pyupgrade --py37-plus`. Remove traces of six. Bump version to 5.0. [jensens] (#72)
plone.app.widgets: 4.0.0a2 → 4.0.0b1
Bug fixes:
- Fix random failing robottests. [petschki] (#219)
plone.app.z3cform: 4.0.0a10 → 4.0.0b1
New features:
- Add default_time attribute/argument to Date- and DatetimeWidget to allow the converter to set a custom time when nothing was given. [jensens] (#151)
- Customizable DateWidget formatter length. [petschki] (#154)
Bug fixes:
- Allow non-default fieldset labels to be translated [mtrebron] (#87)
- Fix CSS classname for statusmessage. [petschki] (#149)
- Leftovers of Py 2 removed (with pyupgrade and manual edits). then run black & isort. Do not depend on CMFPlone any longer (circular dependency), but on plone.base. [jensens] (#150)
- Allow DateFieldWidget to be used on schema.datetime. See #151. [jensens] (#151)
- Removed formatting hack for dates before 1900. This was fixed in Python 3.2. [jensens] (#152)
plone.base: 1.0.0b2 → 1.0.0b3
Bug fixes:
- Fix returning of item_id if given in pretty_title_or_id. Remove unused code and outdated comment. [jensens] (#16)
plone.dexterity: 3.0.0b1 → 3.0.0b2
Bug fixes:
- Check code quality with fresh plone/code-quality 2.0.0. [maurits+erico] (#171)
plone.i18n: 5.0.0a5 → 5.0.0b1
New features:
- Add some more native names to language-country combinations [erral] (#45)
- Fix the missing native names for language-country variants [erral] (#46)
Bug fixes:
- Added native names for German and Dutch country-specific language variants. Then all related language variants are shown together in the language control panel. [maurits] (#824)
plone.namedfile: 6.0.0b3 → 6.0.0b4
Bug fixes:
- Move getAllowedSizes + getQuality from CMFPlone.utils to this package. [jensens] (#132)
plone.outputfilters: 5.0.0b1 → 5.0.0b2
Bug fixes:
- isort, black, pyupgrade, manual six removal. [jensens] (#53)
plone.resourceeditor: 3.0.3 → 3.0.4
Bug fixes:
- Fix unclosed file warnings [petschki] (#29)
plone.restapi: 8.23.0 → 8.26.0
New features:
- Add @portrait endpoint [sneridagh] (#1480)
- Add support for importing profiles in @addons endpoint [sneridagh] (#1479)
- Add support to search for fullname, email, id on the @users endpoint with "?search=" [ksuess] (#1443)
Bug fixes:
- Add portrait to the docs toctree to fix build warning. [stevepiercy] (#1485)
- Fix the category of the 'Users and groups settings' controlpanel adapter [sneridagh] (#1482)
- Fix @registry endpoint Object of type datetime is not JSON serializable [iulianpetchesi] (#1189)
- Fixed small documentation for error code 404 [rohnsha] (#1430)
- Handle subblocks in site root serializer for Plone 5.x [erral] (#1449)
- Do not hard depend on plone.app.iterate. It is not an direct core package and might not be available. [jensens] (#1461)
- Sanitise user id when checking for portrait [instification] (#1466)
- Fix of users endpoint for Membrane users. [ksuess] (#1459)
- Tests: add names to behaviors. [maurits] (#169)
plone.schemaeditor: 4.0.0b1 → 4.0.0b2
Bug fixes:
- Fix adding and moving fields between fieldsets [frapell] (#86)
- Fix incomplete validation error for invalid field name. According to the regular expression, a field must start with a lowercase character. [maurits] (#93)
- Tests: sleep before clicking button to add new content type. Tests fail too often here, having the modal still open after clicking this button. [maurits] (#3582)
plone.session: 4.0.0b1 → 4.0.0b2
New features:
- Creating per-user keyrings in order to have session invalidation on log-out (server-side logout). [david-batranu] (#26)
- Cookie attribute SameSite is set to "Lax". (#29)
plone.staticresources: 2.0.0b5 → 2.0.0b6
Bug fixes:
- Update mockup = 5.0.0-alpha.19 [petschki] (#239)
- Update mockup = 5.0.0-alpha.20: Minor TinyMCE styling fixes [MrTango, petschki] (#242)
- Update mockup = 5.0.0-alpha.21 [petschki, thet] (#243)
plone.subrequest: 1.9.3 → 2.0.0b1
Breaking changes:
- Drop Python 2 support and update code style. [jensens] (#25)
plone.volto: 4.0.0a7 → 4.0.0a11
New features:
- Added preview image link behavior (Plone 6+ only) [robgietema] (#49)
- Add better implementation of the PLONE6 check (cosmetic) [sneridagh] (#59)
- Use slate as default text block in default contents for default-homepage and multilingual profile. [sneridagh] (#77)
Bug fixes:
- Sign CONTRIBUTORS.rst. @stevepiercy (#88)
- Added make i18n command [davisagli] (#81)
plonetheme.barceloneta: 3.0.0b2 → 3.0.0b5
Bug fixes:
- Fix npm release, rm npmignore, use explicite whitelist in package.json, rm legacy scss [MrTango] (#306)
- prefix icon ptch in index.html with ++theme++barceloneta to prevent broken icon in other themes [MrTango] (#304)
- Include tinymce-formats.css in theme, so that they have an effect.
- [MrTango] (#301)
- Define max-height for toolbar dropdown so it scrolls if item list is too long. [petschki] (#302)
- disable diazo for manage-viewlets view, because Diazo is messing with viewlets and viewlet manager, which is more confusing than helpful
- [MrTango] (#303)
Products.CMFPlone: 6.0.0b1 → 6.0.0b2
Breaking changes:
- Officially drop Python 3.7 support and add 3.10 support. Currently everything still work in 3.7, all tests pass, but beta 2 is the last release where this is the case. See discussion in this issue and especially this community poll. [maurits] (#3635)
Bug fixes:
- Moved CSFR patches addressing CMFPlone itself to decorators. [jensens] (3614-2)
- Fixed an issue that prevented the user to select the preferred timezone (#1290)
- Fixed adding control panel action via ZMI. [maurits] (#1959)
- Changed 'Powered by' text [rohnsha0] (#3382)
- Fix active tab in @@test-rendering-icons. [petschki] (#3475)
- Do not create title tag for svg icons when tag_alt is not given. [agitator] (#3536)
- Fixed all known instances of plone.com in plone/Products.CMFPlone [rohnsha0] (#3568)
- Allow access to the macros of the main_template, also from skin templates. [maurits] (#3581)
- Robot tests: be more specific when clicking some elements. [maurits] (#3582)
- Set portal title in registry when creating a new Plone site [erral] (#3584)
- Change test to make sure e-mail is sent in utf-8 [erral] (#3587)
- Fixed 'Site Setup' link appearing on various parts of Control Panel [rohnsha0] (#3599)
- Fixed Inconsistent font issues in Control Panel [rohnsha0] (#3600)
- Fix visual issue with long action name in @@actions-controlpanel. [petschki] (#3601)
- Fixed an error where Main Template (line: 42) referenced plone.com istead of plone.org [rohnsha0] (#3605)
- In traversal.py remove a Zope 4 BBB code, add a comment about bundle traverser and apply black.isort on the file. [jensens] (#3609)
- Supress warning of intentional deprecated import for BBB. [jensens] (#3610)
- Use plone.base and reduce deprecation warnings. In utils remove functions already moved to plone.base and add deferred import with message. Deprecate correct, where prior only comments or old logging. Some black/isort where touched. [jensens] (#3614)
- Move utils.getQuality and utils.getAllowedSizes to plone.namedfile.utils. This helps untangling circular dependencies. [jensens] (#3615)
- Do not use deprecated calls in actions expressions. ActionsTool and PloneBasetool got an code style overhaul. [jensens] (#3616)
- Updated metadata version to 6007. [maurits] (#6007)
Products.PlonePAS: 7.0.0a3 → 7.0.0b1
Bug fixes:
- Apply isort, black, pyupgrade and manual removal of six leftovers. Fix PIL deprecation warning, assume PIL is always there. Make mypy happy again. [jensens] (#68)
z3c.formwidget.query: 0.17 → 1.0.0
- Add Chinese translation.
- Add support for Python 3.5, 3.8, 3.9, 3.10.