Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages for release #1704

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Packages for release #1704

merged 3 commits into from
Dec 4, 2024

Conversation

shopify-github-actions-access[bot]
Copy link
Contributor

@shopify-github-actions-access shopify-github-actions-access bot commented Oct 29, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@shopify/[email protected]

Minor Changes

  • 69b6d14: Adds isReady method to PrismaSessionStorage. isReady will poll based on the configuration or until the table is found to exist. If the table is not found within the timeout, it will return false.

    isReady will update the internal state of the PrismaSessionStorage instance to reflect whether the session table exists and can be used. In case of an unexpected disconnect, use isReady to check if the table has recovered.

    Example usage on a Remix app:

    import {sessionStorage} from '../shopify.server';
    // ...
    if (await sessionStorage.isReady()) {
      // ...
    }

    An equivalent method will soon be available on the SessionStorage interface and all other session storage implementations.

@shopify/[email protected]

Minor Changes

  • 7147103: Add Scopes API documentation for Remix

  • 4bba5d4: Added removeRest future flag.

    When removeRest is true, the REST API will no longer be available. Please use the GraphQL API instead. See Shopify is all-in on graphql for more information.

    If your app doesn't use the REST API, you can safely set removeRest to true and be ready for a future major release. If your app does use the REST API, you should migrate to the GraphQL API and then set removeRest to true.

  • 301882d: Update logging to include Shop information

  • dc75db6: Remove wip_optionalScopesApi future flag and enable the Remix Scopes API by default.

    Example of checking for a granted scope on a shop with scopes.query():

    export const loader = async ({ request }: LoaderFunctionArgs) => {
      const { scopes } = await authenticate.admin(request);
    
      const scopesDetail =  await scopes.query();
    
      return json({
        hasWriteProducts: scopesDetail.granted.includes('write_products'),
      });
    };
    
    export default function Index() {
      const {hasWriteProducts} = useLoaderData<typeof loader>();
    
      ...
    }

    See the Remix Scopes API documentation for more details on this API, and the Manage Access Scopes page on shopify.dev for more context how the Scopes APIs can be used to manage access scopes from one shop to another.

Patch Changes

@shopify/[email protected]

Patch Changes

  • cd39dff: Updated @parcel/watcher dependencies

@shopify/[email protected]

Patch Changes

  • 6910d3d: Updated tslib dependencies
  • 71b6144: Updated mysql2 dependencies

@shopify/[email protected]

Patch Changes

  • dd2c3f2: Updated @aws-sdk/client-dynamodb dependencies
  • ef41685: Updated @aws-sdk/util-dynamodb dependencies

@shopify/[email protected]

Patch Changes

  • 71b6144: Updated mysql2 dependencies

@shopify/[email protected]

Patch Changes

  • 6910d3d: Updated tslib dependencies

@shopify/[email protected]

Patch Changes

@shopify/[email protected]

@shopify/[email protected]

@shopify/[email protected]

@shopify/[email protected]

@shopify/[email protected]

@shopify/[email protected]

@shopify/[email protected]

@shopify/[email protected]

@shopify-github-actions-access shopify-github-actions-access bot requested a review from a team as a code owner October 29, 2024 15:41
@github-actions github-actions bot force-pushed the changeset-release/main branch 6 times, most recently from 92d2fae to 5dac20d Compare November 5, 2024 16:49
@github-actions github-actions bot force-pushed the changeset-release/main branch 18 times, most recently from d44b5ae to 12d865c Compare November 11, 2024 21:53
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from 8554f3f to 954576f Compare November 19, 2024 16:29
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 69daa41 to ccf606e Compare November 28, 2024 10:20
@github-actions github-actions bot force-pushed the changeset-release/main branch 17 times, most recently from 947cc01 to 9b118da Compare December 4, 2024 14:26
@lizkenyon lizkenyon force-pushed the changeset-release/main branch 4 times, most recently from a42e705 to 9b118da Compare December 4, 2024 16:35
@lizkenyon lizkenyon merged commit 64d1c89 into main Dec 4, 2024
6 checks passed
@lizkenyon lizkenyon deleted the changeset-release/main branch December 4, 2024 17:47
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.

1 participant