Package: plone.app.upgrade
OverviewThis package contains the upgrade machinery to upgrade a Plone site to a newer version.Version compatibilityTo update to Plone 4.x please use plone.app.upgrade versions up to 1.3.x.To update to Plone 5.x, use plone.app.upgrade version 2.x.To update to Plone 6.x, use plone.app.upgrade version 3.x.Changelog3.1.3 (2024-02-22)Bug fixes:Update TinyMCE format icon names.
[petschki, maurits] (#3095)Added upgrade to 6101, Plone 6.1.0a2.
[maurits] (#6101)3.1.2 (2024-01-26)Bug fixes:Remove Archetypes modifiers from portal_modifier early in Plone 6.0 alpha.
CMFEditions already tried to do this, but this might fail in a corner case.
[maurits] (#6003)Internal:Added upgrade to 6021, Plone 6.0.10.
[maurits] (#6021)3.1.1 (2023-12-14)Internal:Added upgrade to 6020, Plone 6.0.9.
[maurits] (#6020)3.1.0 (2023-10-26)New features:Added upgrade to 6100, Plone 6.1.0a1.
[maurits] (#6100)Bug fixes:Added upgrade to 6019, Plone 6.0.8.
[maurits] (#6019)3.0.8 (2023-09-20)Bug fixes:Fix error in site syndication settings when upgrading.
[maurits] (#315)3.0.7 (2023-09-14)Bug fixes:Add Upgrade Step to fix ISyndicationSettings
[1letter] (#315)Added upgrade to 6018, Plone 6.0.7.
[maurits] (#6018)3.0.6 (2023-06-22)Bug fixes:Added upgrade to 6017, Plone 6.0.6.  [maurits] (#6017)3.0.5 (2023-05-30)Bug fixes:Fix TinyMCE problem: Tools and View do not show up in menubar.
The menubar contained “toolsview” instead.
[maurits] (#3785)Added upgrade to 6016, Plone 6.0.5.  [maurits] (#6016)3.0.4 (2023-04-21)Bug fixes:Added upgrade to 6015, Plone 6.0.4.  [maurits] (#6015)3.0.3 (2023-03-23)Bug fixes:Import more from plone.base. [maurits] (#1)Fix plone.app.iterate profiles.
[maurits] (#99)Add Site Administrator role to various permissions.
[maurits] (#3225)Added upgrade to 6014, Plone 6.0.3.  [maurits] (#6014)3.0.2 (2023-02-23)Bug fixes:Add two missing upgrades steps to Plone 5.2.10 and 5.2.11.
[maurits] (#5211)Added upgrade to 6013, Plone 6.0.2.  [maurits] (#6013)3.0.1 (2023-01-30)Bug fixes:Addautolinkplugin toITinyMCESchema.plugins.
[petschki] (#308)Added upgrade to 6012, Plone 6.0.1.  [maurits] (#6012)3.0.0 (2022-12-12)Bug fixes:Added upgrade to 6011, Plone 6.0.0 final.  [maurits] (#6011)3.0.0rc2 (2022-12-05)Bug fixes:Apply volto.blocks behavior if the site was being used as a Volto site
[erral] (#304)Catch KeyError when getting object from a brain, and ignore this brain.
Log a warning.
[maurits] (#306)Added upgrade to 6010, Plone 6.0.0rc2.  [maurits] (#6010)3.0.0rc1 (2022-11-18)Bug fixes:Added upgrade to 6009, Plone 6.0.0rc1. (#6009)3.0.0b5 (2022-10-04)Bug fixes:Update plonetheme.barceloneta registry.
[petschki] (#302)Added upgrade to 6008, Plone 6.0.0b3. (#6008)3.0.0b4 (2022-09-10)Bug fixes:Add migration of actions.xml forhttps://github.com/plone/Products.CMFPlone/pull/3616Add 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)3.0.0b3 (2022-07-23)Bug fixes:Added upgrade to 6006, Plone 6.0.0b1.  [maurits] (#6006)3.0.0b2 (2022-06-24)Bug fixes:update_catalog_metadata: catch and logComponentLookupErrorwhen getting indexable object.
[maurits] (#3521)3.0.0b1 (2022-06-24)Breaking changes:Removed old code, aliases and dependencies.
This were only needed to have a clean upgrade to earlier Plone versions.
We only support upgrading from Plone 5.2 Python 3.
[maurits] (#286)New features:Upgrade profiles of core Plone modules to specific versions.
Seeissue 3346.
[maurits] (#3346)Addimage_scalescatalog metadata column.
Update all brains to get this info.
Since this takes long on large sites, you can disable this with an environment variable:export UPDATE_CATALOG_FOR_IMAGE_SCALES=0In that case, you are advised to add theimage_scalescolumn manually to the catalog later.
[maurits] (#3521)Bug fixes:Cleanup: pyupgrade, isort, black.  [maurits] (#287)Add upgrade-profile for 6005 and reload tinyconfig to allow inline-mode.
[pbauer] (#288)Remove emptyplone_templatesskin layer.
[maurits] (#3515)Added upgrade to 6005, Plone 6.0.0a5.  [maurits] (#6005)3.0.0a4 (2022-04-08)New features:Add upgrades to migrate existing site to es6. [pbauer] (#269)Add plone-view icon.
Ref:https://github.com/plone/plone.staticresources/commit/59bb178620b186f07a058cedefeeec1039f5c821[thet] (#279)Reload ISearchSettings to add support for images in liveSearch results.
[agitator+maurits] (#3489)Bug fixes:Remove oldplone.sessionbundles.
Reapply its new registry settings, if its optional refresh support is installed.
Part ofplone.session issue 24.
[maurits] (#24)Upgrade step to remove the removed viewlet plone.header
[erral] (#268)Fix several exceptions when callingfix_unicode_properties.
Depend on Zope 5.5 to use its official version of this function.
[maurits] (#270)Added upgrade to remove Configlets “Change Member Password” and “Member Prefs”
[1letter] (#272)Do not reload plone-logged-in during upgrade. Add jquery bundle.
[pbauer] (#277)Add eventedit bundle on upgrade.
[pbauer] (#278)Clear out plone.content_css
[pbauer] (#280)Remove deprecatedconditionalcommentfield from IBundleRegistry
[petschki] (#283)Removed empty skin layersplone_prefsandplone_form_scripts.
[maurits] (#3240)Add new image scales.
[maurits] (#3279)Added upgrade to 6004, Plone 6.0.0a4.  [maurits] (#6004)3.0.0a3 (2022-01-28)Bug fixes:Rerelease without changes as 3.0.0a3 so it fits better with the Plone 6.0.0a3 version.
It is not guaranteed to keep matching.
[maurits] (#300)3.0.0a2 (2022-01-28)Bug fixes:Upgrade Step for renamed error-log-form view link in ControlPanel
[jmevissen] (#266)Fix unicode properties.
Seeissue 3305.
[maurits] (#3305)Added upgrade to 6003, Plone 6.0.0a3.  [maurits] (#6003)3.0.0a1 (2021-12-03)Breaking changes:Removed upgrade steps from Plone 5.1 and lower.
You can only migrate to Plone 6 from a site that is already Python 3, so Plone 5.2.
[maurits] (#227)Bug fixes:Index the Plone site root (#264)Added upgrade to 6002, Plone 6.0.0a2.  [maurits] (#6002)2.0.41 (2021-10-16)Bug fixes:Add an UUID to existing, migrated site roots. [jensens] (#258)Add upgrade to 5214, Plone 5.2.6.
[maurits] (#5214)Renamedv60/profiles/to_alpha1toto6000.
We have no Plone alpha1 release yet, but do have a pre alpha.
[maurits] (#6000)Added upgrade to 6001, Plone 6.0.0a1.dev1.
[maurits]Fix icon_expr in typeinfo action
[petschki] (#6001)2.0.40 (2021-09-16)Breaking changes:Upgrade step to make the Plone site a dexterity object (#256)New features:Protect @@historyview with Modify portal content permission. Fixeshttps://github.com/plone/Products.CMFPlone/issues/3297[pbauer] (#254)Add relations controlpanel as part ofhttps://github.com/plone/Products.CMFPlone/pull/3232[pbauer] (#255)Bug fixes:Added upgrade to 6000, Plone 6.0.0a1.dev0.
[maurits] (#600)2.0.39 (2021-07-31)Bug fixes:Added upgrade to 5213, Plone 5.2.5.
[maurits] (#525)2.0.38 (2021-03-02)Bug fixes:Make portal_setup objects accessible only to Manager/Owner.
SeeGenericSetup issue 101.
[maurits] (#101)2.0.37 (2021-02-19)Breaking changes:Remove temp_folder from Zope root if broken.
Seeissue 2957.
[maurits] (#2957)Bug fixes:Plone 6.0: remove portal_form_controller tool.
[maurits] (#3057)Improved upgrade step for site_logo from ASCII to Bytes.
The previous upgrade was incomplete and could remove the logo when called twice.
Seecomment on issue 3172.
[maurits] (#3172)2.0.36 (2020-10-30)Breaking changes:6.0 alpha 1: remove the portal_quickinstaller tool.
SeePLIP 1775.
[maurits] (#1775)2.0.35 (2020-09-21)Bug fixes:Replaced import of plone.api, which should not be used by core.
[maurits] (#241)Fixes a rare case in v52/betas while migration of relations: Missing attributes on cataloged relations are safely ignored.
[jensens] (#244)Plone 5.1.7: Update resource registrylast_compilationdate.
[maurits] (#1006)Catch deprecation warnings forwebdav.LockItem.LockItemandCMFPlone.interfaces.ILanguageSchema.
The first has been moved toOFS.LockItem, the second toplone.i18n.interfaces.
In older upgrade code, we should still try the old import first.
Fixed deprecation warning for zope.site.hooks.
Fixed invalid escape sequence.
[maurits] (#3130)Migrate theplone.site_logofield from ASCII (native string) to Bytes.
Otherwise saving the site-controlpanel can fail with a WrongType error
Fixesissue 3172.
[maurits] (#3172)2.0.34 (2020-08-16)Bug fixes:Plone 5.1.7: Update resource registrylast_compilationdate.
[vincentfretin] (#236)2.0.33 (2020-06-30)Bug fixes:Fix UnicodeDecodeError in move_dotted_to_named_behaviors when migrating behaviors for content_types where the fti has a special character.
[pbauer] (#235)2.0.32 (2020-06-28)New features:Add upgrade step for Plone 5.2.2.
[thet]Image caption support
Allowfigcaptionin 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 1remove_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)For 2.0.31 and earlier changes, see the2.x branch.