-
Notifications
You must be signed in to change notification settings - Fork 66
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
Upgrade fosite to the latest commit on their main branch #1804
Conversation
Asked if they could do a new release of fosite here: https://github.com/orgs/ory/discussions/83 |
A small part of the session storage changed type in the latest version of fosite compared to the old version of fosite that we were using. Just to be safe, update our session storage version to invalidate any pre-existing sessions upon upgrade of Pinniped.
f370d37
to
e1954b1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1804 +/- ##
=======================================
Coverage 79.13% 79.13%
=======================================
Files 172 172
Lines 16163 16163
=======================================
Hits 12790 12790
Misses 3054 3054
Partials 319 319 ☔ View full report in Codecov by Sentry. |
3bd89c2
to
7a3efb9
Compare
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
The most recent release of fosite is now one year old. Update to the head of their main branch by using a pseudo version in our
go.mod
. If Ory releases a new semver release of fosite in the future, then we can go back to using semver for fosite in ourgo.mod
.This PR also adds a new config file called
hack/update-go-mod/overrides.conf
which tells the update-go-mod program to use@master
for fosite when updating the project'sgo.mod
. If/when we want to go back to using the regular releases of fosite, we need only submit a new PR to remove that line fromoverrides.conf
.Release note: