Plone的升级工具。
项目描述
概述
此软件包包含升级机制,用于将 Plone 网站升级到较新版本。
版本兼容性
要更新到 Plone 4.x,请使用 1.3.x 版本的 plone.app.upgrade。
要更新到 Plone 5.x,请使用 plone.app.upgrade 版本 2.x。
要更新到 Plone 6.x,请使用 plone.app.upgrade 版本 3.x。
变更日志
3.1.6 (2024-09-05)
错误修复
6.1: 清理当软件包不可用时 plone.app.discussion 设置。如果网站包含评论,我们将引发错误并停止升级。建议添加 plone.app.discussion 软件包。[maurits] (#211)
内部
添加了对 6024,Plone 6.0.13 的升级。[maurits] (#6024)
添加了对 6104,Plone 6.1.0a5 的升级。[maurits] (#6104)
3.1.5 (2024-08-01)
错误修复
修复了升级到特定版本 plone.app.iterate 的问题。在 Plone 6.1 中,id 为 plone.app.iterate 的已弃用 GS 配置文件已被删除,仅保留 default,如常。[maurits] (#99)
6.1: 完全删除 portal_properties 工具。此工具已弃用,我们曾说过将在 6.1 中删除它。[maurits] (#125)
6.1: 添加删除 After the Deadline 设置的升级步骤。[reinhardt] (#328)
内部
添加了对 6023,Plone 6.0.12 的升级。[maurits] (#6023)
添加了对 6103,Plone 6.1.0a4 的升级。[maurits] (#6103)
3.1.4 (2024-04-25)
错误修复
添加升级步骤以启用 TinyMCE 插件折叠到 v60 [1letter] (324-1)
添加升级步骤以启用 TinyMCE 插件折叠 [1letter] (#324)
添加升级步骤以将注册记录 webstats_head_js 添加到 ISiteSchema。[maurits] (#3931)
内部
添加了对 6022,Plone 6.0.11 的升级。[maurits] (#6022)
添加了对 6102,Plone 6.1.0a3 的升级。[maurits] (#6102)
3.1.3 (2024-02-22)
错误修复
更新 TinyMCE 格式图标名称。[petschki, maurits] (#3095)
添加了对 6101,Plone 6.1.0a2 的升级。[maurits] (#6101)
3.1.2 (2024-01-26)
错误修复
在 Plone 6.0 alpha 早期移除 Archetypes 修饰符。CMFEditions 已经尝试这样做,但在某些情况下可能会失败。[maurits] (#6003)
内部
添加了对 6021,Plone 6.0.10 的升级。[maurits] (#6021)
3.1.1 (2023-12-14)
内部
添加了对 6020,Plone 6.0.9 的升级。[maurits] (#6020)
3.1.0 (2023-10-26)
新功能
添加了对 6100,Plone 6.1.0a1 的升级。[maurits] (#6100)
错误修复
添加了对 6019,Plone 6.0.8 的升级。[maurits] (#6019)
3.0.8 (2023-09-20)
错误修复
修复了升级时的网站聚合设置中的错误。[maurits] (#315)
3.0.7 (2023-09-14)
错误修复
添加修复 ISyndicationSettings 的升级步骤 [1letter] (#315)
添加了对 6018,Plone 6.0.7 的升级。[maurits] (#6018)
3.0.6 (2023-06-22)
错误修复
添加了对 6017,Plone 6.0.6 的升级。[maurits] (#6017)
3.0.5 (2023-05-30)
错误修复
修复了 TinyMCE 问题:工具和视图在菜单栏中不显示。菜单栏包含“toolsview”。[maurits] (#3785)
添加了对 6016,Plone 6.0.5 的升级。[maurits] (#6016)
3.0.4 (2023-04-21)
错误修复
添加了对 6015,Plone 6.0.4 的升级。[maurits] (#6015)
3.0.3 (2023-03-23)
错误修复
从 plone.base 导入更多。[maurits] (#1)
修复 plone.app.iterate 配置文件。[maurits] (#99)
将站点管理员角色添加到各种权限。[maurits] (#3225)
添加了对 6014,Plone 6.0.3 的升级。[maurits] (#6014)
3.0.2 (2023-02-23)
错误修复
添加了两个缺失的升级步骤到 Plone 5.2.10 和 5.2.11。[maurits] (#5211)
添加了对 6013,Plone 6.0.2 的升级。[maurits] (#6013)
3.0.1 (2023-01-30)
错误修复
将 autolink 插件添加到 ITinyMCESchema.plugins。[petschki] (#308)
添加了对 6012,Plone 6.0.1 的升级。[maurits] (#6012)
3.0.0 (2022-12-12)
错误修复
将升级添加到6011,Plone 6.0.0最终版。[maurits] (#6011)
3.0.0rc2(2022-12-05)
错误修复
如果网站作为Volto网站使用,则应用volto.blocks行为。[erral] (#304)
当从brain获取对象时捕获KeyError,并忽略此brain。记录警告。[maurits] (#306)
将升级添加到6010,Plone 6.0.0rc2。[maurits] (#6010)
3.0.0rc1(2022-11-18)
错误修复
将升级添加到6009,Plone 6.0.0rc1。(#6009)
3.0.0b5(2022-10-04)
错误修复
更新plonetheme.barceloneta注册表。[petschki] (#302)
将升级添加到6008,Plone 6.0.0b3。(#6008)
3.0.0b4(2022-09-10)
错误修复
添加action.xml迁移,用于https://github.com/plone/Products.CMFPlone/pull/3616,添加beta2迁移的基础设施。[jensens] (#294)
如果缺少时区属性,则添加到portal memberdata。[#295]
更新portal actions图标表达式。[ale-rt] (#298)
添加升级步骤以修复dexterity索引器行为。[#300]
将升级添加到6007,Plone 6.0.0b2。[maurits] (#6007)
3.0.0b3(2022-07-23)
错误修复
将升级添加到6006,Plone 6.0.0b1。[maurits] (#6006)
3.0.0b2(2022-06-24)
错误修复
update_catalog_metadata:在获取可索引对象时捕获并记录ComponentLookupError。[maurits] (#3521)
3.0.0b1(2022-06-24)
重大更改
删除旧代码、别名和依赖项。这仅需要升级到较早的Plone版本。我们只支持从Plone 5.2 Python 3升级。[maurits] (#286)
新功能
将核心Plone模块的配置文件升级到特定版本。请参阅问题3346。[maurits] (#3346)
添加image_scales目录元数据列。更新所有brain以获取此信息。由于在大网站上这可能需要很长时间,因此您可以使用环境变量禁用此操作:export UPDATE_CATALOG_FOR_IMAGE_SCALES=0在这种情况下,建议您稍后手动将image_scales列添加到目录中。[maurits] (#3521)
错误修复
清理:pyupgrade、isort、black。[maurits] (#287)
为6005添加升级配置文件并重新加载tinyconfig以允许inline模式。[pbauer] (#288)
删除空的plone_templates皮肤层。[maurits] (#3515)
将升级添加到6005,Plone 6.0.0a5。[maurits] (#6005)
3.0.0a4(2022-04-08)
新功能
添加将现有站点迁移到es6的升级。[pbauer] (#269)
添加plone-view图标。参考:https://github.com/plone/plone.staticresources/commit/59bb178620b186f07a058cedefeeec1039f5c821 [thet] (#279)
重新加载ISearchSettings以添加对liveSearch结果中图像的支持。[agitator+maurits] (#3489)
错误修复
删除旧的plone.session包。如果已安装其可选刷新支持,则重新应用其新注册表设置。这是plone.session问题24的一部分。[maurits] (#24)
升级步骤以删除已删除的视图let plone.header [erral] (#268)
当调用fix_unicode_properties时修复几个异常。依赖Zope 5.5以使用其官方版本的此功能。[maurits] (#270)
添加升级以删除配置程序“更改成员密码”和“成员首选项” [1letter] (#272)
在升级期间不要重新加载plone-logged-in。添加jquery包。[pbauer] (#277)
在升级期间添加eventedit包。[pbauer] (#278)
清除plone.content_css [pbauer] (#280)
从IBundleRegistry中删除过时的conditionalcomment字段。[petschki] (#283)
删除空的皮肤层plone_prefs和plone_form_scripts。[maurits] (#3240)
添加新的图像缩放。[maurits] (#3279)
将升级添加到6004,Plone 6.0.0a4。[maurits] (#6004)
3.0.0a3(2022-01-28)
错误修复
作为3.0.0a3重新发布,以便更好地与Plone 6.0.0a3版本匹配。不保证保持匹配。[maurits] (#300)
3.0.0a2(2022-01-28)
错误修复
控制面板中重命名错误日志表单视图链接的升级步骤 [jmevissen] (#266)
修复unicode属性。参见 问题3305。 [maurits] (#3305)
添加升级到6003,Plone 6.0.0a3。 [maurits] (#6003)
3.0.0a1 (2021-12-03)
重大更改
删除了从Plone 5.1及以下版本的升级步骤。您只能从已安装Python 3的站点迁移到Plone 6,因此需要Plone 5.2。 [maurits] (#227)
错误修复
索引Plone网站根目录 (#264)
添加升级到6002,Plone 6.0.0a2。 [maurits] (#6002)
2.0.41 (2021-10-16)
错误修复
为现有迁移的网站根目录添加UUID。 [jensens] (#258)
添加升级到5214,Plone 5.2.6。 [maurits] (#5214)
将v60/profiles/to_alpha1重命名为to6000。我们还没有Plone alpha1版本,但是有一个预alpha版本。 [maurits] (#6000)
添加升级到6001,Plone 6.0.0a1.dev1。 [maurits]
修复typeinfo动作中的icon_expr。 [petschki] (#6001)
2.0.40 (2021-09-16)
重大更改
升级步骤将Plone网站变为dexterity对象 (#256)
新功能
错误修复
添加升级到6000,Plone 6.0.0a1.dev0。 [maurits] (#600)
2.0.39 (2021-07-31)
错误修复
添加升级到5213,Plone 5.2.5。 [maurits] (#525)
2.0.38 (2021-03-02)
错误修复
仅允许Manager/Owner访问portal_setup对象。参见 GenericSetup问题101。 [maurits] (#101)
2.0.37 (2021-02-19)
重大更改
如果temp_folder损坏,则从Zope根目录中删除。参见 问题2957。 [maurits] (#2957)
错误修复
Plone 6.0: 删除portal_form_controller工具。 [maurits] (#3057)
改进了从ASCII到Bytes的site_logo升级步骤。之前的升级是不完整的,可能会在调用两次时删除标志。参见 问题3172的评论。 [maurits] (#3172)
2.0.36 (2020-10-30)
重大更改
6.0 alpha 1: 删除portal_quickinstaller工具。参见 PLIP 1775。 [maurits] (#1775)
2.0.35 (2020-09-21)
错误修复
替换了不应在核心中使用的plone.api导入。 [maurits] (#241)
在迁移关系时,修复了v52/betas中一个罕见的情况:在目录中关系缺失的属性被安全忽略。 [jensens] (#244)
Plone 5.1.7: 更新资源注册表的last_compilation日期。 [maurits] (#1006)
捕获webdav.LockItem.LockItem和CMFPlone.interfaces.ILanguageSchema的弃用警告。第一个已移动到OFS.LockItem,第二个到plone.i18n.interfaces。在较旧的升级代码中,我们仍然应该首先尝试旧导入。修复了zope.site.hooks的弃用警告。修复了无效的转义序列。[maurits] (#3130)
将plone.site_logo字段从ASCII(本地字符串)迁移到Bytes。否则,保存站点控制面板可能会因错误的类型错误而失败。修复了 问题3172。 [maurits] (#3172)
2.0.34 (2020-08-16)
错误修复
Plone 5.1.7: 更新资源注册表的last_compilation日期。 [vincentfretin] (#236)
2.0.33 (2020-06-30)
错误修复
在迁移具有特殊字符的fti的内容类型的属性时,修复了move_dotted_to_named_behaviors中的UnicodeDecodeError。 [pbauer] (#235)
2.0.32 (2020-06-28)
新功能
为Plone 5.2.2添加升级步骤。 [thet]
图像标题支持:在富文本编辑器中允许
作为有效标签。为plone.image_caption输出过滤器转换添加注册设置。[thet] (#209) 将markdown转换设置迁移到标记控制面板的升级步骤。[thomasmassmann] (#228)
为v60添加升级配置文件,包括用于#3086(custom.css视图)的升级步骤。[MrTango] (#3086)
错误修复
修复步骤5.2 beta 1中的问题 从关系目录中移除_interface_indexes。在升级某些现实世界数据库中的关系目录时,一些迭代的令牌变得无家可归。删除它们以确保关系目录干净,并记录一条警告信息。[jensens] (#225)
为HTMLFilter默认值添加升级步骤。[petschki] (#233)
有关2.0.31及以前的更改,请参阅2.x分支。