From 10e740da2b4adb2a19c2cf251dae2e2d7de447ba Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Sun, 21 Dec 2025 10:50:34 +0000 Subject: [PATCH] Release 2.5.1 --- CHANGES.md | 4 ++++ pyproject.toml | 2 +- src/microdot/__init__.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6e33b3a..46edbe0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # 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 - CSRF protection [#335](https://github.com/miguelgrinberg/microdot/issues/335) ([commit](https://github.com/miguelgrinberg/microdot/commit/0bae4c9477e9fdb231d1979cc6ed26c31e12b1aa)) diff --git a/pyproject.toml b/pyproject.toml index 6d8cc5b..a4c34d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "microdot" -version = "2.5.1.dev0" +version = "2.5.1" authors = [ { name = "Miguel Grinberg", email = "miguel.grinberg@gmail.com" }, ] diff --git a/src/microdot/__init__.py b/src/microdot/__init__.py index 386768d..04fca2b 100644 --- a/src/microdot/__init__.py +++ b/src/microdot/__init__.py @@ -1,4 +1,4 @@ from microdot.microdot import Microdot, Request, Response, abort, redirect, \ send_file, URLPattern, AsyncBytesIO, iscoroutine # noqa: F401 -__version__ = '2.5.1.dev0' +__version__ = '2.5.1'