Releases: bluedynamics/plone-codemod
v1.0.0a6
v1.0.0a5
What's Changed
- Warn about non-UTF-8 encoded files instead of crashing with
UnicodeDecodeError. XML/ZCML/PT files should be UTF-8; the tool now prints a warning and skips the file so users can fix the encoding.
Full Changelog: v1.0.0a4...v1.0.0a5
v1.0.0a4
Changes
- Fix Phase 1 failing with "Could not find plone_codemod.import_migrator in any configured modules". Use libcst
-xflag for direct module import and--no-formatto skip requiring a formatter. - Warn about non-boilerplate
MANIFEST.inrules that may need manual porting to[tool.hatch.build]configuration. - Add Sphinx documentation with Diataxis structure and GitHub Pages deployment.
Full changelog: https://github.com/bluedynamics/plone-codemod/blob/main/CHANGES.md
v1.0.0a3
Changes
- Strip
License ::classifiers from generatedpyproject.tomlwhen a PEP 639 license expression is present. setuptools >= 78 rejects having both. - Remove
check-manifesthook from.pre-commit-config.yamlwhenMANIFEST.inis deleted during packaging migration.
v1.0.0a2
Changes
-
Add Phase 7: Namespace package migration (PEP 420,
--namespaces).
Removespkg_resources/pkgutilnamespace declarations from
__init__.pyfiles, cleansnamespace_packagesfromsetup.py/setup.cfg. -
Add Phase 8: Packaging migration (
--packaging).
Convertssetup.py/setup.cfgto PEP 621pyproject.toml
with hatchling build backend. Includes tool config conversion
(flake8/isort/pycodestyle to ruff, pytest, coverage sections). -
Handle common
long_descriptionpatterns insetup.pyparsing:
read()helpers,.format(), string concatenation,str.join(),
and f-strings with file reads. -
Add
CONTRIBUTORSto recognized doc-filename whitelist. -
Fix namespace migration searching in wrong directory when
--project-dirdiffers from source dir. -
Use hatch-vcs for dynamic versioning from git tags.
-
Fix CI: use correct optional-dependency group name
[test].
v1.0.0a1 - initial release
Full Changelog: https://github.com/bluedynamics/plone-codemod/commits/v1.0.0a1