Skip to content

Commit 11f8976

Browse files
committed
Version 3 beta 1
1 parent edba3c7 commit 11f8976

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

docs/release-notes.md

+31
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,37 @@ hide:
55

66
# Release Notes
77

8+
## 3.0.0-beta1
9+
10+
!!! Warning
11+
This is a major release and it will be under the the version `3` of Esmerald.
12+
You should not be affected but in case you are, please report any issues
13+
so we can correct it.
14+
15+
### Added
16+
17+
- Support for `Lilya` and drop `Starlette`.
18+
19+
### Changed
20+
21+
- `CSRFConfig` `cookie_secure` renamed to `secure`.
22+
- `CSRFConfig` `httponly` renamed to `httponly`.
23+
- `CSRFConfig` `cookie_samesite` renamed to `samesite`.
24+
- `CSRFConfig` `cookie_domain` renamed to `domain`.
25+
- `CSRFConfig` `cookie_secure` renamed to `secure`.
26+
- Removed support for the `BasicMiddleware` as this can be imported from any other ASGI application.
27+
28+
#### Internal
29+
30+
In the past, `Middleware` was being used but with the introduction of Lilya, now is `DefineMiddleware` that
31+
is applied.
32+
33+
```python
34+
from lilya.middleware import DefineMiddleware
35+
```
36+
37+
- The `PlainTextResponse` was renamed to `PlainText`.
38+
839
## 2.7.4
940

1041
### Fixed

esmerald/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.7.4"
1+
__version__ = "3.0.0-beta1"
22

33

44
from lilya import status

0 commit comments

Comments
 (0)