You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add Fields.AddRequestComponent for ;req bindings
Convenience wrapper for required associated-request components, with
tests and a v0.6.1 release-notes mention.
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: internal-docs/RELEASE-v0.6.1.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Copy the **Summary** section below into the GitHub release when tagging `v0.6.1`
14
14
-**Escape hatch:**`NewJWSVerifierWithAlg(allowed, alg, key, …)` when alg cannot be inferred (raw RSA/HMAC) or the store already chose alg. Today’s `NewJWSVerifier(alg, key, …)` migrates here.
15
15
-**`JWSAlgAllowlist`:** both verify constructors take an allowlist (`nil` skips policy for tests/lazy use). Prefer a non-nil allowlist when `keyid` can select among keys.
16
16
-**`NewJWSSigner`:** nil config defaults to `SignAlg(false)`; configs with `SignAlg(true)` are rejected.
17
+
-**`Fields.AddRequestComponent`:** convenience for required associated-request components (`;req`), equivalent to `AddHeaderExt(name, false, false, true, false)`.
17
18
-**jwx** bump to **≥ v4.5.0** (if not already on the release branch).
18
19
19
20
### Upgrade from v0.6.0
@@ -24,6 +25,7 @@ Copy the **Summary** section below into the GitHub release when tagging `v0.6.1`
24
25
|**`NewJWSVerifier(alg, key, …)`**| Prefer `NewJWSVerifier(allowed, key, …)` when the key is inferrable; else `NewJWSVerifierWithAlg(allowed, alg, key, …)`. |
25
26
|**`NewJWSSigner`**| Omit config or keep `SignAlg(false)`; `SignAlg(true)` now errors. |
0 commit comments