Skip to content

v0.7.0 - Django 4.0, Python 3.10 and an API

Compare
Choose a tag to compare
@zerolab zerolab released this 01 Feb 14:41
· 70 commits to main since this release

Added

  • Add a way to customise rendering of a pattern with is_pattern_library context variable (#156, #167).
  • Support for Django 4.0 (#164).
  • Tentative support for Django 4.1 (#185).
  • Support for Python 3.10 (#163).
  • Tentative support for Python 3.11 (#185).
  • VS Code devcontainer for development (#178).
  • Documented the need to set X_FRAME_OPTIONS = "SAMEORIGIN" to see Django debug responses in the iframe UI (#186).
  • New /api/v1/render-pattern API endpoint to render patterns via POST requests, with the pattern’s context and tag overrides as a JSON body (#104, #168).

Changed

  • Change Poetry version to be >=1.1.12,<2 in Docker development setup (prevents JSONDecodeError issue under Python 3.10) (#178).
  • Move demo/test app pattern-library from /pattern-library/ to / (#178).
  • Allow .yml extension for YAML files (#161, #169).
  • Python files are now formatted by black (#187).
  • Fix potential Django 4.0 compatibility issue for components using non-string values in tag overrides (#166, #188).

Removed

  • We no longer support Python 3.6, as it has reached its end of life (#163).
  • Remove support for IE11 in pattern library UI (#151, #162).