Skip to content

Releases: bluedynamics/plone-codemod

v1.0.0a6

08 Mar 14:10
81a2e67

Choose a tag to compare

v1.0.0a6 Pre-release
Pre-release

What's Changed

  • Replace the plone.app.z3cform relateditems widget with the contentbrowser widget. by @thet in #2
  • Add deprecations from plone.app.z3cform. by @thet in #1

New Contributors

  • @thet made their first contribution in #2

Full Changelog: v1.0.0a5...v1.0.0a6

v1.0.0a5

02 Mar 16:56
89666b6

Choose a tag to compare

v1.0.0a5 Pre-release
Pre-release

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

02 Mar 15:58
807e6bf

Choose a tag to compare

v1.0.0a4 Pre-release
Pre-release

Changes

  • Fix Phase 1 failing with "Could not find plone_codemod.import_migrator in any configured modules". Use libcst -x flag for direct module import and --no-format to skip requiring a formatter.
  • Warn about non-boilerplate MANIFEST.in rules 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

28 Feb 20:32
ee84f74

Choose a tag to compare

v1.0.0a3 Pre-release
Pre-release

Changes

  • Strip License :: classifiers from generated pyproject.toml when a PEP 639 license expression is present. setuptools >= 78 rejects having both.
  • Remove check-manifest hook from .pre-commit-config.yaml when MANIFEST.in is deleted during packaging migration.

v1.0.0a2

28 Feb 16:36
ba6ddf4

Choose a tag to compare

v1.0.0a2 Pre-release
Pre-release

Changes

  • Add Phase 7: Namespace package migration (PEP 420, --namespaces).
    Removes pkg_resources/pkgutil namespace declarations from
    __init__.py files, cleans namespace_packages from setup.py/setup.cfg.

  • Add Phase 8: Packaging migration (--packaging).
    Converts setup.py/setup.cfg to PEP 621 pyproject.toml
    with hatchling build backend. Includes tool config conversion
    (flake8/isort/pycodestyle to ruff, pytest, coverage sections).

  • Handle common long_description patterns in setup.py parsing:
    read() helpers, .format(), string concatenation, str.join(),
    and f-strings with file reads.

  • Add CONTRIBUTORS to recognized doc-filename whitelist.

  • Fix namespace migration searching in wrong directory when
    --project-dir differs 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

28 Feb 15:39
48508b8

Choose a tag to compare