Skip to content

chore: release v0.9.1 - #31

Merged
oboard merged 2 commits into
mainfrom
worktree-release-0.9.1
Aug 22, 2026
Merged

chore: release v0.9.1#31
oboard merged 2 commits into
mainfrom
worktree-release-0.9.1

Conversation

@oboard

@oboard oboard commented Aug 22, 2026

Copy link
Copy Markdown
Owner

0.9.1

Adds query parsing and cleans up leftover API remnants from the unified
request contract.

Changes

  • feat: HttpRequest::query() — returns URL-decoded query parameters as Map[String, String], so handlers can write event.req.query().get("q") the same way they use event.params.get("id") for path params. Adds the shared parse_query helper (reuses parse_kv; handles &/= splits, URL decoding, and + → space).
  • fix: HttpRequest::get_cookie now uses a single case-insensitive Cookie header lookup (the previous dual Cookie/cookie check was a leftover from the case-sensitive headers era).
  • chore: remove the stale noraise annotation in examples/route and an obsolete header-type comment in static.mbt; add .claude/ to .gitignore.
  • chore: regenerate pkg.generated.mbti for the new public symbols.

Verification

  • moon check --deny-warn
  • moon info --target native (mbti regenerated, diff committed) ✅
  • moon fmt clean ✅
  • moon test --target js,native → js 105/105, native 100/100 ✅

🤖 Generated with Claude Code

oboard and others added 2 commits August 22, 2026 16:05
- 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>
@oboard
oboard merged commit af354b7 into main Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant