Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 6.1 not yet supported #1134

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented Jan 13, 2021

Before submitting the PR, please consider if any of the following are needed:

  • Update CHANGELOG.md if the changes would impact users
  • Update README.md, if appropriate.
  • Update any relevant pages in docs/, if necessary
  • For security fixes, the Disclosure Policy must be followed.

@andyw8 andyw8 requested a review from a team as a code owner January 13, 2021 18:25
@andyw8 andyw8 force-pushed the andyw8/rails-6.1-not-yet-supported branch 2 times, most recently from 680210e to 2eb2f27 Compare January 13, 2021 18:27
@andyw8 andyw8 force-pushed the andyw8/rails-6.1-not-yet-supported branch from 2eb2f27 to dc96643 Compare January 13, 2021 18:28
@andyw8 andyw8 merged commit 9951513 into master Jan 13, 2021
@andyw8 andyw8 deleted the andyw8/rails-6.1-not-yet-supported branch January 13, 2021 18:47
@axlekb
Copy link

axlekb commented Jan 15, 2021

Just to clarify, this would only be for an embedded app, right?

@andyw8
Copy link
Contributor Author

andyw8 commented Jan 15, 2021

@axlekb Correct. Using the shopify_api gem directly is fine.

@axlekb
Copy link

axlekb commented Jan 15, 2021

Hi @andyw8, yes, I am aware that API would be unaffected as it doesn't require any cookies, however I was more wondering about cookies for oauth portion of this gem. We have a non-embedded app, and we are running 6.1... We haven't noticed any problems, but just want to make sure that I'm not missing anything.

@kirillplatonov
Copy link
Contributor

Hey @andyw8 👋

Does it really mandatory to restrict the Rails version to be < 6.1?
I'm using shopify_app 16.1 with an embedded app with no issues. The only change that is needed is enabling old SameSite cookies protection in Rails config like this:

# config/application.rb

config.load_defaults 6.1
config.action_dispatch.cookies_same_site_protection = nil

kirillplatonov pushed a commit to kirillplatonov/shopify_app that referenced this pull request Jan 26, 2021
This reverts commit 9951513.

# Conflicts:
#	CHANGELOG.md
kirillplatonov pushed a commit to kirillplatonov/shopify_app that referenced this pull request Feb 8, 2021
This reverts commit 9951513.

# Conflicts:
#	CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants