-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: version packages (beta) (#368)
* build: version packages (beta) * docs: amend changelog * chore: undo dependency version bump --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nick Richmond <[email protected]>
- Loading branch information
1 parent
a5347d7
commit ca707d9
Showing
5 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/storefront-sdk-plugins/commerce-queries/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# @nacelle/storefront-sdk | ||
|
||
## 2.0.0-beta.9 | ||
|
||
### Major Changes | ||
|
||
- 3dc75b3: Adds an `exchanges` property to the Storefront SDK's initialization parameters. This new parameter allows Storefront SDK users to explicitly specify custom urql exchanges. All exchanges used by the Storefront SDK's urql client are now exported individually and as a pre-configured array of `defaultExchanges`. **BREAKING** The `setConfig` parameter no longer allows APQ functionality to be changed on-the-fly. APQ can only be disabled by explicitly excluding the `persistedFetchExchange` in the exchanges array provided to the `exchanges` initialization parameter. | ||
- a5347d7 **BREAKING**: `advancedOptions` and `enableAPQ` are removed from the `StorefrontClientParams`, and will be replaced with the ability for the SDK users to pass their own exchanges as params instead, including the `@urql/exchange-persisted` exchange which enables APQ. See `urql` documentation for more information about the persisted query exchange: https://formidable.com/open-source/urql/docs/advanced/persistence-and-uploads/ | ||
|
||
## 2.0.0-beta.8 | ||
|
||
### Patch Changes | ||
|
@@ -46,9 +53,7 @@ | |
|
||
### Major Changes | ||
|
||
- f2f221b: The Storefront SDK accepts a new `fetchClient` intialization parameter. You can use this to pass a custom [fetch](https://fetch.spec.whatwg.org) client to the Storefront SDK; it will be used in all Nacelle Storefront GraphQL requests. | ||
|
||
**BREAKING**: The Storefront SDK no longer accepts `token`, `currencyCode`, `connector`, `debugMode`, `onDataError`,`subscriptionEndpoint`, `subscriptionToken`, nor `subscriptionSpaceId` in the client initialization parameters. These properties are also no longer included in the return value of the `getConfig` method. | ||
- f2f221b: The Storefront SDK accepts a new `fetchClient` intialization parameter. You can use this to pass a custom [fetch](https://fetch.spec.whatwg.org) client to the Storefront SDK; it will be used in all Nacelle Storefront GraphQL requests. **BREAKING**: The Storefront SDK no longer accepts `token`, `currencyCode`, `connector`, `debugMode`, `onDataError`,`subscriptionEndpoint`, `subscriptionToken`, nor `subscriptionSpaceId` in the client initialization parameters. These properties are also no longer included in the return value of the `getConfig` method. | ||
|
||
- dd081ef: **BREAKING**: Storefront SDK methods other than `.query`, `.after`, `.getConfig` and `.setConfig` are no longer included in `@nacelle/storefront-sdk`. Other methods from `@nacelle/[email protected]` such as `.products`, `.content` etc. will be provided by a Storefront SDK plugin. | ||
- a8b3a65: Improves the `.query` method. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters