local-storefront 0.3.0-rc.6 → 0.3.0-rc.7

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 CHANGED
@@ -3,6 +3,24 @@
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.7 - 2026-11-14
7
+
8
+ Seventh release candidate of 0.3.0. Approving a plan or a charge in the embedded admin keeps
9
+ the admin's user and locale, as Shopify does.
10
+
11
+ ### Fixed
12
+
13
+ #### The embedded admin and billing
14
+
15
+ - **Approving a plan or a charge keeps the admin's user and locale.** The approval form of a
16
+ pricing plan (`/admin/charges/<app>/pricing_plans/<plan>`) named the shop alone, so its
17
+ welcome link launched the app for user 1 in the shop's primary locale, whoever approved it.
18
+ The form, and the redirect to a welcome link in the admin, now keep `user` and `locale` as
19
+ the admin's other links do: the app opens with the same staff member's session token and in
20
+ their language, as on Shopify, where the locale is the staff member's. A charge's
21
+ confirmation page, its approve and decline forms and the return to the app in the admin keep
22
+ them too.
23
+
6
24
  ## 0.3.0-rc.6 - 2026-11-14
7
25
 
8
26
  Sixth release candidate of 0.3.0. It fixes about 130 differences from Shopify reported by an
package/docs/admin.md CHANGED
@@ -1199,8 +1199,9 @@ as on Shopify:
1199
1199
  - `app_subscriptions/update` is delivered for each (`plan_handle` in the payload);
1200
1200
  - the browser goes to the plan's welcome link with `charge_id` (the subscription's number) and
1201
1201
  `plan_handle`: a path is the app's page in lsf's admin
1202
- (`/admin/apps/<handle>/welcome?shop=…&charge_id=3&plan_handle=pro`), a full URL gets `shop`
1203
- too.
1202
+ (`/admin/apps/<handle>/welcome?shop=…&charge_id=3&plan_handle=pro`), for the same staff member
1203
+ in the same language (the admin's `user` and `locale`, kept from the plan's page); a full URL
1204
+ gets `shop` too.
1204
1205
 
1205
1206
  While plans are declared, `appSubscriptionCreate` and `appPurchaseOneTimeCreate` answer the user
1206
1207
  error Shopify gives an app on managed pricing: "Managed Pricing Apps cannot use the Billing API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-storefront",
3
- "version": "0.3.0-rc.6",
3
+ "version": "0.3.0-rc.7",
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.6",
42
- "local-storefront-darwin-x64": "0.3.0-rc.6",
43
- "local-storefront-linux-arm64": "0.3.0-rc.6",
44
- "local-storefront-linux-x64": "0.3.0-rc.6",
45
- "local-storefront-win32-arm64": "0.3.0-rc.6",
46
- "local-storefront-win32-x64": "0.3.0-rc.6"
41
+ "local-storefront-darwin-arm64": "0.3.0-rc.7",
42
+ "local-storefront-darwin-x64": "0.3.0-rc.7",
43
+ "local-storefront-linux-arm64": "0.3.0-rc.7",
44
+ "local-storefront-linux-x64": "0.3.0-rc.7",
45
+ "local-storefront-win32-arm64": "0.3.0-rc.7",
46
+ "local-storefront-win32-x64": "0.3.0-rc.7"
47
47
  }
48
48
  }