Releases: basementstudio/commerce-toolkit
Releases · basementstudio/commerce-toolkit
@bsmnt/sdk-gen@2.0.0
Major Changes
- 7be03f0: Migrate from graphql-codegen to Genql, an amazing graphql client generator
@bsmnt/drop@1.2.1
Patch Changes
- 7be03f0: Migrate from graphql-codegen to Genql, an amazing graphql client generator
@bsmnt/sdk-gen@1.2.5
Patch Changes
-
72e86a6: Add optional params to sdk-gen config.
- MaybeValue: Set type for Maybe in the generated file. Accepts a string.
- InputMaybeValue: Set type for InputMaybe in the generated file. Accepts a string.
- AvoidOptionals: If true it disables optional types on the generated schema. Accepts true or false.
@bsmnt/storefront-hooks@1.3.0
Minor Changes
- 017f3a0: Add a simple logging system
@bsmnt/sdk-gen@1.2.4
Patch Changes
-
75198f9: _ Add
dedupeFragments
to codegen config. _It cleans the generated schema to avoid recurrent references to the same fragment in one query.*Issue related: dotansimha/graphql-code-generator#3063
@bsmnt/shopify-helpers@2.0.0
Major Changes
- 687fd41: Remove
createStandardStorefrontClient
as it was too big with no real benefit for now. Instead of usingcreateStandardStorefrontClient
, you now should use@bsmnt/sdk-gen
@bsmnt/sdk-gen@1.2.3
Patch Changes
- 687fd41: Access
fetch
fromglobalThis
instead ofglobal
, as usingglobal
is unreliable.
@bsmnt/storefront-hooks@1.2.2
Patch Changes
- 095b1ca: save cart id on localStorage when creating with lines
@bsmnt/sdk-gen@1.2.2
Patch Changes
- e274b6f: include graphql as a prod dependency to sdk-gen (knowing that it'll be installed as a
devDependency
@bsmnt/shopify-helpers@1.2.2
Patch Changes
- cce9e5b: remove unnecessary file