Skip to content

Latest commit

 

History

History
163 lines (98 loc) · 3.81 KB

CHANGELOG.md

File metadata and controls

163 lines (98 loc) · 3.81 KB

@nestjs-shopify/auth

6.0.0

Major Changes

  • 958a0ce: support for token exchange auth

Patch Changes

5.0.1

Patch Changes

  • 46810b8: chore(deps): update dependency @shopify/shopify-api to v10

5.0.0

Major Changes

  • 71d76a0: Rewrite core to allow Express and Fastify specific modules. See upgrade guide

Patch Changes

4.2.0

Minor Changes

  • 2b99147: update dependencies @shopify/shopify-api to 9.0.1 and @shopify/shopify-app-session-storage to 2.0.3, also allow those versions in peerDependencies

4.1.0

Minor Changes

  • e83d181: update dependencies @shopify/shopify-api to 8.0.1 and @shopify/shopify-app-session-storage to 2.0.0, also allow those versions in peerDependencies

4.0.1

Patch Changes

  • 1857bfc: Disallow @nestjs versions lower than 9.0.0. Older versions will not work.

4.0.0

Major Changes

Patch Changes

3.2.1

Patch Changes

  • ee2b939: Refactored online and offline auth controller path override
  • 699ec5e: Remove override readonly keyword usage in online and offline auth controllers

3.2.0

Minor Changes

  • 2c9293f: Respect shopifyApi.hostScheme and shopifyApi.hostname in OAuth redirect, see #166

3.1.0

Minor Changes

  • c9a89c6: Add and use @InjectShopify() and @InjectShopifySessionStorage() decorators.

3.0.0

Major Changes

  • bd636c5: Removed ShopifyAuthGuard.register(). Before you had to import the ShopifyAuthGuard as followingbe to be able to use @UseShopifyAuth():

    @Module({
      imports: [ShopifyAuthGuard.register()],
      controllers: [MyControllerUsingShopifyAuth],
    })
    class MyModule {}

    This call is now not required anymore. All you have to do is ensure is that ShopifyAuthGuard.forRootOnline or ShopifyAuthGuard.forRootOffline is imported your root module (usually called AppModule).

    That means that you should remove any references to to ShopifyAuthGuard.register():

    @Module({
    - imports: [ShopifyAuthGuard.register()],
      controllers: [MyControllerUsingShopifyAuth],
    })
    class MyModule {}

2.0.3

Patch Changes

  • 71ec7c8: Fix offline auth always being invalid due to not having an expires in session (issue #110)

2.0.2

  • Fix deployment issue in npmjs.com

2.0.1

Patch Changes

  • 34f4133: Add missing jsonwebtoken dependency

2.0.0

Patch Changes

1.0.0

Major Changes

  • e6a3891: GraphQL proxy moved to own package.

    Install @nestjs-shopify/graphql and use it as following:

    import { ShopifyCoreModule } from "@nestjs-shopify/core";
    import { ShopifyAuthModule } from "@nestjs-shopify/auth";
    import { ShopifyGraphqlProxyModule } from "@nestjs-shopify/graphql";
    
    @Module({
      imports: [
        // ...
        ShopifyCoreModule.forRoot(/* ... */),
        ShopifyAuthModule.forRootOnline(/* ... */),
        ShopifyGraphqlProxyModule,
        // ...
      ],
    })
    export class AppModule {}
  • e6a3891: Upgrade to v6.0.0 of @shopify/shopify-api.

    See the upgrade guide of @shopify/shopify-api

    Run npm install @shopify/[email protected] or yarn add @shopify/[email protected] together with the upgrade of all @nestjs-shopify/* packages.

Patch Changes

  • Updated dependencies [e6a3891]
  • Updated dependencies [e6a3891]