@doswiftly/storefront-sdk 7.1.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 5c4e080: **BREAKING (version-only)**: Bump `@doswiftly/storefront-sdk` to 8.0.0 to stay in lockstep with `@doswiftly/storefront-operations@8.0.0` (linked package contract — same major between them).
|
|
8
|
+
|
|
9
|
+
### Why this release
|
|
10
|
+
|
|
11
|
+
The SDK code itself is unchanged. This is a version-sync release that matches the BREAKING operations rename shipped in `@doswiftly/storefront-operations@8.0.0` (26 operations renamed to verb-first to match the GraphQL schema field names — see operations 8.0.0 CHANGELOG for the full migration table).
|
|
12
|
+
|
|
13
|
+
### Migration
|
|
14
|
+
|
|
15
|
+
If you upgrade `@doswiftly/storefront-sdk` from `7.x` → `8.x`, you MUST also upgrade `@doswiftly/storefront-operations` to `8.x` (they are linked). After upgrading:
|
|
16
|
+
1. Regenerate codegen against the new operations package.
|
|
17
|
+
2. Update operation imports per the migration table in `@doswiftly/storefront-operations@8.0.0` CHANGELOG (e.g. `CheckoutDiscountCodeApply` → `CheckoutApplyDiscountCode`, `$checkoutId` → `$id`).
|
|
18
|
+
3. No SDK API surface change beyond the operation name re-exports — runtime client behavior is identical.
|
|
19
|
+
|
|
3
20
|
## 7.1.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doswiftly/storefront-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "Storefront runtime SDK for DoSwiftly Commerce — layered transport, middleware pipeline, React providers, Zustand stores, cache strategies. 0 runtime dependencies in core.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|