Release 2.5.1

This commit is contained in:
Miguel Grinberg
2025-12-21 10:50:34 +00:00
parent ba6893ca0f
commit 10e740da2b
3 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# Microdot change log # Microdot change log
**Release 2.5.1** - 2025-12-21
- CSRF: accept cross-site request if origin is in the CORS allowed origin list ([commit](https://github.com/miguelgrinberg/microdot/commit/ba6893ca0fb3c3dd18cf934f8eee893cc2a10daa))
**Release 2.5.0** - 2025-12-21 **Release 2.5.0** - 2025-12-21
- CSRF protection [#335](https://github.com/miguelgrinberg/microdot/issues/335) ([commit](https://github.com/miguelgrinberg/microdot/commit/0bae4c9477e9fdb231d1979cc6ed26c31e12b1aa)) - CSRF protection [#335](https://github.com/miguelgrinberg/microdot/issues/335) ([commit](https://github.com/miguelgrinberg/microdot/commit/0bae4c9477e9fdb231d1979cc6ed26c31e12b1aa))

View File

@@ -1,6 +1,6 @@
[project] [project]
name = "microdot" name = "microdot"
version = "2.5.1.dev0" version = "2.5.1"
authors = [ authors = [
{ name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com" }, { name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com" },
] ]

View File

@@ -1,4 +1,4 @@
from microdot.microdot import Microdot, Request, Response, abort, redirect, \ from microdot.microdot import Microdot, Request, Response, abort, redirect, \
send_file, URLPattern, AsyncBytesIO, iscoroutine # noqa: F401 send_file, URLPattern, AsyncBytesIO, iscoroutine # noqa: F401
__version__ = '2.5.1.dev0' __version__ = '2.5.1'