shopify_app 21.6.0 → 21.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/CODEOWNERS +1 -0
  3. data/.github/workflows/build.yml +1 -1
  4. data/CHANGELOG.md +17 -0
  5. data/CONTRIBUTING.md +1 -1
  6. data/Gemfile.lock +3 -3
  7. data/README.md +1 -1
  8. data/app/assets/javascripts/shopify_app/app_bridge_3.7.8.js +10 -0
  9. data/app/assets/javascripts/shopify_app/app_bridge_redirect.js +2 -2
  10. data/app/assets/javascripts/shopify_app/redirect.js +1 -2
  11. data/app/controllers/shopify_app/callback_controller.rb +14 -3
  12. data/docs/shopify_app/authentication.md +62 -57
  13. data/docs/shopify_app/controller-concerns.md +35 -15
  14. data/docs/shopify_app/sessions.md +250 -0
  15. data/docs/shopify_app/webhooks.md +38 -4
  16. data/karma.conf.js +6 -1
  17. data/lib/generators/shopify_app/{add_gdpr_jobs/add_gdpr_jobs_generator.rb → add_privacy_jobs/add_privacy_jobs_generator.rb} +1 -1
  18. data/lib/generators/shopify_app/install/templates/shopify_app.rb.tt +2 -1
  19. data/lib/generators/shopify_app/shopify_app_generator.rb +1 -1
  20. data/lib/shopify_app/configuration.rb +3 -1
  21. data/lib/shopify_app/controller_concerns/ensure_billing.rb +3 -0
  22. data/lib/shopify_app/controller_concerns/localization.rb +11 -8
  23. data/lib/shopify_app/managers/webhooks_manager.rb +4 -2
  24. data/lib/shopify_app/session/in_memory_user_session_store.rb +1 -1
  25. data/lib/shopify_app/session/session_repository.rb +37 -3
  26. data/lib/shopify_app/version.rb +1 -1
  27. data/package.json +5 -6
  28. data/shopify_app.gemspec +1 -1
  29. data/yarn.lock +2087 -3882
  30. metadata +11 -13
  31. data/.github/workflows/stale.yml +0 -43
  32. data/app/assets/javascripts/shopify_app/app_bridge_3.1.1.js +0 -10
  33. data/app/assets/javascripts/shopify_app/app_bridge_utils_3.1.1.js +0 -1
  34. data/docs/shopify_app/session-repository.md +0 -79
  35. /data/lib/generators/shopify_app/{add_gdpr_jobs → add_privacy_jobs}/templates/customers_data_request_job.rb.tt +0 -0
  36. /data/lib/generators/shopify_app/{add_gdpr_jobs → add_privacy_jobs}/templates/customers_redact_job.rb.tt +0 -0
  37. /data/lib/generators/shopify_app/{add_gdpr_jobs → add_privacy_jobs}/templates/shop_redact_job.rb.tt +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a92631c8bf253b232ab525ca71c8eb4e9dd9803d040942994d6c82aa440a3a83
4
- data.tar.gz: 27bc111e45acffb302e8c794e8ecbffe9c558ab0deb3234b9512050565d8e866
3
+ metadata.gz: 49db79a7ee1809140f869b5a2b0ab52fe6b9e64d53c8d4cd21084763b59392cc
4
+ data.tar.gz: 5cef8ded01f6a2cebbd887fdc2811ac5612df5ae7b6fb684fa8aadfd3b56ad37
5
5
  SHA512:
6
- metadata.gz: 5b1ff59a290a9ef78dde26b03ce51b01ab31569e1d3ea29daca6df81dfec1903e9f785b06db4aa5fbe7dd66a078c4647ff981f5e3a02508b7457c07e84a5cc51
7
- data.tar.gz: 25d4baeebf8988d25bf3ac545deba5746ed6ff56e33d8ea0de8413fff50ae711e4804e2a10da2b893e2a741561be20b05b58d26ba9ab458fb29f582009dbd2f3
6
+ metadata.gz: 705b96b32ef22ee3c0f24391e2dc18c194e0c914fb1b03df449d79129da5dddfbdf095949c0ae5d1b219f5533a53384d24ded2464a8e00190099cf6c77c4f182
7
+ data.tar.gz: ffb76479139e64d4685c87f2af945e90bb7ad45e56b3d42bb6738052da2bedc80c637df977a7671e2ed1c2e28ba2041489444c9046fe5a13631b4708ae0ab9fa
data/.github/CODEOWNERS CHANGED
@@ -1,2 +1,3 @@
1
1
  * @shopify/platform-dev-tools-education
2
2
  * @shopify/app-foundations
3
+ * @Shopify/client-libraries-app-templates
@@ -30,7 +30,7 @@ jobs:
30
30
  - name: Set up Node
31
31
  uses: actions/setup-node@v3
32
32
  with:
33
- node-version: '12'
33
+ node-version: '18'
34
34
  - name: Install Yarn Dependencies
35
35
  run: yarn
36
36
  - name: Run Yarn Tests
data/CHANGELOG.md CHANGED
@@ -1,6 +1,23 @@
1
1
  Unreleased
2
2
  ----------
3
3
 
4
+ 21.8.0 (Dec 1, 2023)
5
+ ----------
6
+ * Bump `shopify_api` to include bugfix with mandatory webhooks + fixes for CI failures that prevented earlier release
7
+ * Fixes bug with `WebhooksManager#recreate_webhooks!` where we failed to register topics in the registry[#1743](https://github.com/Shopify/shopify_app/pull/1704)
8
+ * Allow embedded apps to provide a full URL to get redirected to, rather than defaulting to Shopify Admin [#1746](https://github.com/Shopify/shopify_app/pull/1746)
9
+
10
+ 21.7.0 (Oct 12, 2023)
11
+ ----------
12
+ * Fixes typo in webhook generator [#1704](https://github.com/Shopify/shopify_app/pull/1704)
13
+ * Fix registration of event_bridge and pub_sub webhooks [#1635](https://github.com/Shopify/shopify_app/pull/1635)
14
+ * Adds support for adding any number of trial days within `EnsureBilling` by adding the `trial_days` field to `BillingConfiguration`
15
+ * Updated AppBridge to 3.7.8 [#1680](https://github.com/Shopify/shopify_app/pull/1680)
16
+ * Support falling back to 2 letter language code locales [#1711](https://github.com/Shopify/shopify_app/pull/1711)
17
+ * Fix locale leaks across requests [#1711](https://github.com/Shopify/shopify_app/pull/1711)
18
+ * Fix bug in `InMemoryUserSessionStore#store`, this can now be used out of box. [#1716](https://github.com/Shopify/shopify_app/pull/1716)
19
+ * Adds support for 2023-10 API version [#1734](https://github.com/Shopify/shopify_app/pull/1734)
20
+
4
21
  21.6.0 (July 11, 2023)
5
22
  ----------
6
23
  * Adds support for toggling test charges within `EnsureBilling` by adding `test` field to `BillingConfiguration` and pulling in environment variable [#1688](https://github.com/Shopify/shopify_app/pull/1688)
data/CONTRIBUTING.md CHANGED
@@ -23,7 +23,7 @@ Shopify has an official message board with dedicated forums to discuss all thing
23
23
  * [Shopify Apps](https://community.shopify.com/c/Shopify-Apps/bd-p/shopify-apps)
24
24
  * [Shopify APIs & SDKs](https://community.shopify.com/c/Shopify-APIs-SDKs/bd-p/shopify-apis-and-technology)
25
25
 
26
- If you prefer to chat instead, join the [Shopify Partners Slack Community group](https://www.shopify.com/partners/community#conversation). This Slack group hosts an active community of thousands of app developers.
26
+ If you prefer to chat instead, join the [Shopify Partners Slack Community group](https://community.shopify.com/c/partners-and-developers/ct-p/appdev). This Slack group hosts an active community of thousands of app developers.
27
27
 
28
28
  By participating in the Community forum or Slack group, you agree to adhere to the forum [Code of Conduct](https://community.shopify.com/c/Announcements/Code-of-Conduct/m-p/491969#M23) outlined.
29
29
 
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_app (21.6.0)
4
+ shopify_app (21.8.0)
5
5
  activeresource
6
6
  addressable (~> 2.7)
7
7
  browser_sniffer (~> 2.0)
8
8
  jwt (>= 2.2.3)
9
9
  rails (> 5.2.1)
10
10
  redirect_safely (~> 1.0)
11
- shopify_api (~> 13.1)
11
+ shopify_api (~> 13.3)
12
12
  sprockets-rails (>= 2.0.0)
13
13
 
14
14
  GEM
@@ -217,7 +217,7 @@ GEM
217
217
  ruby-progressbar (1.13.0)
218
218
  ruby2_keywords (0.0.5)
219
219
  securerandom (0.2.2)
220
- shopify_api (13.1.0)
220
+ shopify_api (13.3.0)
221
221
  activesupport
222
222
  concurrent-ruby
223
223
  hash_diff
data/README.md CHANGED
@@ -107,7 +107,7 @@ You can find documentation on gem usage, concepts, mixins, installation, and mor
107
107
  * [Controller Concerns](/docs/shopify_app/controller-concerns.md)
108
108
  * [Generators](/docs/shopify_app/generators.md)
109
109
  * [ScriptTags](/docs/shopify_app/script-tags.md)
110
- * [Session repository](/docs/shopify_app/session-repository.md)
110
+ * [Sessions](/docs/shopify_app/sessions.md)
111
111
  * [Handling changes in access scopes](/docs/shopify_app/handling-access-scopes-changes.md)
112
112
  * [Testing](/docs/shopify_app/testing.md)
113
113
  * [Webhooks](/docs/shopify_app/webhooks.md)