Plone 5.2.2 soft released

Plone 5.2.2 has been soft-released. Please give it a try and let me know if there are any critical issues. https://dist.plone.org/release/5.2.2-pending/versions.cfg

For those who haven't run across soft-releases before, this is the last step before the final release. Because things haven't been finalized yet, some packages may change between now and the release. It is not recommended to use soft-releases in production.

This contains a recent plone.app.locales release, but I expect another one this week, so if you want to get some extra translations in, this is still possible if you are quick.

This is the first Plone release that I handle as (co) release manager. I have made a release checklist for 5.2.2. If you wonder about the status, this issue is another good place to look for details.
I am going on vacation for a week, starting this Friday, and I intend to have finalised the release before then. Not all items of the checklist may have been done at that point, especially the Installers may take a bit longer, but I want to be rid of the -pending directory on dist.plone.org.

4 Likes

List of changed packages, part 1:

zc.buildout: 2.13.2 β†’ 2.13.3

cachecontrol: 0.12.5 β†’ 0.12.6

click: 7.0 β†’ 7.1.2

freezegun: 0.3.12 β†’ 0.3.15

plone.recipe.alltests: 1.5.1 β†’ 1.5.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.recipe.precompiler: 0.7.1 β†’ 0.7.2

Bug fixes:

  • Small packaging updates. [gforcada, jensens, maurits]

plone.recipe.zeoserver: 2.0.1 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.recipe.zope2instance: 6.5.1 β†’ 6.7.2

New features:

  • added relstorage w/ sqlite support
    [mamico] (#132)

  • Support for Zope options webdav-source-port and enable-ms-public-header.
    [dataflake] (#134)

Bug fixes:

  • Fix flake8 and fix inserting CHAMELEON_CACHE in some cases. [ale-rt] (#139)

  • Minor packaging updates. (#1)

plone.releaser: 1.8.0 β†’ 1.8.2

New features:

  • Support env var PLONE_RELEASER_MULTI_PACKAGES to signal doing multiple releases.
    We still change checkouts.cfg and versions.cfg in the relevant coredev branches then,
    but we do not offer to push them.
    [maurits] (#37)

Bug fixes:

  • Fixed detecting changes in packages that are missing from checkouts.
    [maurits] (#35)

  • Fixed adding a package to checkouts.cfg. [maurits] (#30)

  • Ask before pushing an updated version when running 'report'. [maurits] (#32)

zest.releaser: 6.19.1 β†’ 6.20.1

collective.xmltestreport: 2.0.1 β†’ 2.0.2

Bug fixes:

plone.app.robotframework: 1.5.3 β†’ 1.5.4

Bug fixes:

  • Fixed package install error with Python 3.6 without locale.
    See coredev issue 642 <https://github.com/plone/buildout.coredev/issues/642#issuecomment-597008272>_.
    [maurits] (#642)

robotframework-debuglibrary: 1.1.4 β†’ 1.2.1

robotframework-ride: 1.7.3.1 β†’ 1.7.4.1

robotsuite: 2.0.0 β†’ 2.2.1

i18ndude: 5.3.1 β†’ 5.3.3

Bug fixes:

  • Drop 3.4 and 3.5 support, which we were not testing since a year.
    Test our 3.8 support.
    [maurits] (#79)

  • Added hint in rebuild-pot help about unwanted domains in Python files.
    [maurits] (#49)

  • Fixed filter command on Python 3.7, and possibly earlier.
    [maurits] (#75)

Products.ExternalMethod: 4.3 β†’ 4.4

  • Fix for Zope 4.4.3 ZMI by adding explicit acquisition of name ZopeVersion
    (#9 <https://github.com/zopefoundation/Products.ExternalMethod/issues/9>_)

  • Fix failing linter.

Products.MailHost: 4.7 β†’ 4.9

  • Fix DeprecationWarnings from DocumentTemplate with import changes

  • Show a hint in the ZMI if the delivery queue is forced to queue-only mode
    (#25 <https://github.com/zopefoundation/Products.MailHost/issues/25>_)

  • Improve the asynchronous delivery information on the ZMI Edit tab
    (#24 <https://github.com/zopefoundation/Products.MailHost/issues/24>_)

  • Fix queued mail delivery with just a single string receiver email
    (#26 <https://github.com/zopefoundation/Products.MailHost/issues/26>_)

  • Fix Flake8 issues.
    (#22 <https://github.com/zopefoundation/Products.MailHost/issues/22>_)

Products.PythonScripts: 4.9 β†’ 4.12

  • add a file parameter to factory function manage_addPythonScript
    (#45 <https://github.com/zopefoundation/Products.PythonScripts/issues/45>_)

  • fix TypeError when updating an existing script from a file
    (#43 <https://github.com/zopefoundation/Products.PythonScripts/issues/43>_)

  • fix PUT issues with string encoding

  • override manage_DAVget to get correct editable sources
    (#40 <https://github.com/zopefoundation/Products.PythonScripts/issues/40>_)

calmjs.parse: 1.2.1 β†’ 1.2.4

decorator: 4.4.1 β†’ 4.4.2

enum34: 1.1.6 β†’ 1.1.10

pillow: 6.2.1 β†’ 6.2.2

pyrsistent: 0.15.6 β†’ 0.15.7

pyscss: 1.3.5 β†’ 1.3.7

borg.localrole: 3.1.6 β†’ 3.1.8

Bug fixes:

  • Minor packaging updates. (#1)

  • Minor packaging updates. [various] (#1)

collective.monkeypatcher: 1.2 β†’ 1.2.1

Bug fixes:

  • Minor packaging updates. [various] (#1)

diazo: 1.3.0 β†’ 1.4.0

New features:

  • Drop support for Python 3.4. No code changes.
    [maurits] (#78)

five.customerize: 2.0.0 β†’ 2.0.1

Bug fixes:

  • Minor packaging updates. [various]

five.intid: 1.2.4 β†’ 1.2.6

Bug fixes:

  • Fix depecration warnings.
    Update setup.py to depend on Zope2 or Zope, dependening on Python version.
    [jensens] (#1)

  • Fix test to work correctly with zope.interface >= 5.1.
    [jensens] (#17)

  • Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.
    [maurits] (#15)

icalendar: 4.0.4 β†’ 4.0.6

Bug fixes:

  • Use vText as default type, when convert recurrence definition to ical string. [kam193]

  • Fixed a docs issue related to building on Read the Docs [davidfischer]

mockup: 3.1.1 β†’ 3.2.0

New features:

  • pat-plone-modal: We can set a string for onSuccess, onError and onFormError
    which is the name of a global function to call, on the model of sortable pattern.
    This fixes https://github.com/plone/mockup/issues/825
    [thomasdesvenain] (#825)

  • pat-select2: we can set actions on events: selecting, select, deselecting, deselect (#886)

  • pat-plone-modal: Added an onRender option to set a callback that is called when modal is rendered.
    This fixes https://github.com/plone/mockup/issues/891
    [thomasdesvenain] (#891)

  • pat-tooltip: allow ajax content
    data-pat-tooltip can get two values:

    • "ajaxUrl": the url of tooltip ajax content
    • "contentSelector" a js selector of content to display from source content (#892)
  • pat-tooltip: we can add classes and style into tooltip (#893)

  • TinyMCE: Add support for image captions.
    If an image caption is given, the <img> tag is wrapped within a <figure> tag and a <figcaption> tag is added.
    The image has an additional class image-richtext for further reuse.
    [thet] (#911)

  • Upgrade Sinon from version 1.17.1 to 7.5.0.
    [davilima6] (#914)

  • Structure pattern:
    Filter now reads "Search" and is cleared when changing directories.
    Querystring popover button: filter instead of search icon, "Extra Filter" title.
    Show statusmessage with "Clear" button when filters are applied.
    Show visually if a filter is set.
    Allow multiple status messages.
    Change message from misleading "Cannot order items while querying" to "Drag and drop reordering is disabled while filters are applied.". Fixes: https://github.com/collective/plone.app.locales/issues/173
    Display toolbar a bit compacter.
    [thet] (#937)

  • Upgrade node version for testing on travis.
    [thet] (#938)

  • Upgrade patternslib to 2.1.3.
    [thet] (#944)

  • Do not use HTML lists where items are not lists [a11y]
    [erral] (#948)

  • Barceloneta-LTS support for mockup-patterns-inlinevalidation and mockup-patterns-modal
    [petschki] (#975)

Bug fixes:

  • TinyMCE: fix the position of menu dropdowns when in a modal (#867)

  • pat-plone-modal: If we click on a pat-plone-modal link into a mockup modal, the page is not reloaded.
    This fixes https://github.com/plone/mockup/issues/884
    [thomasdesvenain] (#884)

  • tinymce pattern: Add missing translations by...
    - copying generateModalHtml function from master branch,
    - adding some backported xml changes from 71ddf6f387
    - adding 2 further translations (not yet in master)
    [djowett-ftw] (#910)

  • copying generateModalHtml function from master branch,

  • adding some backported xml changes from 71ddf6f387

  • adding 2 further translations (not yet in master)

  • Upgrade handlebars from 4.1.2 to 4.5.3 to avoid its vulnerabilies

    see:

  • https://www.npmjs.com/advisories/1300

  • https://www.npmjs.com/advisories/1184 (#931)

  • Structure pattern: Escape special characters when filtering
    [frapell] (#932)

  • pat-querystring: Fix path widget for old dashed UIDs (plone.uuid < 1.0.2)
    [laulaz] (#939)

  • For the i18n-dump Grunt task, do not read files in directories except mockup and js.
    [thet] (#943)

  • TinyMCE pattern: add a random id to the passed in container_id: there might be more than one TinyMCE active in the DOM. Improves #920 which was a fix for positioning of sub-menus in a modal.
    [fredvd] (#945)

  • Tinymce pattern: add tests for the tabs in template link.xml
    [batlock666] (#946)

  • Make toolbar tab-navigable effectively hiding submenus
    [erral & ionlizarazu] (#950)

  • Add a label to the structure pattern serchbox
    [erral & ionlizarazu] (#952)

  • Structure pattern: add a title to the root item in the breadcrumb
    [erral & ionlizarazu] (#955)

  • add a label to the select all checkbox and to each of the items in the table to make the table more accessible
    [erral & ionlizarazu] (#957)

  • toolbar pattern: improve accessibility of up and down arrows
    [erral & ionlizarazu] (#959)

  • Reorder items to show popover just after their corresponding button to be able to tab-navigate to them
    [erral & ionlizarazu] (#963)

  • add missing title and aria-label attributes
    [erral & ionlizarazu] (#965)

  • Remove text from the pagination listing and fix styling
    [erral & ionlizarazu] (#967)

  • Close popovers when ESC is pushed
    [erral & ionlizarazu] (#968)

  • pat-inlinevalidation: Fix bug where drop downs would not get validated
    [frapell] (#971)

  • Set value for RelativeDateWidget on edit
    [petschki] (#982)

  • Fix Upload tab in TinyMCE Image showing [object Object].
    https://github.com/plone/Products.CMFPlone/issues/3120
    Fix folder contents "Configure display column" dialog going under toolbar.
    https://github.com/plone/Products.CMFPlone/issues/3124
    [vincentfretin] (#986)

  • Fix regression with moment date not localized. This closes
    https://github.com/plone/Products.CMFPlone/issues/2953
    [vincentfretin] (#987)

Plone: 5.2.1 β†’ 5.2.2

New features:

  • Release Plone 5.2.2 final
    [maurits]

plone.alterego: 1.1.3 β†’ 1.1.5

Bug fixes:

  • Minor packaging updates. (#1)

  • Minor packaging updates. [various] (#1)

plone.api: 1.10.0 β†’ 1.10.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Remove deprecation warnings [ale-rt] (#432)

  • In tests, use stronger password.
    [maurits] (#436)

  • Removed duplicate and failing inline doctest for content.find.
    [maurits] (#437)

plone.app.caching: 2.0.3 β†’ 2.0.6

New features:

  • Remove Range from request if the If-Range condition is not fulfilled
    [mamico] (#58)

Bug fixes:

  • Minor packaging updates. (#1)

  • Purging image scales of behavior fields, e.g. lead image
    [ksuess] (#55)

plone.app.content: 3.7.4 β†’ 3.8.3

New features:

  • Switch the default index used for filtering in folder_contents from
    SearchableText to Title
    [frapell] (#189)

Bug fixes:

plone.app.contentlisting: 2.0.0 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Minor packaging updates. [various] (#1)

  • Initialize towncrier.
    [gforcada] (#2548)

plone.app.contentmenu: 2.3.0 β†’ 2.3.1

Bug fixes:

  • Minor packaging updates. [various] (#1)

plone.app.contentrules: 4.1.3 β†’ 4.1.4

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.contenttypes: 2.1.5 β†’ 2.1.7

Bug fixes:

plone.app.customerize: 1.3.10 β†’ 1.3.11

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.dexterity: 2.6.4 β†’ 2.6.5

Bug fixes:

  • Make sure getNextItem function returns None if position can not be looked up. [timo] (#308)

plone.app.discussion: 3.3.2 β†’ 3.4.1

New features:

  • Extended existing review workflow by stati rejected and spam
    Moderation view extended to handle four workflow states.
    [ksuess and precious input of agitator] (#164)

Bug fixes:

  • Reuse existing translation for the "Save" button in the Edit comment form.
    [vincentfretin] (#170)

  • Fix tests failing for Plone 6, deprecate Plone 4 and older.
    [tschorr] (#168)

plone.app.event: 3.2.6 β†’ 3.2.7

Bug fixes:

  • Change markup for structured data schemas from data-vocabulary.org to schema.org.
    Because google supports only schema.org - based definitions
    [1letter] (#312)

plone.app.folder: 1.3.0 β†’ 1.3.1

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.i18n: 3.0.5 β†’ 3.0.6

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.intid: 1.1.3 β†’ 1.1.4

Bug fixes:

  • Minor packaging updates. (#1)

  • Initialize towncrier.
    [gforcada] (#2548)

plone.app.iterate: 3.3.13 β†’ 3.3.14

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.layout: 3.4.0 β†’ 3.4.2

Bug fixes:

  • Make navtree more robust against empty title or name, do not fail but fall back to id.
    [jensens] (#237)

  • Analytics viewlet: make webstats_js a property, so that it does not rely on an a call to the update method to be correctly evaluated [ale-rt] (#227)

  • Code formating according to Plone standards (black, isort).
    [thet] (#230)

  • Remove selectedTabs and update method from GlobalSectionsViewlet as both are now unused.
    [thet] (#231)

  • Remove deprecation warnings [ale-rt] (#233)

  • Integrate Plone20200121 hotfix: prevent XSS in title.
    Part of https://plone.org/security/hotfix/20200121/xss-in-the-title-field-on-plone-5-0-and-higher
    [maurits] (#3021)

plone.app.linkintegrity: 3.3.12 β†’ 3.3.13

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.locales: 5.1.21 β†’ 5.1.22

  • Update Italian translations
    [ale-rt, arsenico13, cekk, pnicolli]

  • Complete Spanish translation for widgets.po
    [erral]

  • Basque translations for widgets.po
    [erral]

  • Fix typos in French translations.
    [laulaz]

  • Fixed possible package install error with Python 3.6 when no system locale is set.
    See coredev issue 642 <https://github.com/plone/buildout.coredev/issues/642#issuecomment-597008272>_.
    [maurits]

  • German translations for widgets.po.

  • Synchronize with latest mockup.

  • Structure pattern: Change message from misleading "Cannot order items while querying" to "Drag and drop reordering is disabled while filters are applied.".
    Fixes: https://github.com/collective/plone.app.locales/issues/173
    [thet]

plone.app.lockingbehavior: 1.0.6 β†’ 1.0.7

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.multilingual: 5.5.0 β†’ 5.6.1

New features:

  • Inherit IPloneAppMultilingualInstalled layer from IPloneFormLayer for better
    LIF widget overriding.
    [petschki] (#371)

Bug fixes:

  • Hide left and right portlet columns on babel add view. Fixes #373 [iham] (#373)

  • Move metadata to setup.cfg in order to avoid encoding problems in CHANGES.rst running Plone 6.0 on Python 3.6, see #372.
    [jensens] (#372)

  • Minor packaging updates. (#1)

plone.app.portlets: 4.4.4 β†’ 4.4.5

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.querystring: 1.4.12 β†’ 1.4.13

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.redirector: 2.1.1 β†’ 2.2.1

New features:

  • The http status of the response is changed from 301 (Moved Permanently) to 302 (Found) for GET requests and to 307 (Temporary Redirect) for other request methods because nothing prevents the URL to be reused in the future. [ale-rt] (#8)

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.registry: 1.7.5 β†’ 1.7.6

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.testing: 6.1.3 β†’ 6.1.5

Bug fixes:

  • Minor packaging updates. (#1)

  • Fix a test isolation issue that was preventing the MOCK_MAILHOST_FIXTURE to be used in multiple testcases [ale-rt] (#61)

  • MockMailHostLayer configures the mail sender setting the appropriate registry records (Fixes #62) (#62)

  • Fix tests when using zope.testrunner internals since its version 5.1.
    [jensens] (#68)

  • Do not load Products/ZCML of no longer existing Products.ResourceRegistries.
    [jensens] (#69)

plone.app.textfield: 1.3.2 β†’ 1.3.4

Bug fixes:

  • Minor packaging updates. (#1)

  • Black-en & isort code.
    [thet] (#39)

plone.app.theming: 4.0.4 β†’ 4.1.1

New features:

Bug fixes:

  • Fix i18n of new messages related to new Custom CSS feature.
    [vincentfretin] (#185)

  • Fix error on Python 3 with nonascii subrequest.
    The subrequest would succeed, but the non-ascii would be ugly.
    Fixes issue 3069 <https://github.com/plone/Products.CMFPlone/issues/3068>_ and issue 162 <https://github.com/plone/plone.app.theming/issues/162>_.
    [maurits] (#162)

  • Make it possible to preview themes TTW again.
    [petri] (#173)

  • Fix hostnameBlacklist (Theming ControlPanel) in Py3. [MrTango] (#179)

  • Fix various WrongType exceptions when saving the control panel.
    This was introduced by the processInputs change in version 4.0.5.
    See issue 183 <https://github.com/plone/plone.app.theming/issues/183>_.
    [maurits] (#183)

  • Minor packaging updates. (#1)

  • Do not call processInputs.
    It is not needed since Zope 4, and not existing in Zope 5.
    [maurits] (#171)

plone.app.upgrade: 2.0.31 β†’ 2.0.32

New features:

  • Add upgrade step for Plone 5.2.2.
    [thet]

    Image caption support
    Allow figcaption in rich text editor as a valid tag.
    Add registry setting for plone.image_caption outputfilter transform.
    [thet] (#209)

  • Add upgrade step to migrate markdown tranform settings to markup control panel.
    [thomasmassmann] (#228)

  • Add upgrade profiles for v60, including a upgrade step for #3086 (custom.css view)
    [MrTango] (#3086)

Bug fixes:

  • Fix problem in step to 5.2 beta 1 remove_interface_indexes_from_relations_catalog.
    While upgrading the relation-catalog in some real world databases some of the iterated tokens are orphaned.
    Remove them to have a clean relation-catalog afterwards and log a warning.
    [jensens] (#225)

  • add upgrade steps for HTMLFilter defaults.
    [petschki] (#233)

plone.app.users: 2.6.2 β†’ 2.6.4

New features:

  • Doctest markup generalization
    [petschki] (#92)

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.uuid: 2.0.0 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Fix use case where UID to object is failing.
    [rodfersou] (#8)

  • Initialize towncrier.
    [gforcada] (#2548)

plone.app.viewletmanager: 3.1.0 β†’ 3.1.1

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.vocabularies: 4.1.1 β†’ 4.1.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.widgets: 3.0.3 β†’ 3.0.4

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.workflow: 4.0.1 β†’ 4.0.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.z3cform: 3.1.3 β†’ 3.2.0

New features:

  • Add display template for RelatedItemsWidget. No longer only render uuids.
    [pbauer] (#111)

plone.autoform: 1.8.1 β†’ 1.9.0

New features:

Bug fixes:

  • Decrease the loglevel of "Field move to non-existing: ..." (#21)

plone.batching: 1.1.5 β†’ 1.1.6

Bug fixes:

  • Minor packaging updates. (#1)

plone.behavior: 1.3.0 β†’ 1.3.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Improved documentation. [jensens] (#0)

plone.browserlayer: 2.2.2 β†’ 2.2.3

Bug fixes:

  • Minor packaging updates. (#1)

plone.cachepurging: 2.0.1 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.caching: 1.2.1 β†’ 1.2.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.contentrules: 2.0.9 β†’ 2.0.10

Bug fixes:

  • Minor packaging updates. (#1)

plone.dexterity: 2.9.5 β†’ 2.9.7

Bug fixes:

  • Update tests for Zope 4.2.1. [jensens] (#421)

  • Fixed package install error with Python 3.6 without system locale.
    See coredev issue 642 <https://github.com/plone/buildout.coredev/issues/642#issuecomment-597008272>_.
    [maurits] (#642)

plone.event: 1.4.0 β†’ 1.4.1

Bug fixes:

  • Minor packaging updates. (#1)

plone.folder: 3.0.1 β†’ 3.0.3

Bug fixes:

  • Micro-optimization of often called loop in moveObjectsByDelta.
    x in y is up to 1000 times faster if y is a set and not a list.
    [jensens] (#15)

  • Minor packaging updates. (#1)

plone.formwidget.namedfile: 2.0.10 β†’ 2.1.0

New features:

Bug fixes:

  • Minor packaging updates. (#1)

plone.formwidget.recurrence: 2.1.3 β†’ 2.1.4

Bug fixes:

  • Minor packaging updates. (#1)

plone.i18n: 4.0.5 β†’ 4.0.6

Bug fixes:

  • Minor packaging updates. (#1)

plone.indexer: 1.0.6 β†’ 1.0.7

Bug fixes:

  • Minor packaging updates. (#1)

plone.intelligenttext: 3.0.0 β†’ 3.1.0

New features:

  • Drop Python 2.6 support from tests.
    Start testing on 3.7 and 3.8.
    [maurits] (#9)

plone.keyring: 3.1.1 β†’ 3.1.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.locking: 2.2.3 β†’ 2.2.4

Bug fixes:

  • Minor packaging updates. (#1)

plone.memoize: 2.0.1 β†’ 2.1.0

New features:

  • Drop 3.4 support, add 3.7, 3.8, PyPy, PyPy3 support.
    [maurits] (#16)

  • Use the zope global request if available as a fallback if the context does not have it [ale-rt] (#17)

Bug fixes:

  • Make code black [ale-rt] (#17)

  • Improve speed when getting resources from the cache [ale-rt] (#19)

  • Remove bootstrap-buildout.py. If you use buildout, use virtualenv and pip install zc.buildout instead.
    Add [isort] and [flake8] config sections into setup.cfg.
    Sort all imports in Python files.
    [thet] (#21)

plone.namedfile: 5.2.1 β†’ 5.4.0

New features:

Bug fixes:

  • Fix image scaling to re-use the original image when scaling is not required to allow Plone REST API to use cacheable scale URL for the original image without performance penalty [datakurre] (#92)
1 Like

List of changed packages, part 2:

  • Close BlobFile in DefaultImageScalingFactory. [timo] (#89)

  • Implement the handling of SVG files before passing it to Pillow, fixes #3063
    [sneridagh] (#3063)

plone.outputfilters: 3.1.2 β†’ 4.0.1

Breaking changes:

  • Change the image caption template to use <figure> and <figcaption>.
    [thet]

New features:

  • Add an ImageCaptioningEnabler utility which can be enabled via the portal registry setting plone.image_captioning.
    [thet]

Bug fixes:

  • Minor packaging updates. (#1)

  • Fixed possible package install error with Python 3.6 when no system locale is set.
    See coredev issue 642 <https://github.com/plone/buildout.coredev/issues/642#issuecomment-597008272>_.
    [maurits]

plone.portlet.collection: 3.3.2 β†’ 3.3.3

Bug fixes:

  • Minor packaging updates. (#1)

plone.portlet.static: 3.1.3 β†’ 3.1.4

Bug fixes:

  • Minor packaging updates. (#1)

plone.portlets: 2.3.1 β†’ 2.3.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.protect: 4.1.3 β†’ 4.1.5

Bug fixes:

  • Minor packaging updates. (#1)

  • Remove deprecation warnings (#90)

plone.registry: 1.1.5 β†’ 1.1.6

Bug fixes:

  • Minor packaging updates. (#1)

plone.reload: 3.0.0 β†’ 3.0.1

Bug fixes:

  • Minor packaging updates.

plone.resource: 2.1.1 β†’ 2.1.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.rest: 1.6.0 β†’ 1.6.1

Bug fixes:

  • CORS preflight should happen for all error codes, fixes #101
    [sneridagh] (#101)

plone.restapi: 6.1.0 β†’ 6.13.4

New features:

  • Expose author_image in comments endpoint [timo] (#948)

  • Add database endpoint [timo] (#941)

  • Add type-schema adapters for: Email, URI and Password
    [avoinea] (#926)

  • Add system endpoint. [timo] (#736)

  • Add endpoints for managing addons. [esteele] (#733)

  • Managing Dexterity Type Creation (CRUD) via plone.restapi
    [avoinea] (#534)

  • Make @querystring-search endpoint context aware
    [sneridagh] (#911)

  • Add next_item and previous_item attributes to allow to navigate to the previous and next sibling in the container the document is located.
    [rodfersou] (#900)

  • Link translation on content creation feature and new @translation-locator endpoint
    [sneridagh] (#887)

  • Add targetUrl to the dxcontent serializer for primary file fields to be able to download a file directly.
    [csenger] (#886)

  • Allow using object paths and UIDs to link translations
    [erral] (#645)

  • Make ?fullobjects work in AT Collections to get the full JSON representation of the items
    [erral] (#698)

  • Make ?fullobjects work in Dexterity Collections to get the full JSON representation of the items
    [erral] (#848)

Bug fixes:

  • Re-add test folder to the release (ignore the tests/images folder though). [timo] (#968)

  • Take the include_items parameter into account in SerializeCollectionToJson. [gbastien] (#957)

  • Include plone.app.controlpanel permissions.zcml in database service to avoid ConfigurationExecutionError regarding 'plone.app.controlpanel.Overview' permission while starting Plone 4.3.x [gbastien] (#956)

  • PATCH (editing) in @user endpoint now is able to remove existing values using null
    [sneridagh] (#946)

  • Fixed @translations endpoint to only retrieve the translations that the current user
    can really access using get_restricted_translations instead. This fixes the use
    case where an user with no permissions on a translation accessing the endpoint returned
    a 401.
    [sneridagh] (#937)

  • Treat next/prev items for unordered folders.
    [rodfersou] (#928)

  • Fix sphinxbuilder with Python 3.8
    [avoinea] (#905)

  • call unescape method on received html for richtext before save it in Plone.
    [cekk] (#913)

  • Small fix in IBlocks test, addedd a missing assert call
    [tiberiuichim] (#914)

  • Fix for the use case while updating user properties in the @user endpoint, and the
    portrait is already previously set but the request includes the (previously) serialized
    value as a string because the user are not updating it
    [sneridagh] (#896)

  • Fix deleting user portrait.
    [buchi] (#751)

  • Make discussion endpoint return content that is deserialized via portal transforms (e.g. 'text/x-web-intelligent') [timo] (#889)

  • Fixed package install error with Python 3.6 without locale.
    See coredev issue 642 <https://github.com/plone/buildout.coredev/issues/642#issuecomment-597008272>_.
    [maurits] (#642)

  • plone.app.discussion extends the review workflow for moderation of comments. This change takes the additional workflow states into account.
    [ksuess] (#842)

  • Add a catalog serializer guard when returning fullobjects in case the object doesn't
    exist anymore because for some reason it failed to uncatalog itself.
    [sneridagh] (#877)

  • Use longer password in tests. [maurits] (#3044)

  • fullobjects qs is missing in response batch links in batching operations
    [sneridagh] (#868)

  • Return proper None instead of string "None" on the choice schema serializer [sneridagh] (#863)

  • Degrade gracefully when a term set in a content field does not exists in the assigned vocabulary [sneridagh] (#856)

  • Sharing POST: Limit roles to ones the user is allowed to delegate.
    [lgraf] (#857)

  • Fix WorkflowException for related items with no review_state.
    [arsenico13] (#376)

plone.resourceeditor: 3.0.0 β†’ 3.0.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Do not call processInputs.
    It is not needed since Zope 4, and not existing in Zope 5.
    [maurits] (#26)

plone.rfc822: 2.0.1 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.scale: 3.0.3 β†’ 3.1.1

New features:

  • The mode argument replaces the old, now deprecated, direction argument.
    The new names are contain or scale-crop-to-fit instead of down,
    cover or scale-crop-to-fill instead of up
    and scale instead of thumbnail.
    [fschulze] (#29)

  • Added calculate_scaled_dimensions function to calculate sizes from bare values without actually scaling an image.
    [fschulze]

    Added MAX_PIXELS constant set to 8192*8192 to prevent memory overflow while scaling.
    [fschulze] (#37)

Bug fixes:

  • Minor packaging updates. (#1)

  • Fix documentation of scaling modes to match it's behavior.
    [thet] (#39)

plone.schema: 1.2.0 β†’ 1.2.1

Bug fixes:

  • Minor packaging updates. (#1)

  • Fix JSONField with default values saved to model_source XML
    [avoinea] (#7)

  • Initialize towncrier.
    [gforcada] (#2548)

plone.schemaeditor: 2.1.0 β†’ 3.0.1

Breaking changes:

  • Remove backward compatibility with old collective.z3cform.datetimewidget from Plone 4.3 times. [jensens] (#74)

Bug fixes:

  • Fix Fields vocabulary via RestAPI [avoinea] (#76)

  • Use the shared 'Plone test setup' and 'Plone test teardown' keywords in Robot tests.
    [Rotonen] (#66)

  • Fix broken import from plone.app.z3cform.
    This make it work with zope.interface > 5 [jensens] (#74)

  • Support zope.interface >= 5. [jensens] (#75)

plone.session: 3.7.3 β†’ 3.7.5

Bug fixes:

  • Fix hard dependency indirection with Products.CMFPlone (plone.session must not import from it).
    [jensens] (#20)

  • Only setup a session when the current user is the requested user.
    [maurits] (#57)

  • Minor packaging updates. (#1)

plone.staticresources: 1.2.1 β†’ 1.3.0

New features:

  • Add figcaption support - https://github.com/plone/mockup/pull/911
    [thet] (#30)

  • Register icon resources & add bootstrap-icons
    [agitator] (#75)

  • Adapt pat-plone-modal and pat-inlinevalidation to work with barceloneta LTS.
    Add missing plone.svg icon.
    [petschki, agitator] (#76)

  • Update static resources.
    [thet] (#82)

Bug fixes:

  • Fix buildout and use latest Plone 5.2.
    [thet] (#51)

  • Fix missing styles in plone-datatables bundle.
    [agitator] (#62)

  • Upgrade resources with latest mockup.
    [thet] (#64)

  • Move metadata.xml from async/registry profile directory to correct location. (#65)

  • Add jQuery workaround for XSS vulnerability - https://github.com/plone/plone.staticresources/issues/69
    [frapell] (#69)

  • Fix pat-querystring to set value of RelativeDateWidget correctly when editing
    [petschki] (#78)

  • Hide upgrade profile
    [petschki] (#83)

  • fix syntax in upgrades/profiles/8/registry.xml
    [petschki] (#85)

plone.stringinterp: 1.3.1 β†’ 1.3.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.subrequest: 1.9.1 β†’ 1.9.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.supermodel: 1.5.0 β†’ 1.6.2

New features:

  • zope.interface master, upcoming v5.0, initializes _v_attrs with None to save memory and creates the dict upon first usage.
    So we need to do so in order to support the new version. (#33)

  • Support for zope.interface 4.7+ [jensens] (#34)

Bug fixes:

  • Decimal field moved in zope.schema, do not depend on specific dotted name in test b/c it does not matter.
    [jensens] (#37)

  • Fix a deprecation warning on a regular expression [ale-rt] (#38)

  • Minor packaging updates. (#1)

plone.synchronize: 1.0.3 β†’ 1.0.4

New features:

  • Drop Python 2.6 support.
    Support 2.7, 3.5-3.8, PyPy2/3.
    Added tox for local testing.
    [maurits] (#2)

plone.testing: 7.0.3 β†’ 8.0.1

Breaking changes:

  • Drop support for Python 3.4 and 3.5.
    Remove "z2" extra.
    [jensens] (#72)

New features:

  • Update links for further information about testing.
    [jugmac00] (#71)

Bug fixes:

  • fix broken Flake8 job (#74)

  • Fix tests when using zope.testrunner internals since its version 5.1.
    [jensens] (#72)

plone.theme: 3.0.6 β†’ 3.0.7

Bug fixes:

  • Minor packaging updates. (#1)

plone.transformchain: 2.0.1 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.uuid: 1.0.5 β†’ 1.0.6

Bug fixes:

  • Minor packaging updates. (#1)

plone.z3cform: 1.1.1 β†’ 1.1.3

Bug fixes:

  • Copy the HTTPRequest._decode from Zope4 because it is going away in Zope5 (#13)

  • Buttons in crud-table should be list items.
    [erral] (#9)

plonetheme.barceloneta: 2.1.6 β†’ 2.1.7

Bug fixes:

  • Commented out <after css:theme-children="head" css:content="head script" /> in backend.xml that caused the scripts being pulled twice,
    in case that you are using it to style backend views.
    You should only use this rule once in your ruleset.
    Using it twice cause leads to JS errors and patterns initialition failures.
    This fixes issue 158 <https://github.com/plone/plonetheme.barceloneta/issues/158>_.
    [sneridagh] (#159)

Products.CMFCore: 2.4.2 β†’ 2.4.7

  • Change the default value of uid to None on CMFCatalogAware's reindexObject method (#87 <https://github.com/zopefoundation/Products.CMFCore/issues/87>_)

  • Redid most filesystem content type ZMI Customize views.

  • Fix tests to be able to run on Zope 4.3.

  • Fix not declared dependency on Products.DCWorkflow in subscribers.zcml.

  • Remove Zope Help System fossils so this products is compatible with Zope 5

  • Fix encoding detection for XML files.
    (#85 <https://github.com/zopefoundation/Products.CMFCore/issues/85>_)

Products.CMFDiffTool: 3.3.0 β†’ 3.3.1

Bug fixes:

  • Minor packaging updates. (#1)

Products.CMFDynamicViewFTI: 6.0.2 β†’ 6.0.3

Bug fixes:

  • Minor packaging updates. (#1)

Products.CMFEditions: 3.3.3 β†’ 3.3.4

Bug fixes:

  • Minor packaging updates. (#1)

Products.CMFFormController: 4.1.0 β†’ 4.1.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Fixed AttributeError: 'dict_keys' object has no attribute 'sort' on Python 3.
    [maurits] (#21)

  • Fixed ModuleNotFoundError: No module named 'App.class_init' on Zope 5.
    [maurits] (#22)

Products.CMFPlacefulWorkflow: 2.0.0 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Fixed ModuleNotFoundError: No module named 'App.class_init' in Zope 5.
    [maurits] (#31)

Products.CMFPlone: 5.2.1 β†’ 5.2.2rc1

New features:

  • Image caption support
    Allow figcaption in rich text editor as a valid tag.
    Add registry setting for plone.image_caption outputfilter transform.
    [thet] (#2887)

  • Add markdown extension settings to markup control panel.
    [thomasmassmann] (#3076)

  • Insert virtual custom.css bundle into the header after diazo bundle.
    Only add this when custom css is set in the theming control panel.
    [MrTango] (#3086)

Bug fixes:

  • Change control panel item sorting and sort them by title
    [erral] (#721)

  • Update HTMLFilter settings to enable TinyMCE styling features. See #2329, #2482, #2535
    [petschki] (#2482)

  • If 'tinymce-content-css' option is missing in themes manifest.cfg prevent unnecessary loading of a css at nav_root_url while editing a page. [krissik] (#2861)

  • Redirect (when possible) also ajax requests and do not return an unuseful body
    [ale-rt] (#3014)

  • Merge Hotfix20200121 Check of the strength of password could be skipped. (#3021)

  • Merge Hotfix20200121: isURLInPortal could be tricked into accepting malicious links. (#3021)

  • Improve tests for the workflow tool method listWFStatesByTitle (#3032)

  • Fix index_html on PortalRoot: ReplaceableWrapper did not work.
    [jensens] (#3060)

  • Allow accessing plone_view.patterns_settings.
    This was no problem until now, but a newer Zope/zope.tales/Chameleon is rightly stricter.
    [maurits] (#3066)

  • Fix Python 3.8 time.clock removal in CatalogTool [jensens] (#3082)

  • Fixed TypeError when adding both a group and a user to a group.
    [maurits] (#3084)

  • Make the resource registry scripts output more robust when a bundle resource is missing. This prevents
    breaking your whole Plone site and access to the resource registry control panel after inserting
    one missing resource.
    [fredvd] (#3096)

  • Bugfix for #3103
    [petschki] (#3105)

  • Fixed saving ignored exception types in Python 3. [maurits] (#3115)

Products.CMFQuickInstallerTool: 4.0.1 β†’ 4.0.3

Bug fixes:

  • Minor packaging updates. (#1)

  • Fix failing test.
    [tschorr] (#23)

Products.CMFUid: 3.0.1 β†’ 3.0.2

  • Clean up and sanitize package and tests configurations

  • Remove DeprecationWarning: "InitializeClass is deprecated.
    Please import from AccessControl.class_init."
    Works now with Zope 5

Products.contentmigration: 2.2.0 β†’ 2.2.1

Bug fixes:

  • Minor packaging updates. (#1)

Products.DCWorkflow: 2.4.0 β†’ 2.4.1

  • Added compatibility with Zope 5 by not registering for the help system.

Products.ExtendedPathIndex: 3.4.2 β†’ 4.0.0

Breaking changes:

  • Drop compatibility for ZCatalog < 4 [jensens] (#15)

Bug fixes:

  • Fix IRO of EPI. [jensens] (#15)

Products.GenericSetup: 2.0.1 β†’ 2.0.2

  • Remove Zope 2.13 fossils to stay compatible with Zope 5

  • Force saving unpersisted changes in toolset registry.
    Fixes issue 86 <https://github.com/zopefoundation/Products.GenericSetup/issues/86>_.

Products.MimetypesRegistry: 2.1.5 β†’ 2.1.6

Bug fixes:

  • Minor packaging updates. (#1)

Products.PloneLanguageTool: 3.2.9 β†’ 3.2.10

Bug fixes:

  • Minor packaging updates. (#1)

Products.PlonePAS: 6.0.5 β†’ 6.0.6

Bug fixes:

  • Minor packaging updates. (#1)

Products.PluggableAuthService: 2.2.1 β†’ 2.4.0

Products.PortalTransforms: 3.1.7 β†’ 3.1.8

Bug fixes:

  • Minor packaging updates. (#1)

  • Use markdown extension settings from markup control panel.
    [pabo3000, thomasmassmann] (#30)

Products.SiteErrorLog: 5.3 β†’ 5.4

  • Log transient errors that can be re-tried as INFO only
    (#21 <https://github.com/zopefoundation/Products.SiteErrorLog/issues/21>_)

Products.statusmessages: 5.0.4 β†’ 5.0.5

Bug fixes:

  • Minor packaging updates. (#1)

Products.validation: 2.1.1 β†’ 2.1.3

Bug fixes:

  • Fixes #6 long deprecated InitializeClass import which did not work in Zope 5.
    [jensens] (#6)

  • Minor packaging updates. (#1)

Products.ZopeVersionControl: 1.1.4 β†’ 2.0.0

Breaking changes:

  • Drop support for Python 3.4.

New features:

  • Add support for Python 3.7 and 3.8.

Bug fixes:

  • Added compatibility with Zope 5 by not registering for the help system.

  • Fix for retaining order of ordered folders upon cloning.

  • Fix for data error encountered when dealing with data imported by ZEXP import/export from another system.

  • Fix for string formatting error in Repository.py.

Products.ZSQLMethods: 3.0.9 β†’ 3.9

z3c.autoinclude: 0.3.9 β†’ 0.4.0

Breaking changes:

  • Drop support for Python 3.4.

New features:

  • When environment variable Z3C_AUTOINCLUDE_DEBUG is set,
    log which packages are being automatically included.
    Do this in a form that you can copy to a configure.zcml file.

  • Add support for Python 3.8.

zodbverify: 1.0.2 β†’ 1.1.0

New features:

  • Show the affected oids for each error.
    Inspect a single oid.
    The idea is to run zodbverify on the whole database and from the output copy one oid and run it again to further inspect that object.
    [pbauer] (#6)

Bug fixes:

  • Minor packaging updates. (#1)

plonetheme.sunburst: 1.5.4 β†’ 1.5.5

Bug fixes:

  • Minor packaging updates. (#1)

collective.z3cform.datagridfield: 1.5.2 β†’ 1.5.3

collective.z3cform.datetimewidget: 1.2.8 β†’ 1.2.9

plone.app.debugtoolbar: 1.2.1 β†’ 1.2.2

plone.app.relationfield: 2.0.1 β†’ 2.0.2

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.versioningbehavior: 1.3.8 β†’ 1.4.0

New features:

  • Change to use Python's built-in filecmp.cmp(shallow=False) to compare blobs for differences instead of the old method of comparing them line by line. [datakurre] (#50)

Bug fixes:

  • Update the documentation that was pointing to the obsolete @@types-controlpanel (it is @@content-controlpanel instead) (#33)

plone.formwidget.autocomplete: 1.3.0 β†’ 1.4.0

Products.PrintingMailHost: 1.1.2 β†’ 1.1.4

plone.app.mosaic: 2.2.1 β†’ 2.2.2

plone.app.tiles: 3.1.2 β†’ 3.1.3

plone.tiles: 2.2.1 β†’ 2.2.2

Bug fixes:

  • Minor packaging updates. (#1)

  • Fixed tests on Travis.
    [maurits] (#33)

plone.jsonserializer: 0.9.7 β†’ 0.9.9

plone.app.controlpanel: 4.0.0 β†’ 4.0.1

Bug fixes:

  • Minor packaging updates. [various] (#1)

archetypes.referencebrowserwidget: 2.5.10 β†’ 2.5.11

Bug fixes:

  • Minor packaging updates. [various] (#1)

archetypes.schemaextender: 3.0.0 β†’ 3.0.1

Bug fixes:

  • Minor packaging updates. [various] (#1)

plone.app.blob: 1.8.0 β†’ 1.8.1

Bug fixes:

  • Support Zope 4.2.1 [jensens] (#53)

plone.app.collection: 1.2.7 β†’ 1.2.8

Bug fixes:

  • Minor packaging updates. [various] (#1)

Products.Archetypes: 1.16.1 β†’ 1.16.2

Bug fixes:

  • Use manage_FTPget instead of manage_DAVget in marshall tests.
    Adds compatibility with Zope 4.3.
    [maurits] (#644)

Products.ATContentTypes: 3.0.2 β†’ 3.0.3

Bug fixes:

  • Updated tests to work on Zope 4.2.1/4.2. [maurits] (#644)

Products.Marshall: 2.4.0 β†’ 2.4.1

Bug fixes:

  • Minor packaging updates. (#1)

plone.app.referenceablebehavior: 0.7.7 β†’ 0.7.8

Bug fixes:

  • Minor packaging updates. (#1)
2 Likes

Vincent Fretin has released plone.app.locales 5.1.23 and I have included it.

I thought updates to versions.cfg could take a day to come through because they are cached, but I see the change already.

Woot! Hm, Zope 4.4.4 has just been released :smile: Zope 4.4.4 released

I will start reloading my neurons to update the unified installer and vagrant...

I may have missed it. Eric also emails the installers group to let them know this is coming and so they can prep. β€œthey”, yeah. :wink: Though I think @avoinea should be on it now too

5.2.2-pending breaks our onkopedia.com site (running on 5.2.1 right now)..something related to resources...requires further investigations this week.

Tried update our migration sandbox in a different project from 5.2.1 to 5.2.2 and then this:

Traceback (most recent call last):
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/ZODB-5.5.1-py3.7.egg/ZODB/Connection.py", line 795, in setstate
    self._reader.setGhostState(obj, p)
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/ZODB-5.5.1-py3.7.egg/ZODB/serialize.py", line 633, in setGhostState
    state = self.getState(pickle)
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/ZODB-5.5.1-py3.7.egg/ZODB/serialize.py", line 626, in getState
    return unpickler.load()
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/zope.interface-5.0.2-py3.7-linux-x86_64.egg/zope/interface/declarations.py", line 733, in Provides
    spec = ProvidesClass(*interfaces)
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/zope.interface-5.0.2-py3.7-linux-x86_64.egg/zope/interface/declarations.py", line 694, in __init__
    Declaration.__init__(self, *(interfaces + (implementedBy(cls), )))
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/zope.interface-5.0.2-py3.7-linux-x86_64.egg/zope/interface/declarations.py", line 86, in __init__
    Specification.__init__(self, _normalizeargs(bases))
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/zope.interface-5.0.2-py3.7-linux-x86_64.egg/zope/interface/declarations.py", line 1112, in _normalizeargs
    _normalizeargs(v, output)
  File "/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/zope.interface-5.0.2-py3.7-linux-x86_64.egg/zope/interface/declarations.py", line 1111, in _normalizeargs
    for v in sequence:
TypeError: 'ExtensionClass.ExtensionClass' object is not iterable
2020-06-29 08:13:17,995 ERROR   [Zope.SiteErrorLog:252][waitress-0] 1593411197.99214940.5191176579851793 http://dev2.zopyx.de:20081/index_html
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 359, in publish_module
  Module ZPublisher.WSGIPublisher, line 262, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 63, in call_object
  Module zope.browserpage.simpleviewclass, line 41, in __call__
  Module Products.Five.browser.pagetemplatefile, line 126, in __call__
  Module Products.Five.browser.pagetemplatefile, line 61, in __call__
  Module zope.pagetemplate.pagetemplate, line 135, in pt_render
  Module Products.PageTemplates.engine, line 322, in __call__
  Module z3c.pt.pagetemplate, line 176, in render
  Module chameleon.zpt.template, line 299, in render
  Module chameleon.template, line 214, in render
  Module chameleon.utils, line 75, in raise_with_traceback
  Module chameleon.template, line 192, in render
  Module ff8193f279dbb7640ccd339642a2399c, line 223, in render
  Module zope.tales.expressions, line 241, in __call__
  Module Products.PageTemplates.Expressions, line 160, in _eval
  Module Products.PageTemplates.Expressions, line 122, in render
  Module Products.CMFPlone.browser.admin, line 60, in sites
  Module ZODB.Connection, line 795, in setstate
  Module ZODB.serialize, line 633, in setGhostState
  Module ZODB.serialize, line 626, in getState
  Module zope.interface.declarations, line 733, in Provides
  Module zope.interface.declarations, line 694, in __init__
  Module zope.interface.declarations, line 86, in __init__
  Module zope.interface.declarations, line 1112, in _normalizeargs
  Module zope.interface.declarations, line 1111, in _normalizeargs
TypeError: 'ExtensionClass.ExtensionClass' object is not iterable

 - Expression: "view/sites"
 - Filename:   ... gg/Products/CMFPlone/browser/templates/plone-overview.pt
 - Location:   (line 21: col 24)
 - Source:     <body tal:define="sites view/sites">
                                       ^^^^^^^^^^
 - Arguments:  template: <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fefce6054d0>
               options: {}
               args: ()
               nothing: None
               modules: <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x7fefdb07ff50>
               request: <WSGIRequest, URL=http://dev2.zopyx.de:20081/index_html>
               view: <Products.Five.browser.metaconfigure.SimpleViewClass from /home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/Products.CMFPlone-5.2.2rc1-py3.7.egg/Products/CMFPlone/browser/templates/plone-overview.pt object at 0x7fefceb85450>
               context: <Application at >
               views: <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fefd46de610>
               here: <Application at >
               container: <Application at >
               root: <Application at >
               traverse_subpath: []
               user: <PropertiedUser 'admin'>
               default: <module 'chameleon.tales' from '/home/ajung/sandboxes/ugent-portaal-plone-4x/eggs/Chameleon-3.8.0-py3.7.egg/chameleon/tales.py'>
               repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7fefd5a3f640>
               loop: {}
               target_language: None
               translate: <function BaseTemplate.render.<locals>.translate at 0x7fefd705e4d0>

This issue now showed up in another migration sandbox after upgrading from 5.2.1 to 5.2.2-pending

SOLVED with: https://github.com/zopefoundation/Zope/issues/856#issuecomment-651079969

In case your forms use Chameleon and have any boolean attributes (checked, selected, readonly, etc.), there has been a breaking change in Chameleon 3.8.0 released on 2020-06-25 that is not obvious until you actually use a web interface or if you do any automated functional tests. See https://github.com/Pylons/deform/pull/418

1 Like

Congratulations for the hard work!

Sorry about that! I do have "Send links to installers list" in the release checklist, but it is a few lines further down, and I thought this should be done after the release is final.
I haven't chatted with Eric yet about how to do the release, so I am going by the checklist currently (adapted from a doc in coredev), which can obviously be improved.

Can you try with zope.interface 5.0.1?

I tested 5.2.2 with a client project and everything went well.
We should include https://github.com/plone/plone.app.layout/pull/240/ though.

I have another potential blocker, probably related to the latest chameleon or zope.tales.
Code like this:

<div foo="bar"
     tal:attributes="foo string:${attrs/foo} baz"
></div>

was meant to render:

<div foo="bar baz"></div>

See attrs in https://zope.readthedocs.io/en/latest/zopebook/AppendixC.html#built-in-names.

But now it fails like:

  File "/home/ale/.buildout/eggs/Chameleon-3.8.0-py3.8.egg/chameleon/template.py", line 192, in render
    self._render(stream, econtext, rcontext)
  File "5823e51a055e4b8c62b075c531a9daf8.py", line 1617, in render
  File "/home/ale/.buildout/eggs/zope.tales-5.0.2-py3.8.egg/zope/tales/pythonexpr.py", line 73, in __call__
    return eval(self._code, vars)
   - __traceback_info__: (chv.safe_member_and_group_prefill(context, attrs['name']))
  File "<string>", line 1, in <module>
NameError: name 'attrs' is not defined

I am still investigating.

I just kicked the old migrated site...so I am unable to check..

Some Minor stuff here.
buildout is still trying to update itself and getting stuck in a loop.
pip install zc.buildout==2.13.3 solves it. (or installing requirements.txt, of course)

One of our templates had <p tal:condition="True" > and it threw an error
KeyError: 'True'
Chameleon doesn't know what 'True' is anymore.

replace with <p tal:condition="python: True" > and moved on.

Why do we have this code? Β―\_(ツ)_/Β― But a git blame will most likely show my name anyway. TALES expressions in conditionals are dangerous anyway.

Indeed, why? Please see my earlier comment for how we fixed this issue in Deform and (soon) pyramid_chameleon.

I tried to fix the Norwegian, but ended up with conflicts.
Can anyone help me sort this out? I am already the only one translating to Norwegian (in my spare time) so I REALLY dont wanna do all the work again :disappointed_relieved:

https://github.com/collective/plone.app.locales/pull/308/conflicts

We've just updated to 5.2.2-pending and our mosaic pages don't work anymore.

Traceback:

2020-06-30 10:51:14,818 ERROR   [plone.transformchain:70][waitress-3] Unexpected error whilst trying to apply transform chain
Traceback (most recent call last):
  File "/Volumes/WORKSPACE/.buildout/eggs/plone.transformchain-2.0.2-py3.7.egg/plone/transformchain/transformer.py", line 59, in __call__
    newResult = handler.transformIterable(result, encoding)
  File "/Volumes/WORKSPACE/.buildout/eggs/plone.app.blocks-4.3.2-py3.7.egg/plone/app/blocks/transform.py", line 92, in transformIterable
    iterable, pretty_print=self.pretty_print, encoding=encoding)
  File "/Volumes/WORKSPACE/.buildout/eggs/repoze.xmliter-0.6-py3.7.egg/repoze/xmliter/utils.py", line 32, in getHTMLSerializer
    doctype=doctype,
  File "/Volumes/WORKSPACE/.buildout/eggs/repoze.xmliter-0.6-py3.7.egg/repoze/xmliter/utils.py", line 16, in getXMLSerializer
    p.feed(chunk)
  File "src/lxml/parser.pxi", line 1242, in lxml.etree._FeedParser.feed
  File "src/lxml/parser.pxi", line 1277, in lxml.etree._FeedParser.feed
lxml.etree.ParserError: Unicode parsing is not supported on this platform

The lxml==4.4.2 version pin was removed from versions.cfg and now we get lxml==4.5.1 ... pinning back to 4.4.2 solves the transform error ... Not sure if this is platform specific (I've tested it on a Mac)

Plone Foundation Code of Conduct