patx/micropie
Add `Request.json` -- v0.28
Commit d196f9a · patx · 2026-02-12T19:28:37-05:00
Comments
No comments yet.
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 @@
[](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"