Skip to content

Commit 4ddfbde

Browse files
committed
Update CHANGELOG and bump version to 0.6.0
1 parent 1e91d0a commit 4ddfbde

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Wagtail 4.2 support
11-
- Drop support for Wagtail < 4.1
10+
## [0.6] - 2023-06-08
11+
12+
- Add Wagtail 4.2 support and drop support for Wagtail < 4.1
13+
- The minimum supported Python version is 3.8
14+
- Switched to using ruff
1215

1316
## [0.5] - 2022-11-27
1417

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Wagtail Headless Preview](https://pypi.org/project/wagtail-headless-preview/)
22

3-
[![Build status](https://img.shields.io/github/workflow/status/torchbox/wagtail-headless-preview/CI/main?style=for-the-badge)](https://github.com/torchbox/wagtail-headless-preview/actions)
3+
[![Build status](https://img.shields.io/github/actions/workflow/status/torchbox/wagtail-headless-preview/ci.yml?style=for-the-badge)](https://github.com/torchbox/wagtail-headless-preview/actions)
44
[![PyPI](https://img.shields.io/pypi/v/wagtail-headless-preview.svg?style=for-the-badge)](https://pypi.org/project/wagtail-headless-preview/)
55
[![black](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge)](https://github.com/psf/black)
66
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/torchbox/wagtail-headless-preview/main.svg)](https://results.pre-commit.ci/latest/github/torchbox/wagtail-headless-preview/main)
@@ -313,8 +313,8 @@ Now you can run tests as shown below:
313313
tox -p
314314
```
315315

316-
or, you can run them for a specific environment `tox -e py39-django3.2-wagtail2.15` or specific test
317-
`tox -e py310-django3.2-wagtail2.15 wagtail_headless_preview.tests.test_frontend.TestFrontendViews.test_redirect_on_preview`
316+
or, you can run them for a specific environment `tox -e py39-django3.2-wagtail4.1` or specific test
317+
`tox -e py310-django3.2-wagtail4.1 wagtail_headless_preview.tests.test_frontend.TestFrontendViews.test_redirect_on_preview`
318318

319319
## Credits
320320

src/wagtail_headless_preview/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (0, 5, 0)
1+
VERSION = (0, 6, 0)
22
__version__ = ".".join(map(str, VERSION))
33

44

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
class RemovedInWagtailHeadlessPreview060Warning(DeprecationWarning):
1+
class RemovedInWagtailHeadlessPreview070Warning(DeprecationWarning):
22
pass
33

44

5-
class RemovedInWagtailHeadlessPreview070Warning(PendingDeprecationWarning):
5+
class RemovedInWagtailHeadlessPreview080Warning(PendingDeprecationWarning):
66
pass
77

88

9-
removed_in_next_version_warning = RemovedInWagtailHeadlessPreview060Warning
10-
pending_deprecation_warning = RemovedInWagtailHeadlessPreview070Warning
9+
removed_in_next_version_warning = RemovedInWagtailHeadlessPreview070Warning
10+
pending_deprecation_warning = RemovedInWagtailHeadlessPreview080Warning

0 commit comments

Comments
 (0)