Skip to content

Commit 7b03066

Browse files
authored
Version 0.8.0 release (#979)
1 parent e056e32 commit 7b03066

3 files changed

Lines changed: 19 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Later on we will make the API more stable and decrease the amount
1818
of requirements for an API to count as public.
1919

2020

21-
## WIP
21+
## Version 0.8.0 (2026-04-26)
2222

23-
### Features
23+
### Breaking changes
2424

2525
- *Breaking*: Renamed `APIRedirectError` to `RedirectTo`, #922
2626
- *Breaking*: Split `BaseThrottleBackend` into `BaseThrottleAsyncBackend`
@@ -33,6 +33,21 @@ of requirements for an API to count as public.
3333
- *Breaking*: Removed `BaseThrottleAlgorithm.record` method,
3434
now `BaseThrottleAlgorithm.access` must also record accesses.
3535
This will help to make throttling more atomic, #942
36+
37+
### Migrations prompt
38+
39+
User-facing changes:
40+
41+
```md
42+
Apply this change to the code that uses `django-modern-rest`:
43+
1. Replace `dmr.response.APIRedirectError` with `dmr.response.RedirectTo`
44+
2. Replace `dmr.throttling.backend.DjangoCache`
45+
with `dmr.throttling.backend.SyncDjangoCache` for sync throttles
46+
and with `dmr.throttling.backend.AsyncDjangoCache` for async throttles
47+
```
48+
49+
### Features
50+
3651
- Added `SyncRedis` and `AsyncRedis` throttling backends, #977
3752
- Added `RefreshTokenSyncController` and `RefreshTokenAsyncController`
3853
to issue new access/refresh token pairs from a valid refresh token, #907

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "hatchling.build"
77
name = "django-modern-rest"
88
description = "Modern REST framework for Django with types and async support"
99
license = "MIT"
10-
version = "0.7.0"
10+
version = "0.8.0"
1111

1212
authors = [
1313
{name = "Nikita Sobolev", email = "[email protected]"},

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)