chore: release v0.9.1 - #31
Merged
Merged
Conversation
- Add parse_query and HttpRequest::query() to expose URL-decoded query
parameters, matching the ergonomics of event.params.get for path params
(example: GET /search?q=moon&page=2 -> { "q": "moon", "page": "2" }).
- Simplify get_cookie to a single case-insensitive "Cookie" lookup now
that headers are case-insensitive.
- Drop the stale `noraise` annotation in the routes example and obsolete
header-type comment in static.mbt.
- Ignore the local .claude/ worktree cache.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump version to 0.9.1 and regenerate package metadata (mbti) for the new parse_query / HttpRequest::query symbols. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.9.1
Adds query parsing and cleans up leftover API remnants from the unified
request contract.
Changes
HttpRequest::query()— returns URL-decoded query parameters asMap[String, String], so handlers can writeevent.req.query().get("q")the same way they useevent.params.get("id")for path params. Adds the sharedparse_queryhelper (reusesparse_kv; handles&/=splits, URL decoding, and+→ space).HttpRequest::get_cookienow uses a single case-insensitiveCookieheader lookup (the previous dualCookie/cookiecheck was a leftover from the case-sensitive headers era).noraiseannotation inexamples/routeand an obsolete header-type comment instatic.mbt; add.claude/to.gitignore.pkg.generated.mbtifor the new public symbols.Verification
moon check --deny-warn✅moon info --target native(mbti regenerated, diff committed) ✅moon fmtclean ✅moon test --target js,native→ js 105/105, native 100/100 ✅🤖 Generated with Claude Code