Add `Request.json` -- v0.28

Commit d196f9a · patx · 2026-02-12T19:28:37-05:00

Changeset
d196f9ae79c49062b02de496b1304b490c632f52
Parents
c7af2332994d067e635db7ae1703cb6f7ea48d04

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/docs/apidocs/conf.py b/docs/apidocs/conf.py
index 481efd3..0f3965d 100644
--- a/docs/apidocs/conf.py
+++ b/docs/apidocs/conf.py
@@ -2,7 +2,7 @@
 
 project = "MicroPie"
 author = "Harrison Erd"
-release = "0.27"
+release = "0.28"
 
 extensions = [
     "sphinx.ext.autodoc",
diff --git a/docs/apidocs/whats_new.rst b/docs/apidocs/whats_new.rst
index 6ae148b..6d4e4f6 100644
--- a/docs/apidocs/whats_new.rst
+++ b/docs/apidocs/whats_new.rst
@@ -11,6 +11,9 @@ releases, consult the `GitHub releases page <https://github.com/patx/micropie/re
 Version highlights
 ------------------
 
+* **0.28** – Adds ``Request.json`` helper for convenient JSON access and
+  updates routing docs to show both automatic argument binding and
+  helper-based request access patterns.
 * **0.27** – Adds ``Request.query`` and ``Request.form`` helpers for more
   direct access to query-string and form data.
 * **0.26** – Makes sub-application handoff independent of middleware
diff --git a/docs/release_notes.md b/docs/release_notes.md
index f171322..060e009 100644
--- a/docs/release_notes.md
+++ b/docs/release_notes.md
@@ -1,6 +1,7 @@
 [![Logo](https://patx.github.io/micropie/logo.png)](https://patx.github.io/micropie)
 
 ## Releases Notes
+- **[0.28](https://github.com/patx/micropie/releases/tag/v0.28)** - Add `Request.json` helper
 - **[0.27](https://github.com/patx/micropie/releases/tag/v0.27)** - Add `Request.query` and `Request.form` helpers
 - **[0.26](https://github.com/patx/micropie/releases/tag/v0.26)** - Sub-app routing no longer depends on middleware ordering
 - **[0.25](https://github.com/patx/micropie/releases/tag/v0.25)** - Fix unicode redirect handling. Percent-encode non-ASCII path segments before setting Location header. Prevents latin-1 header encoding errors and avoids double-encoding queries.
diff --git a/pyproject.toml b/pyproject.toml
index fc019bd..4cb4b5d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
 
 [project]
 name = "micropie"
-version = "0.27"
+version = "0.28"
 description = "An ultra micro ASGI web framework"
 keywords = ["micropie", "asgi", "microframework", "http"]
 readme = "docs/README.md"