Add changelog.json entries for 2026.4.4 and 2026.4.5 - #4003
Open
AryanKansagara wants to merge 1 commit into
Open
Add changelog.json entries for 2026.4.4 and 2026.4.5#4003AryanKansagara wants to merge 1 commit into
AryanKansagara wants to merge 1 commit into
Conversation
Both versions are published to npm but were missing from docs/changelog.json, which `hydrogen upgrade` uses as its only source of available releases. Merchants on 2026.4.3 were told they were up to date while two patch releases were available. Entries are derived from the release commits b4df055 (Shopify#3791) and 2a2738b (Shopify#3912) and the changesets they shipped.
Contributor
Author
|
TL;DR
This adds the two entries. +67/-0, no changes to existing ones. Simulating the CLI's upgrade filter before and after: Two calls worth a second opinion:
|
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.
WHY are these changes introduced?
Fixes #4002
@shopify/hydrogen2026.4.4 and 2026.4.5 are published to npm but absent fromdocs/changelog.json. SincegetAvailableUpgradesbuilds its list purely by filteringreleasesfrom that file,h2 upgradecurrently reports "up to date" to merchants on 2026.4.3 — including those missing the two customer-account authentication fixes in 2026.4.5.WHAT is this pull request doing?
Adds the two missing release entries. The diff is purely additive — 67 insertions, 0 deletions, no reformatting of existing entries.
Content is derived from the release commits and the changesets shipped, not written from scratch:
2a2738bab4df05522026.4.5 — fixes #3856 (OAuth state mismatch recovery) and #3916 (token refresh resilience) from
packages/hydrogen/CHANGELOG.md; features #3852 (~alias) and #3887 (AI Toolkit) from the skeleton, which moved 2026.4.4 → 2026.4.6 across this release window.2026.4.4 — fix #3790 (PerfKit sampling rate 100 → 10).
Two things worth flagging for the reviewer:
[ci] release 2026.4.5but did not bump@shopify/hydrogen— it stayed at 2026.4.4 in that commit, and the real bump landed in [ci] release 2026.4.5 #3912. I attributed 2026.4.5 to [ci] release 2026.4.5 #3912 on the basis of the actualpackages/hydrogen/package.jsonversion at each commit rather than the PR titles.featureson 2026.4.5. Precedent supports this (2026.4.3 lists fix(skeleton): include line item children recursively #3753, also a new-projects-only skeleton change), but they affect scaffolding rather than an upgrading merchant's runtime — easy to drop if you'd rather keep the entry to runtime changes only.dependencieslists only@shopify/hydrogenfor both, since no skeleton dependency changed in either release (react-routerstayed 7.16.0,@shopify/clistayed 3.93.2). This matches the 2026.4.1 entry, and the CLI composes acumulativeReleaseacross intermediate versions, so unchanged deps do not need restating.HOW to test your changes?
Confirm the gap and the fix, by simulating the CLI's own upgrade filter against the file before and after:
Schema validation — the existing suite covers this file:
Cross-check the entries against the source of truth:
Note
If you run the schema test on a checkout whose path contains a space, the
is valid JSON and matches getChangelog() outputcase fails —isHydrogenMonorepois false there, sogetChangelog()fetches the remote changelog and compares it against your local edit. That is #3988 (fix in #3989), not a problem with this change; I verified all 9 tests pass with that fix applied.Post-merge steps
The updated file is served via https://hydrogen.shopify.dev/changelog.json, which proxies the raw content of
docs/changelog.jsononmain. No further action beyond merging.Checklist
packages/*/srcorpackage.jsonchanges, and this documents releases that already shippedchangelog-schema.test.tscovers this file; verified passing