Skip to content

Bump @shopify/shopify-app-react-router from 3.0.2 to 4.0.0 - #312

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/shopify/shopify-app-react-router-4.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/shopify/shopify-app-react-router-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps @shopify/shopify-app-react-router from 3.0.2 to 4.0.0.

Release notes

Sourced from @​shopify/shopify-app-react-router's releases.

@​shopify/shopify-app-react-router@​4.0.0

Major Changes

  • d00bf15: Load Polaris web components 2.x by default. AppProvider now renders <script src="https://cdn.shopify.com/shopifycloud/polaris-2.js"> and shopifyApp preloads the same URL in the document Link header, instead of https://cdn.shopify.com/shopifycloud/polaris.js (which stays on Polaris 1.x).

    Polaris 2.0 renders the new Admin Next theme by default, so your app's UI will look different after updating. polaris-2.js follows the latest stable 2.x release; use polaris-2.0.js to pin to 2.0.

    To stay on Polaris 1.x, set polarisUrl in both places so the script tag and the preload header match:

      <AppProvider
        apiKey={apiKey}
    +   polarisUrl="https://cdn.shopify.com/shopifycloud/polaris-1.js"
      >
        <Outlet />
      </AppProvider>
      const shopify = shopifyApp({
        // ...
    +   polarisUrl: "https://cdn.shopify.com/shopifycloud/polaris-1.js",
      });

Patch Changes

  • 7d9cb02: Document that authenticate.admin does not authenticate requests for merchant custom apps (AppDistribution.ShopifyAdmin).

    Merchant custom apps can't be embedded in the Shopify admin, so their requests don't carry a session token. For these apps, authenticate.admin returns an Admin API context that uses the configured adminApiAccessToken for any request it receives. Your app must authenticate its own users before it calls authenticate.admin, for example with your identity provider, a private network, or HTTP authentication. This change updates documentation only; runtime behavior is unchanged.

Changelog

Sourced from @​shopify/shopify-app-react-router's changelog.

4.0.0

Major Changes

  • d00bf15: Load Polaris web components 2.x by default. AppProvider now renders <script src="https://cdn.shopify.com/shopifycloud/polaris-2.js"> and shopifyApp preloads the same URL in the document Link header, instead of https://cdn.shopify.com/shopifycloud/polaris.js (which stays on Polaris 1.x).

    Polaris 2.0 renders the new Admin Next theme by default, so your app's UI will look different after updating. polaris-2.js follows the latest stable 2.x release; use polaris-2.0.js to pin to 2.0.

    To stay on Polaris 1.x, set polarisUrl in both places so the script tag and the preload header match:

      <AppProvider
        apiKey={apiKey}
    +   polarisUrl="https://cdn.shopify.com/shopifycloud/polaris-1.js"
      >
        <Outlet />
      </AppProvider>
      const shopify = shopifyApp({
        // ...
    +   polarisUrl: "https://cdn.shopify.com/shopifycloud/polaris-1.js",
      });

Patch Changes

  • 7d9cb02: Document that authenticate.admin does not authenticate requests for merchant custom apps (AppDistribution.ShopifyAdmin).

    Merchant custom apps can't be embedded in the Shopify admin, so their requests don't carry a session token. For these apps, authenticate.admin returns an Admin API context that uses the configured adminApiAccessToken for any request it receives. Your app must authenticate its own users before it calls authenticate.admin, for example with your identity provider, a private network, or HTTP authentication. This change updates documentation only; runtime behavior is unchanged.

Commits
  • bba35ab Packages for release (#3494)
  • d00bf15 Load Polaris web components 2.x by default in shopify-app-react-router (#3492)
  • 7d9cb02 Document authentication requirements for merchant custom apps
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@shopify/shopify-app-react-router](https://github.com/Shopify/shopify-app-js/tree/HEAD/packages/apps/shopify-app-react-router) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/Shopify/shopify-app-js/releases)
- [Changelog](https://github.com/Shopify/shopify-app-js/blob/main/packages/apps/shopify-app-react-router/CHANGELOG.md)
- [Commits](https://github.com/Shopify/shopify-app-js/commits/@shopify/shopify-app-react-router@4.0.0/packages/apps/shopify-app-react-router)

---
updated-dependencies:
- dependency-name: "@shopify/shopify-app-react-router"
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #316.

@dependabot dependabot Bot closed this Nov 23, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/shopify/shopify-app-react-router-4.0.0 branch November 23, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants