Skip to content

Conversation

@fredericoo
Copy link
Contributor

@fredericoo fredericoo commented Jan 8, 2026

WHY are these changes introduced?

This PR updates SFAPI and CAAPI to 2025-10, ahead of the next bump (2026-01)

WHAT is this pull request doing?

Updates constants and hardcoded versions everywhere, regenerates types for the client

HOW to test your changes?

  • run npm run build --filter=skeleton at the root of the monorepo to build all packages that the skeleton needs
  • cd templates/skeleton && npm run dev to spin up the skeleton app
  • 🎩

Post-merge steps

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

Copy link
Contributor Author

fredericoo commented Jan 8, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fredericoo fredericoo changed the title chore: bump SFAPI and CAAPI update SFAPI and CAAPI to 2025-10 Jan 8, 2026
@fredericoo fredericoo marked this pull request as ready for review January 8, 2026 15:54
@fredericoo fredericoo requested a review from a team as a code owner January 8, 2026 15:54
@shopify
Copy link
Contributor

shopify bot commented Jan 8, 2026

Oxygen deployed a preview of your 2025-10-sfapi-caapi-update branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment January 23, 202611:55 AM

Learn more about Hydrogen's GitHub integration.

Comment on lines +2 to +5
'@shopify/hydrogen': major
'@shopify/hydrogen-react': major
'@shopify/cli-hydrogen': patch
'skeleton': major
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these actually be majors?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kdaviduik do you know if we need to bump the numbers of the calver manually for majors? Or is it done automatically by changeset?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the workflows are working properly, I thiiiink this should happen automatically. But the workflow that's supposed to do that hasn't been battle-tested and may have bugs

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well in any case, merging this will update a Changesets PR where we'll be able to see the new versions before being released. We can fix them if needed.

Copy link
Contributor

@kdaviduik kdaviduik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What errors are you seeing when trying to create a new app?

--

There are also a bunch of other changes needed within Hydrogen as part of this bump, like these sub-issues inside of this issue, but those should be done in separate (stacked!) PRs:

Image

Copy link
Contributor Author

it’s not related to this, it’s because a newly created hydrogen app does not import from the monorepo’s hydrogen/hydrogen-react packages so it can’t create the route handler from the oxygen import etc

I will try moving the test app created to inside the monorepo and then change the imports manually – but besides that, it’s all good!

@graygilmore
Copy link
Contributor

/snapit

Copy link
Contributor

@graygilmore graygilmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't able to 🎩 due to hitting stuff like:

npm i
npm error code ETARGET
npm error notarget No matching version found for @shopify/hydrogen@2025.10.0.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.

Maybe there are some tophatting tips?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(commenting here for 🧵)

Seems like it's just a simply find/replace and that there are no breaking changes in either of these APIs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking changes coming in the stack!

Copy link
Contributor Author

it seems you just didn’t build the monorepo first! my bad for not including that in the tophatting instructions. will adjust

on another note, this PR is the base for many others that will come from here so bear with us for a sec before reviewing!

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.

4 participants