-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
DOCSP-43172: Remove DatabaseTokenRepository class #3130
DOCSP-43172: Remove DatabaseTokenRepository class #3130
Conversation
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!
docs/upgrade.txt
Outdated
- Removes support for the ``Auth\DatabaseTokenRepository`` class. Instead, | ||
use the ``Illuminate\Queue\Failed\DatabaseFailedJobProvider`` class and | ||
specify a connection to MongoDB. |
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.
You mixed the 2 classes that are removed.
- Removes support for the ``Auth\DatabaseTokenRepository`` class. Instead, | |
use the ``Illuminate\Queue\Failed\DatabaseFailedJobProvider`` class and | |
specify a connection to MongoDB. | |
- Remove the ``MongoDB\Laravel\Auth\DatabaseTokenRepository`` class. Instead, | |
use the default ``Illuminate\Auth\Passwords\DatabaseTokenRepository`` class and | |
specify a connection to MongoDB. | |
- Remove the ``MongoDB\Laravel\Queue\Failed\MongoFailedJobProvider`` class. Instead, | |
use the default ``Illuminate\Queue\Failed\DatabaseFailedJobProvider`` class and | |
specify a connection to MongoDB. |
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.
There's another ticket for the MongoFailedJobProvider class, but happy to include that in this PR since it's quick
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.
approving as code owner docs-side
…atabasetoken-class
JIRA - https://jira.mongodb.org/browse/DOCSP-43172
This PR also covers https://jira.mongodb.org/browse/DOCSP-43166
Staging - https://preview-mongodbnorareidy.gatsbyjs.io/laravel/DOCSP-43172-stage/upgrade/#version-5.x-breaking-changes
Checklist