-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
dev: upgrade stripe to v5 #88755
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
dev: upgrade stripe to v5 #88755
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #88755 +/- ##
==========================================
- Coverage 87.80% 87.76% -0.05%
==========================================
Files 10292 10183 -109
Lines 583943 582366 -1577
Branches 22577 22348 -229
==========================================
- Hits 512756 511097 -1659
- Misses 70773 70889 +116
+ Partials 414 380 -34 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What do we get in version 5 that we don't have in version 4.
Is the goal to upgrade all the way to version 12?
@vbro Nothing specifically from v5, but yeah the goal would be to get us on latest. There are some cool things enabled with later versions like described here: https://docs.stripe.com/upgrades#2023-08-16 |
This PR aims to upgrade stripe to v5.5.0 from v4.2.0. No breaking changes that I could see we were affected by -- - Checked as many references to stripe.`resource`.retrieve() as I could find to see if we were calling .save() on any of them and couldn't find one - I used this regex stripe\.[a-zA-Z]+\.retrieve if anyone wants to double check - Not using orders or SKU object so unaffected by those changes [Notion](https://www.notion.so/sentry/Upgrading-Stripe-from-v3-to-latest-1c88b10e4b5d80adbf87f574c2929d27?p=1c88b10e4b5d81c2aa38d9dc0046e547&pm=s) [Migration Guide](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v5) [Changelog](https://github.com/stripe/stripe-python/releases?page=15) <!-- Sentry employees and contractors can delete or ignore the following. --> ### Legal Boilerplate Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
This PR aims to upgrade stripe to v5.5.0 from v4.2.0.
No breaking changes that I could see we were affected by --
resource
.retrieve() as I could find to see if we were calling .save() on any of them and couldn't find oneNotion
Migration Guide
Changelog
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.