Repository navigation
release: v4.0.0 (breaking) - #288
Merged
Merged
Conversation
Move the version from 3.0.2 to 4.0.0. This cut ships the owner token change. Co-authored-by: Jared Wray <me@jaredwray.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #288 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 44 44
Lines 2012 2012
Branches 434 434
=========================================
Hits 2012 2012 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Release. This pull request sets the package version to 4.0.0.
Release summary
Bin management requires an owner token. A reserved header name returns HTTP 400.
@jaredwray/mockhttp@4.0.0 — 2026-11-19
Bin management requires an owner token. A reserved header name returns HTTP 400.
⚠ BREAKING CHANGES
Bin management routes require an owner token.
MockHttpBinsthrows whenidLengthis not a positive integer (fix(security): bin owner tokens and reject framing headers in /response-headers #275)Migration: Read
tokenfromPOST /bins. SendAuthorization: Bearer <token>on each later/binscall. The capture path/b/:idstays open. In-process methods such asgetBindo not require the token.Bug Fixes
Reject reserved header names on /response-headers (Reject reserved header names on /response-headers #277)
Documentation
Internal
Contributors
Full List of Changes
Full diff: v3.0.2...v4.0.0
Verification
pnpm install --frozen-lockfilesucceedspnpm buildsucceedspnpm test:cipasses locallyPost-merge
v4.0.0. Therelease.yamlworkflow publishes to npm.