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

Remove Itp from LoginProtection #1604

Merged
merged 5 commits into from
Dec 8, 2022

Conversation

klenotiw
Copy link
Contributor

@klenotiw klenotiw commented Dec 7, 2022

What this PR does

Itp's deprecation logs were getting sent when loading LoginProtection.

Checklist

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.

@klenotiw klenotiw marked this pull request as ready for review December 7, 2022 21:28
Copy link
Contributor

@nelsonwittwer nelsonwittwer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we are missing the changelog notes / upgrading notes. Can you explain in both docs why this was removed and how people who might still be using it can patch their app before we delete Itp?

If any of your controllers are dependant on methods from `Itp` then you can include `ShopifyApp::Itp` directly.
You may notice a deprecation notice saying, `Itp will be removed in an upcoming version`.
This is because we intend on removing `Itp` completely in `v22.0.0`, but this will work in the meantime.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope this is the right place?

I was also thinking of adding the names of the methods like set_test_cookie, set_top_level_oauth_cookie, clear_top_level_oauth_cookie, ....

So it would be easy to search for that method being removed in the upgrading doc. How do you feel about that?

CHANGELOG.md Outdated Show resolved Hide resolved
@klenotiw
Copy link
Contributor Author

klenotiw commented Dec 8, 2022

Looks like we are missing the changelog notes / upgrading notes. Can you explain in both docs why this was removed and how people who might still be using it can patch their app before we delete Itp?

ooops sorry about missing this, I've been so scatterbrained lately

docs/Upgrading.md Outdated Show resolved Hide resolved
docs/Upgrading.md Outdated Show resolved Hide resolved
klenotiw and others added 2 commits December 8, 2022 15:48
@klenotiw klenotiw merged commit efb86ac into main Dec 8, 2022
@klenotiw klenotiw deleted the klenotiw/remove-itp-from-login-protection branch December 8, 2022 20:53
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems December 9, 2022 17:09 Inactive
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.

2 participants