shopify_app 21.1.0 → 21.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56a2bcb7ba62da6e7f8c1357a18cb21ecaaa8010a930b537a1a2da76b76e5daa
4
- data.tar.gz: a79ae7871ca2fef1cdafb859cc7e6916c07e6e1411d368bcdac2397d349f38c6
3
+ metadata.gz: 9c7c689ea4654dcf93dc5f933b05f72977a330728aaf84ec7cd8ab8bc0f3c4e1
4
+ data.tar.gz: 10931771d0548d1652d43eac26cc6600a6196489c18ca0b114b9f7031787d366
5
5
  SHA512:
6
- metadata.gz: c5441d540170afa6a532fb88a2b19350a9ccf394d13487c5fc71c1cdeb4cd885fe6b3895adf0202f6f4be9c7a73e08acd407c5b5213ebd9d0694617c1fc582fe
7
- data.tar.gz: b4bf6920d7ada93c7fe4b238088910d9c150b81219281c78c24efd45efe4b7829e738d93752bf0c6f95e0f5f660955d363e71063bc5cc62ee2e4e571cd38afde
6
+ metadata.gz: 2928dea2f397750d74f206be9389f2bb4bc4680310109f2ede4822bbc58ea4e8a0177a1404a6701759dbaf366f0b6d634606c0f580a1572a5d0dfaa5ed02ec1c
7
+ data.tar.gz: b3c6cdb2c899a3211d4c5bb492855bd528de06825366426b26d4899e7860fcd35438a9ba521d57a9a903c62e8ddf827fc6da0ca5b60ba430ee583380324a475f
data/CHANGELOG.md CHANGED
@@ -1,9 +1,16 @@
1
1
  Unreleased
2
2
  ----------
3
3
 
4
- 21.1.0 (Oct 17, 2022)
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
+
8
+ 21.1.1 (Oct 20, 2022)
5
9
  ----------
10
+ * Updates dependency to `shopify_api` to 12.2 to fix error with host_name argument.
6
11
 
12
+ 21.1.0 (Oct 17, 2022)
13
+ ----------
7
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)
8
15
 
9
16
  21.0.0 (Oct 3, 2022)
@@ -22,14 +29,12 @@ Unreleased
22
29
 
23
30
  20.1.1 (September 2, 2022)
24
31
  ----------
25
-
26
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)
27
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.
28
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.
29
35
 
30
36
  20.1.0 (August 22, 2022)
31
37
  ----------
32
-
33
38
  * Set the appropriate CSP `frame-ancestor` directive in controllers using the `EmbeddedApp` concern. [#1474](https://github.com/Shopify/shopify_app/pull/1474)
34
39
  * Allow [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare/) hosts in `config/environments/development.rb`.
35
40
  * Use [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/trycloudflare/) as example tunnel in readme/docs.
@@ -37,30 +42,25 @@ Unreleased
37
42
 
38
43
  20.0.2 (July 7, 2022)
39
44
  ----------
40
-
41
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.
42
46
 
43
47
  20.0.1 (July 6, 2022)
44
48
  ----------
45
-
46
49
  * Accept extra keyword arguments to WebhooksManagerJob to ease upgrade path from v18 or older (https://github.com/Shopify/shopify_app/pull/1466)
47
50
 
48
51
  20.0.0 (July 4, 2022)
49
52
  ----------
50
-
51
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.
52
54
  * Internal update, adding App Bridge 3 for redirect (only). [#1458](https://github.com/Shopify/shopify_app/pull/1458)
53
55
 
54
56
  19.1.0 (June 20, 2022)
55
57
  ----------
56
-
57
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)
58
59
  * Add special headers when returning 401s from LoginProtection. [#1450](https://github.com/Shopify/shopify_app/pull/1450)
59
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)
60
61
 
61
62
  19.0.2 (April 27, 2022)
62
63
  ----------
63
-
64
64
  * Fix regression in apps using online tokens. [#1413](https://github.com/Shopify/shopify_app/pull/1413)
65
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).
66
66
 
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_app (21.1.0)
4
+ shopify_app (21.2.0)
5
5
  activeresource
6
6
  browser_sniffer (~> 2.0)
7
7
  jwt (>= 2.2.3)
8
8
  rails (> 5.2.1)
9
9
  redirect_safely (~> 1.0)
10
- shopify_api (~> 12.1)
10
+ shopify_api (~> 12.2)
11
11
  sprockets-rails (>= 2.0.0)
12
12
 
13
13
  GEM
@@ -125,7 +125,7 @@ GEM
125
125
  mini_mime (1.1.2)
126
126
  mini_portile2 (2.8.0)
127
127
  minitest (5.16.3)
128
- mocha (1.15.0)
128
+ mocha (1.16.0)
129
129
  multi_xml (0.6.0)
130
130
  net-imap (0.3.1)
131
131
  net-protocol
@@ -136,7 +136,7 @@ GEM
136
136
  net-smtp (0.3.2)
137
137
  net-protocol
138
138
  nio4r (2.5.8)
139
- nokogiri (1.13.8)
139
+ nokogiri (1.13.9)
140
140
  mini_portile2 (~> 2.8.0)
141
141
  racc (~> 1.4)
142
142
  oj (3.13.21)
@@ -194,23 +194,23 @@ GEM
194
194
  activemodel
195
195
  regexp_parser (2.6.0)
196
196
  rexml (3.2.5)
197
- rubocop (1.36.0)
197
+ rubocop (1.37.0)
198
198
  json (~> 2.3)
199
199
  parallel (~> 1.10)
200
200
  parser (>= 3.1.2.1)
201
201
  rainbow (>= 2.2.2, < 4.0)
202
202
  regexp_parser (>= 1.8, < 3.0)
203
203
  rexml (>= 3.2.5, < 4.0)
204
- rubocop-ast (>= 1.20.1, < 2.0)
204
+ rubocop-ast (>= 1.22.0, < 2.0)
205
205
  ruby-progressbar (~> 1.7)
206
206
  unicode-display_width (>= 1.4.0, < 3.0)
207
- rubocop-ast (1.21.0)
207
+ rubocop-ast (1.22.0)
208
208
  parser (>= 3.1.1.0)
209
209
  rubocop-shopify (2.10.1)
210
210
  rubocop (~> 1.35)
211
211
  ruby-progressbar (1.11.0)
212
212
  securerandom (0.2.0)
213
- shopify_api (12.1.0)
213
+ shopify_api (12.2.1)
214
214
  concurrent-ruby
215
215
  hash_diff
216
216
  httparty
@@ -220,7 +220,7 @@ GEM
220
220
  securerandom
221
221
  sorbet-runtime
222
222
  zeitwerk (~> 2.5)
223
- sorbet-runtime (0.5.10488)
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.0"
4
+ VERSION = "21.2.0"
5
5
  end
data/shopify_app.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.add_runtime_dependency("jwt", ">= 2.2.3")
20
20
  s.add_runtime_dependency("rails", "> 5.2.1")
21
21
  s.add_runtime_dependency("redirect_safely", "~> 1.0")
22
- s.add_runtime_dependency("shopify_api", "~> 12.1")
22
+ s.add_runtime_dependency("shopify_api", "~> 12.2")
23
23
  s.add_runtime_dependency("sprockets-rails", ">= 2.0.0")
24
24
 
25
25
  s.add_development_dependency("byebug")
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.0
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-17 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
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '12.1'
89
+ version: '12.2'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '12.1'
96
+ version: '12.2'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sprockets-rails
99
99
  requirement: !ruby/object:Gem::Requirement