Skip to content

Commit

Permalink
build: version packages (beta) (#368)
Browse files Browse the repository at this point in the history
* 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
3 people authored Apr 24, 2023
1 parent a5347d7 commit ca707d9
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@
"lazy-foxes-fetch",
"lucky-eyes-occur",
"mean-weeks-begin",
"modern-pillows-peel",
"polite-bikes-invent",
"polite-teachers-serve",
"proud-starfishes-explain",
"quick-balloons-return",
"quick-flowers-punch",
"rotten-monkeys-switch",
"selfish-pumpkins-add",
"short-roses-search",
Expand Down
8 changes: 8 additions & 0 deletions packages/storefront-sdk-plugins/commerce-queries/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @nacelle/commerce-queries-plugin

## 1.0.0-beta.5

### Patch Changes

- Updated dependencies [3dc75b3]
- Updated dependencies [a5347d7]
- @nacelle/storefront-sdk@2.0.0-beta.9

## 1.0.0-beta.4

### Minor Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nacelle/commerce-queries-plugin",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "A Nacelle Storefront SDK plugin that provides REST-style methods for fetching commerce data",
"type": "module",
"author": "Nacelle Inc.",
Expand Down
11 changes: 8 additions & 3 deletions packages/storefront-sdk/CHANGELOG.md
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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion packages/storefront-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nacelle/storefront-sdk",
"version": "2.0.0-beta.8",
"version": "2.0.0-beta.9",
"type": "module",
"author": "Nacelle Inc.",
"license": "Apache-2.0",
Expand Down

0 comments on commit ca707d9

Please sign in to comment.