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

DOCSP-43172: Remove DatabaseTokenRepository class #3130

Merged
merged 5 commits into from
Sep 6, 2024
Merged

DOCSP-43172: Remove DatabaseTokenRepository class #3130

merged 5 commits into from
Sep 6, 2024

Conversation

norareidy
Copy link
Contributor

@norareidy norareidy commented Aug 30, 2024

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

  • Add tests and ensure they pass
  • Add an entry to the CHANGELOG.md file
  • Update documentation for new features

@github-actions github-actions bot added the docs label Aug 30, 2024
@norareidy norareidy marked this pull request as ready for review August 30, 2024 17:43
@norareidy norareidy requested a review from a team as a code owner August 30, 2024 17:43
@norareidy norareidy requested a review from rustagir August 30, 2024 17:43
Copy link
Contributor

@jordan-smith721 jordan-smith721 left a 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
Comment on lines 71 to 73
- Removes support for the ``Auth\DatabaseTokenRepository`` class. Instead,
use the ``Illuminate\Queue\Failed\DatabaseFailedJobProvider`` class and
specify a connection to MongoDB.
Copy link
Member

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.

Suggested change
- 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.

Copy link
Contributor Author

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

Copy link
Contributor

@rustagir rustagir left a 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

@norareidy norareidy requested a review from GromNaN September 3, 2024 20:10
docs/upgrade.txt Outdated Show resolved Hide resolved
@norareidy norareidy requested a review from GromNaN September 4, 2024 15:07
@norareidy norareidy enabled auto-merge (squash) September 6, 2024 20:18
@norareidy norareidy merged commit 6507279 into mongodb:5.0 Sep 6, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants