local-storefront 0.3.0-rc.4 → 0.3.0-rc.5

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  What changed in each version of `lsf`, for someone who uses it. The section of a version is
4
4
  what its [GitHub release](https://github.com/0xtlt/local-storefront/releases) says.
5
5
 
6
+ ## 0.3.0-rc.5 - 2026-11-13
7
+
8
+ Fifth release candidate of 0.3.0. The errors of `/cart/change.js` read as a store's.
9
+
10
+ ### Breaking changes
11
+
12
+ What to change when you upgrade from 0.3.0-rc.4.
13
+
14
+ - **The `message` of a `/cart/change.js` error is its `description`**, no longer `Cart Error`.
15
+ Theme tests that expect `Cart Error` from `change.js` need the description instead. `add.js`
16
+ and `update.js` keep `Cart Error`.
17
+
18
+ ### Fixed
19
+
20
+ #### Themes and the storefront
21
+
22
+ - **`/cart/change.js` capped at the stock counts what the line holds.** A line of 1 asked for 5
23
+ with 2 in stock answers "Only 2 items were added to your cart due to availability.", as a
24
+ store does, no longer "Only 1 item". `add.js` still counts the units it added.
25
+
6
26
  ## 0.3.0-rc.4 - 2026-11-12
7
27
 
8
28
  Fourth release candidate of 0.3.0. It fixes the code discounts of 0.3.0-rc.3: their uses, their
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-storefront",
3
- "version": "0.3.0-rc.4",
3
+ "version": "0.3.0-rc.5",
4
4
  "description": "Run Shopify themes and apps locally, without Shopify: the storefront, a local checkout for Functions and checkout UI extensions, and a local GraphQL Admin API with webhooks, from JSON store data. Made for tests in CI.",
5
5
  "keywords": [
6
6
  "shopify",
@@ -38,11 +38,11 @@
38
38
  "node": ">=18"
39
39
  },
40
40
  "optionalDependencies": {
41
- "local-storefront-darwin-arm64": "0.3.0-rc.4",
42
- "local-storefront-darwin-x64": "0.3.0-rc.4",
43
- "local-storefront-linux-arm64": "0.3.0-rc.4",
44
- "local-storefront-linux-x64": "0.3.0-rc.4",
45
- "local-storefront-win32-arm64": "0.3.0-rc.4",
46
- "local-storefront-win32-x64": "0.3.0-rc.4"
41
+ "local-storefront-darwin-arm64": "0.3.0-rc.5",
42
+ "local-storefront-darwin-x64": "0.3.0-rc.5",
43
+ "local-storefront-linux-arm64": "0.3.0-rc.5",
44
+ "local-storefront-linux-x64": "0.3.0-rc.5",
45
+ "local-storefront-win32-arm64": "0.3.0-rc.5",
46
+ "local-storefront-win32-x64": "0.3.0-rc.5"
47
47
  }
48
48
  }