Cookieplone & cookieplone-templates releases

Hello there, greetings from Bucharest!

I'm happy to report we have new versions of cookieplone and cookieplone-templates.

cookieplone 0.9.3 (0,9.0, 0.9.1, 0.9.2)

New features:

  • Implement new filters to manipulate Python versions.
  • Format Python codebase with ruff, if pyproject.toml has the configuration. @ericof
  • Add filter as_semver to convert Python versions (PEP 440) to SemVer
  • Add filter unscoped_package_name to return the npm package name without its scope
  • Add __generator_sha to the variables to report the last commit on the templates repo
  • Add as_major_minor filter.
  • Add package_namespace_path filter.
  • Refactor extra-context parsing.

Documentation:

  • Update README to recommend using cookieplone via uvx

Tests

  • Add session fixture annotate_context.

Bug fixes:

  • Fix regression in generating namespace packages.
  • Fix namespace generation issue

Internal:

  • Use uv to manage the environment.
  • Ignore CHANGES.md from the trailing-whitespace pre-commit check.

cookieplone-templates

Backend Add on

  • Removal of pre-commit configuration (due to issues maintaining such a solution for a mono repo application)
  • Use of uv as the main tool to install and manage Python
  • Removal of setup.py in favor of package/project configuration on pyproject.toml
  • Use of hatchling instead of setuptools for package build
  • Use of ruff for code format and lint (Replacing black, flake8 and isort)
  • Pinned version 2.1.1 for cookiecutter-zopeinstance
  • Fixes to Makefile targets

Frontend Add on

  • Removal of pre-commit configuration (due to issues maintaining such a solution for a mono repo application)
  • Fixes to Makefile targets

Project

  • Removal of pre-commit configuration (due to issues maintaining such a solution for a mono repo application)
  • All the changes listed for Backend Add on and Frontend Add on
  • Fixes to Makefile targets
3 Likes