fix(deps): update dependency @shopify/shopify-app-remix to v4 #64
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.
This PR contains the following updates:
^3.4.0->^4.0.0Release Notes
Shopify/shopify-app-js (@shopify/shopify-app-remix)
v4.0.6Compare Source
Patch Changes
98f1be9]v4.0.5Compare Source
Patch Changes
b3716f8]v4.0.4Compare Source
Patch Changes
a6c4fed]v4.0.3Compare Source
Patch Changes
e9e5736: Test Releasev4.0.2Compare Source
Patch Changes
aad39bd: Make it clear that you should use@shopify/shopify-app-react-routerOnly use
@shopify/shopify-app-remixif you have an existing Remix app and have not yet upgraded.If you are building a new Shopify app you should use React Router and not Remix. Please see the Quick start guide for React Router.
If you already have a Remix app, you should upgrade to React Router. Please see the Upgrading to React Router guide.
v4.0.1Compare Source
Patch Changes
7488abc: [AppProvider] - automatically handle the "shopify:navigate" event for Remix apps using Polaris Web Components. If using Polars React, this has no effect.v4.0.0Compare Source
Major Changes
dc41d09: Require Node >= v20.10.0. Remove crypto dependency in favor of globalThis.cryptoIf you are using Node, make sure you are using Node version 20 or above
If you are using
setCryptofrom'@​shopify/shopify-api'you can remove this code.d7bd799: Remove REST entirely.9 months ago in version 3.5.0 we signalled our intent to remove REST (Shopify is all-in on GraphQL). At that time we added the
removeRestflag to allow the small percentage of Remix apps that use REST to gradually migrate to GraphQL in preparation for this version.The time has now come to remove REST entirely from the Remix package. As such, you will need to migrate any remaining REST queries to GraphQL.
If you previously adopted the
removeRestflag, you'll need to remove that flag.BEFORE:
AFTER:
If you have any REST queries in your app, you'll need to migrate those to GraphQL.
BEFORE:
AFTER:
Please see the REST to GraphQL Migration guide for more detailed REST to GraphQL examples.
762224d: TheLATEST_API_VERSIONandRELEASE_CANDIDATE_API_VERSIONconstants have been removed from the package. TheapiVersionparameter is now required in theshopifyAppconfiguration.We are making this change to ensure the API versions do not change without the developer explicitly opting into the new version. This removes the potential for apps to break unexpectedly and should reduce overall maintenance.
Migration Steps
Step 1: Update Your Imports
Before:
After:
Step 2: Update Your Configuration
Before:
After:
Patch Changes
79b2fbe: Swap semver package for compare-versions package. Compare versions is a lighter weight and suits the packages needs just finedc41d09]c3005a6]dc41d09]a5be0d0]6606d39]48d3631]7d8aa81]089f4fd]dc41d09]Configuration
📅 Schedule: Branch creation - "on monday before 8am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.