shopify_app 21.1.1 → 21.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40fd868a167286d9004fe729facec79c9b7c49b468c90571eea90b4885573b15
4
- data.tar.gz: a997784577b124c7d6fd2a372354b8c2ee5036d40e189953da9f55cea548ced0
3
+ metadata.gz: 9c7c689ea4654dcf93dc5f933b05f72977a330728aaf84ec7cd8ab8bc0f3c4e1
4
+ data.tar.gz: 10931771d0548d1652d43eac26cc6600a6196489c18ca0b114b9f7031787d366
5
5
  SHA512:
6
- metadata.gz: f22fb436540a1e7b7d36b5b037e5de0cee9212c13daddc2e3cfe0b58d8522719f475a875209e813efaf44ae7c1dd012a6b04afe643bf4621d811f1f0d4638488
7
- data.tar.gz: 15354430679bda907d06e12ec9593ad3adb8cfb7fc5642bbc9461320eeda661c43bb89a62b77955042122c06589627483e01df0fa968afb387df4f5dbae1337e
6
+ metadata.gz: 2928dea2f397750d74f206be9389f2bb4bc4680310109f2ede4822bbc58ea4e8a0177a1404a6701759dbaf366f0b6d634606c0f580a1572a5d0dfaa5ed02ec1c
7
+ data.tar.gz: b3c6cdb2c899a3211d4c5bb492855bd528de06825366426b26d4899e7860fcd35438a9ba521d57a9a903c62e8ddf827fc6da0ca5b60ba430ee583380324a475f
data/CHANGELOG.md CHANGED
@@ -1,13 +1,16 @@
1
1
  Unreleased
2
2
  ----------
3
3
 
4
+ 21.2.0 (Oct 25, 2022)
5
+ ----------
6
+ * Pass access scopes on query string [#1540](https://github.com/Shopify/shopify_app/pull/1540)
7
+
4
8
  21.1.1 (Oct 20, 2022)
5
9
  ----------
6
10
  * Updates dependency to `shopify_api` to 12.2 to fix error with host_name argument.
7
11
 
8
12
  21.1.0 (Oct 17, 2022)
9
13
  ----------
10
-
11
14
  * Removes assumed `https` required to run locally. Support both `http` and `https` in backward compatible way. [#1518](https://github.com/Shopify/shopify_app/pull/1518)
12
15
 
13
16
  21.0.0 (Oct 3, 2022)
@@ -26,14 +29,12 @@ Unreleased
26
29
 
27
30
  20.1.1 (September 2, 2022)
28
31
  ----------
29
-
30
32
  * Fixed an issue where the `embedded_redirect_url` could lead to a redirect loop in server-side rendered (or production) apps. [#1497](https://github.com/Shopify/shopify_app/pull/1497)
31
33
  * Fixes bug where webhooks were generated with addresses instead of the [path the Ruby API](https://github.com/Shopify/shopify-api-ruby/blob/7a08ae9d96a7a85abd0113dae4eb76398cba8c64/lib/shopify_api/webhooks/registrations/http.rb#L12) is expecting [#1474](https://github.com/Shopify/shopify_app/pull/1474). The breaking change that was accidentially already shipped was that `address` attribute for webhooks should be paths not addresses with `https://` and the host name. While the `address` attribute name will still work assuming the value is a path, this name is deprecated. Please configure webhooks with the `path` attribute name instead.
32
34
  * Deduce webhook path from deprecated webhook address if initializer uses address attribute. This makes this attribute change a non-breaking change for those upgrading.
33
35
 
34
36
  20.1.0 (August 22, 2022)
35
37
  ----------
36
-
37
38
  * Set the appropriate CSP `frame-ancestor` directive in controllers using the `EmbeddedApp` concern. [#1474](https://github.com/Shopify/shopify_app/pull/1474)
38
39
  * Allow [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare/) hosts in `config/environments/development.rb`.
39
40
  * Use [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare/) as example tunnel in readme/docs.
@@ -41,30 +42,25 @@ Unreleased
41
42
 
42
43
  20.0.2 (July 7, 2022)
43
44
  ----------
44
-
45
45
  * Bump [Shopify API](https://github.com/Shopify/shopify-api-ruby) to version 11.0.1. It includes [these updates](https://github.com/Shopify/shopify-api-ruby/blob/main/CHANGELOG.md#version-1101). Fix an issue where HMAC signature verification would fail in OAuth flows during API key rotation.
46
46
 
47
47
  20.0.1 (July 6, 2022)
48
48
  ----------
49
-
50
49
  * Accept extra keyword arguments to WebhooksManagerJob to ease upgrade path from v18 or older (https://github.com/Shopify/shopify_app/pull/1466)
51
50
 
52
51
  20.0.0 (July 4, 2022)
53
52
  ----------
54
-
55
53
  * Bump [Shopify API](https://github.com/Shopify/shopify-api-ruby) to version 11.0.0. It includes [these updates](https://github.com/Shopify/shopify-api-ruby/blob/main/CHANGELOG.md#version-1100). The breaking change relates to the removal of API version `2021-07` support.
56
54
  * Internal update, adding App Bridge 3 for redirect (only). [#1458](https://github.com/Shopify/shopify_app/pull/1458)
57
55
 
58
56
  19.1.0 (June 20, 2022)
59
57
  ----------
60
-
61
58
  * Add the `login_callback_url` config to allow overwriting that route as well, and mount the engine routes based on the configurations. [#1445](https://github.com/Shopify/shopify_app/pull/1445)
62
59
  * Add special headers when returning 401s from LoginProtection. [#1450](https://github.com/Shopify/shopify_app/pull/1450)
63
60
  * Add a new `billing` configuration which takes in a `ShopifyApp::BillingConfiguration` object and checks for payment on controllers with `Authenticated`. [#1455](https://github.com/Shopify/shopify_app/pull/1455)
64
61
 
65
62
  19.0.2 (April 27, 2022)
66
63
  ----------
67
-
68
64
  * Fix regression in apps using online tokens. [#1413](https://github.com/Shopify/shopify_app/pull/1413)
69
65
  * Bump [Shopify API](https://github.com/Shopify/shopify-api-ruby) to version 10.0.3. It includes [these fixes](https://github.com/Shopify/shopify-api-ruby/blob/main/CHANGELOG.md#version-1003).
70
66
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_app (21.1.1)
4
+ shopify_app (21.2.0)
5
5
  activeresource
6
6
  browser_sniffer (~> 2.0)
7
7
  jwt (>= 2.2.3)
@@ -220,7 +220,7 @@ GEM
220
220
  securerandom
221
221
  sorbet-runtime
222
222
  zeitwerk (~> 2.5)
223
- sorbet-runtime (0.5.10501)
223
+ sorbet-runtime (0.5.10514)
224
224
  sprockets (4.1.1)
225
225
  concurrent-ruby (~> 1.0)
226
226
  rack (> 1, < 3)
@@ -263,4 +263,4 @@ DEPENDENCIES
263
263
  webmock
264
264
 
265
265
  BUNDLED WITH
266
- 2.3.7
266
+ 2.3.22
@@ -167,6 +167,10 @@ module ShopifyApp
167
167
  query_params[:host] ||= host
168
168
  end
169
169
 
170
+ if params[:access_scopes].present?
171
+ query_params[:scope] = params[:access_scopes].join(",")
172
+ end
173
+
170
174
  query_params[:top_level] = true if top_level
171
175
  query_params
172
176
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyApp
4
- VERSION = "21.1.1"
4
+ VERSION = "21.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.1.1
4
+ version: 21.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-20 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource