patx/micropie
-
Fix request validation and multipart field binding
c986258· patx · Sep 30 at 12:23AM -
Update CSRF middleware example
4a5e20a· patx · Jul 27 at 2:21AM -
Prepare 0.32 tagged release
0493dcd· patx · Jul 15 at 3:17AM -
Release 0.32 request and session hardening
a127704· patx · Jul 15 at 3:09AM -
Session values no longer bind to HTTP or WebSocket handler parameters. Access them explicitly through self.request.session. Query strings and URL-encoded forms now: Preserve valid blank values. Reject missing =, invalid percent escapes, invalid UTF-8, and non-ASCII raw input. Return HTTP 400 or WebSocket close code 1008 when malformed. JSON object keys still support argument binding but retain native types. JSON is no longer mirrored into body_params, so request.form() only reads actual form data.
10cd933· patx · Jul 15 at 1:39AM -
Bug fixes: Multipart file binding now awaits queue notifications instead of busy-spinning. Added configurable per-chunk body_timeout, session_timeout, and session_cookie_secure options to App. In-memory sessions now honor each timeout passed to save(). HTTP and WebSocket cookies share the configurable Secure policy. Core diagnostics and exceptions now use the micropie logger.
a686ec8· patx · Jul 15 at 1:32AM -
Release 0.31 route lookup hardening
a15f9e2· patx · Jun 23 at 2:08AM -
version dev-.30: remove get_json in favor of json(), improve docs
c2c1101· patx · May 28 at 9:49PM -
Merge branch 'main' of https://github.com/patx/micropie
2f426f0· patx · May 20 at 9:58PM -
add pydantic example
133b6af· patx · May 20 at 9:56PM -
Update version highlights in whats_new.rst
ba7685d· Harrison Erd · May 12 at 7:29AM -
update benchmarks for v0.29
bcb78f5· patx · May 11 at 6:53AM -
v0.29
3dd219a· patx · May 11 at 6:35AM -
v0.29
ba42367· patx · May 11 at 6:34AM -
Increase framework work speed, by caching handler metadata to avoid repeated inspect.signature / coroutine checks. Skipped empty query parsing and session backend loads when no session cookie exists. Optimized request body buffering and JSON parsing. Centralized response header preparation with fast paths for default and JSON headers. Amortized in-memory session cleanup. Added regression coverage in tests.py for session fast paths, cached handler replacement, HTTP binding, and WebSocket binding.
e88504d· patx · May 11 at 4:46AM -
Merge pull request #19 from 0riginaln0/patch-1
770b12b· Harrison Erd · Mar 12 at 6:46PM -
Fix webcam.py outdated API usage
f84d463· 0riginaln0 · Mar 12 at 8:48AM -
Add `Request.json` -- v0.28
d196f9a· patx · Feb 13 at 12:28AM -
Add `Request.json` helper method and update the docs and README to reflect
c7af233· patx · Feb 13 at 12:24AM -
update favicon
17aa397· patx · Feb 13 at 12:08AM -
bump to 0.27 and document Request.query/Request.form helpers
457848d· patx · Feb 12 at 6:46AM -
update readthedocs.io docs for latest release 0.26. update readme with table of contents.
14bbaa4· patx · Feb 12 at 6:17AM -
fix syntax highlighting on index.html
5338fb2· patx · Feb 7 at 5:42AM -
`docs/index.html`: improve mobile layout and add auto dark mode
ae30937· patx · Feb 7 at 5:39AM -
update website to match new logo
a2959f4· patx · Feb 6 at 7:18PM -
update logo
5fa7fd8· patx · Feb 6 at 6:48PM -
ruff format all code
c9bb7c4· patx · Jan 12 at 1:02AM -
improved the api functionality in url_shortener example to show micropie able to handle real world apis. added nice http error code templates.
4bfc43d· patx · Jan 5 at 2:40AM -
update url shortener example. add click tracking. add api sub app.
c517868· patx · Jan 4 at 10:13AM -
Sub-app routing no longer depends on middleware ordering
431d5fb· patx · Jan 4 at 8:43AM -
Add URL shortener app to README
eadd390· Harrison Erd · Jan 3 at 10:52PM -
update changelog and pyproject.toml for release 0.25
10874b1· patx · Jan 3 at 1:39AM -
Fix unicode redirect handling
1fbb5b3· patx · Jan 3 at 1:30AM -
Fix link in README for ServeStatic documentation
0184d2c· Harrison Erd · Jan 1 at 7:05AM -
add simple blog example
fec9688· patx · 12/29/2025 at 6:08AM -
added heroku ready webrtc example
d943cd3· patx · 12/29/2025 at 5:47AM -
add heroku ready webrtc example using socket.io
5a0737b· patx · 12/29/2025 at 5:43AM -
clean up a few typos in url shortner, make rate limit middleware require db name
83ea2b1· patx · 12/29/2025 at 12:26AM -
added mongoKV powered SessionBackend to url_shortner example to demo a more prod ready system
fda0eed· patx · 12/28/2025 at 11:45PM -
add csrf middleware to url shortner example
c29cf6b· patx · 12/28/2025 at 11:07PM -
improved url_shortener example, added middleware to demo how to use mongo and micropie for rate limitting
271cb4a· patx · 12/28/2025 at 5:56AM -
cleaned up pastebin/mongokv example
39f1c02· patx · 12/21/2025 at 10:10PM -
url shortener example ultra simple
8efe145· patx · 12/17/2025 at 2:31AM -
update pastebin example to mkvDB
5d85f3a· patx · 12/11/2025 at 8:50AM -
Add Powered by MicroPie badge section to README
b0b6e08· patx · 12/09/2025 at 9:07AM -
fix(rate-limit): remove conflicting $push/$pull ops, switch to scalar violation tracking
ac4b6d3· patx · 12/09/2025 at 3:29AM -
Improve rate limitting example to mirror a more production ready usage, including using MongoDB to store ip, as well as perma-bans
f800cc3· patx · 12/09/2025 at 2:07AM -
fix two formatting errors in micropie.py (max-line-chars: 120)
94b5150· patx · 12/05/2025 at 6:55AM -
Improve the MongoDB session backend example.
6f5f840· patx · 12/04/2025 at 3:30PM -
update changelog and pyproject for 0.24 release
0a1e036· patx · 12/04/2025 at 1:47AM
Loading more...