Skip to content

Commit c811bea

Browse files
committed
Release v0.7.0
1 parent 8b10c53 commit c811bea

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,31 @@
22

33
## [Unreleased]
44

5+
## [0.7.0](https://github.com/torchbox/django-pattern-library/releases/tag/v0.7.0) - 2022-01-25
6+
57
## Added
68

9+
- Add a way to customise rendering of a pattern with [`is_pattern_library`](https://torchbox.github.io/django-pattern-library/reference/api/#is_pattern_library) context variable ([#156](https://github.com/torchbox/django-pattern-library/issues/156), [#167](https://github.com/torchbox/django-pattern-library/pull/167)).
710
- Support for Django 4.0 ([#164](https://github.com/torchbox/django-pattern-library/pull/164)).
11+
- Tentative support for Django 4.1 ([#185](https://github.com/torchbox/django-pattern-library/pull/185)).
812
- Support for Python 3.10 ([#163](https://github.com/torchbox/django-pattern-library/pull/163)).
13+
- Tentative support for Python 3.11 ([#185](https://github.com/torchbox/django-pattern-library/pull/185)).
914
- VS Code devcontainer for development ([#178](https://github.com/torchbox/django-pattern-library/pull/178)).
1015
- Documented the need to set `X_FRAME_OPTIONS = "SAMEORIGIN"` to see Django debug responses in the iframe UI ([#186](https://github.com/torchbox/django-pattern-library/pull/186)).
16+
- New `/api/v1/render-pattern` [API endpoint to render patterns](https://torchbox.github.io/django-pattern-library/recipes/api-rendering/) via POST requests, with the pattern’s context and tag overrides as a JSON body ([#104](https://github.com/torchbox/django-pattern-library/issues/104), [#168](https://github.com/torchbox/django-pattern-library/pull/168)).
1117

1218
### Changed
1319

1420
- Change Poetry version to be `>=1.1.12,<2` in Docker development setup (prevents `JSONDecodeError` issue under Python 3.10) ([#178](https://github.com/torchbox/django-pattern-library/pull/178)).
1521
- Move demo/test app pattern-library from `/pattern-library/` to `/` ([#178](https://github.com/torchbox/django-pattern-library/pull/178)).
16-
- Allow `.yml` extension for YAML files ([#161](https://github.com/torchbox/django-pattern-library/issues/161)).
22+
- Allow `.yml` extension for YAML files ([#161](https://github.com/torchbox/django-pattern-library/issues/161), [#169](https://github.com/torchbox/django-pattern-library/pull/169)).
1723
- Python files are now formatted by `black` ([#187](https://github.com/torchbox/django-pattern-library/pull/187)).
24+
- Fix potential Django 4.0 compatibility issue for components using non-string values in tag overrides ([#166](https://github.com/torchbox/django-pattern-library/issues/166), [#188](https://github.com/torchbox/django-pattern-library/pull/188)).
1825

1926
### Removed
2027

2128
- We no longer support Python 3.6, as it has reached its end of life ([#163](https://github.com/torchbox/django-pattern-library/pull/163)).
29+
- Remove support for IE11 in pattern library UI ([#151](https://github.com/torchbox/django-pattern-library/issue/151), [#162](https://github.com/torchbox/django-pattern-library/pull/162)).
2230

2331
## [0.6.0](https://github.com/torchbox/django-pattern-library/releases/tag/v0.6.0) - 2021-12-21
2432

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-pattern-library"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
description = "A module for Django that allows to build pattern libraries for your projects."
55
authors = [
66
"Ben Dickinson <[email protected]>",

0 commit comments

Comments
 (0)