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
fix: lenient pre-release matching in accept header validation (#1755)
* fix: lenient pre-release matching in accept header validation
Match on the pre-release label (e.g. "alpha") but ignore the numeric
suffix, so a server at 0.14.0-alpha.3 accepts clients at alpha.1,
alpha.2, etc. This allows client and node to evolve independently
within the same pre-release phase.
- Stable and pre-release remain incompatible
- Different labels (alpha vs beta) remain incompatible
- Patch versions remain flexible (0.14.0 and 0.14.1 both accepted)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: add changelog entry for lenient pre-release matching
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: reject different patch versions for pre-release
Pre-release versions now require exact patch match in addition to
matching the pre-release label. Patch flexibility only applies to
stable versions. For example, a 0.14.0-alpha.3 server rejects
0.14.1-alpha.1 but a stable 0.14.0 server still accepts 0.14.1.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* lint
---------
Co-authored-by: Claude (Opus) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@
32
32
- Fixed `bundled start` panicking due to duplicate `data_directory` clap argument name between `BundledCommand::Start` and `NtxBuilderConfig` ([#1732](https://github.com/0xMiden/node/pull/1732)).
33
33
- Fixed `bundled bootstrap` requiring `--validator.key.hex` or `--validator.key.kms-id` despite a default key being configured ([#1732](https://github.com/0xMiden/node/pull/1732)).
34
34
- Fixed incorrectly classifying private notes with the network attachment as network notes ([#1378](https://github.com/0xMiden/node/pull/1738)).
35
+
- Fixed accept header version negotiation rejecting all pre-release versions; pre-release label matching is now lenient, accepting any numeric suffix within the same label (e.g. `alpha.3` accepts `alpha.1`) ([#1755](https://github.com/0xMiden/node/pull/1755)).
0 commit comments