shopify_app 8.2.0 → 8.2.1

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
  SHA1:
3
- metadata.gz: 638ecefa077fb7501468d89a5e84f6737c84a794
4
- data.tar.gz: 960b0f8831db1fb97c04b30fc52f72b624b98387
3
+ metadata.gz: d1f97ef76b99ee420d03be252ee3e7afb91f9ecd
4
+ data.tar.gz: cd48c126d28a75212a44647317aed7b8a63b632b
5
5
  SHA512:
6
- metadata.gz: b29e463e3337b211e5e1ddf7c2c4e794db894235a05b39ee5ea6b7eabcd42ae095517c165165da3a98fdf0da17d5fb1bd03efe4efbab1ad1ad338b1923b2f466
7
- data.tar.gz: 26854b97c8f6888c88c1950357a15a81352c4b18ad708436c6b5dd8bb40f25f196ee65084475a9ee6a2710ddaf0f84c88c9733bf78abc2f11bf90d17accb9756
6
+ metadata.gz: 60c658b34b6d6d1569b5ad624870dc2d0a22b0f3668d6d582e0e82fd927c58371e3a31056fbaedb4853aae84145492bddfceedb92b4360619028d45fcf17ca74
7
+ data.tar.gz: 6b4b21362296c42e3940dbf572fce7da5f6746ef49385419f4e7a084ea8d7f500f97b2cfd548b1d9d167384f0441a52361270a53fc2790d746239a6f4d5dd1fa
data/CHANGELOG.md CHANGED
@@ -1,15 +1,26 @@
1
+ 8.2.1
2
+ -----
3
+ * Bugfix: Don't logout shops from `login_again_if_different_shop` when Rails
4
+ params for a 'Shop' model are passed in [[#477]](https://github.com/Shopify/shopify_app/pull/477)
5
+
1
6
  8.2.0
2
7
  -----
8
+ Known bug: Shop logged out when submitting a form for 'Shop' objects, fixed in 8.2.1 [[See #480 for details]](https://github.com/Shopify/shopify_app/issues/480)
9
+
3
10
  * Add `webhook_jobs_namespace` config option. [[#463]](https://github.com/Shopify/shopify_app/pull/463)
4
11
  * Updates login page styles to match the [Polaris](https://polaris.shopify.com/) design system. [[#474]](https://github.com/Shopify/shopify_app/pull/474)
5
12
 
6
13
  8.1.0
7
14
  -----
15
+ Known bug: Shop logged out when submitting a form for 'Shop' objects, fixed in 8.2.1 [[See #480 for details]](https://github.com/Shopify/shopify_app/issues/480)
16
+
8
17
  * Add support for per_user_authentication
9
18
  * Pass the shop param in the session for authentication instead of a url param (prevents csrf). If you are upgrading from an older version of the gem you will need to update your omniauth.rb initializer file. Check the example app for what it what it should look like.
10
19
 
11
20
  8.0.0
12
21
  -----
22
+ Known bug: Shop logged out when submitting a form for 'Shop' objects, fixed in 8.2.1 [[See #480 for details]](https://github.com/Shopify/shopify_app/issues/480)
23
+
13
24
  * Removed the `shopify_session_repository` initializer. The SessionRepository is now configured through the main ShopifyApp configuration object and the generated initializer
14
25
  * Moved InMemorySessionStore into the ShopifyApp namespace
15
26
  * Remove ShopifySession concern. This module made the code internal to this engine harder to follow and we want to discourage over-writing the auth code now that we have generic hooks for all extra tasks during install.
@@ -20,10 +31,14 @@
20
31
 
21
32
  7.4.0
22
33
  -----
34
+ Known bug: Shop logged out when submitting a form for 'Shop' objects, fixed in 8.2.1 [[See #480 for details]](https://github.com/Shopify/shopify_app/issues/480)
35
+
23
36
  * Add an after_authenticate job which will be run once the shop is authenticated. [[#431]](https://github.com/Shopify/shopify_app/pull/432)
24
37
 
25
38
  7.3.0
26
39
  -----
40
+ Known bug: Shop logged out when submitting a form for 'Shop' objects, fixed in 8.2.1 [[See #480 for details]](https://github.com/Shopify/shopify_app/issues/480)
41
+
27
42
  * Bump required omniauth-shopify-oauth2 version to 1.2.0.
28
43
  * Always expect params[:shop] to be a string.
29
44
 
@@ -27,7 +27,7 @@ module ShopifyApp
27
27
  end
28
28
 
29
29
  def login_again_if_different_shop
30
- if shop_session && params[:shop] && (shop_session.url != params[:shop])
30
+ if shop_session && params[:shop] && params[:shop].is_a?(String) && (shop_session.url != params[:shop])
31
31
  session[:shopify] = nil
32
32
  session[:shopify_domain] = nil
33
33
  redirect_to_login
@@ -1,3 +1,3 @@
1
1
  module ShopifyApp
2
- VERSION = '8.2.0'
2
+ VERSION = '8.2.1'
3
3
  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: 8.2.0
4
+ version: 8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-18 00:00:00.000000000 Z
11
+ date: 2017-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails