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

refactor: Improve incorrect deprecation log message for auth adapter #8347

Merged

Conversation

mtrezza
Copy link
Member

@mtrezza mtrezza commented Dec 6, 2022

New Pull Request Checklist

Issue Description

PR #7953 introduced an incorrect / unclear deprecation message that logs:

DeprecationWarning: auth.facebook is deprecated and will be removed in a future version. auth.facebook.enabled: true

The log message should be improved. I think what the message intends to say is that the auth adapter is not enabled but a future version will require to explicitly enable it for it to work.

Closes: #n/a

Approach

Improve log message.

TODOs before merging

n/a

@parse-github-assistant
Copy link

parse-github-assistant bot commented Dec 6, 2022

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@mtrezza mtrezza mentioned this pull request Dec 6, 2022
@mtrezza mtrezza requested a review from a team December 6, 2022 14:39
@codecov
Copy link

codecov bot commented Dec 6, 2022

Codecov Report

Base: 94.24% // Head: 94.25% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (8c7d579) compared to base (b2761fb).
Patch has no changes to coverable lines.

❗ Current head 8c7d579 differs from pull request most recent head 9c21087. Consider uploading reports for the commit 9c21087 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##            alpha    #8347      +/-   ##
==========================================
+ Coverage   94.24%   94.25%   +0.01%     
==========================================
  Files         180      180              
  Lines       13977    13977              
==========================================
+ Hits        13172    13174       +2     
+ Misses        805      803       -2     
Impacted Files Coverage Δ
src/Auth.js 99.56% <ø> (ø)
src/RestWrite.js 94.91% <0.00%> (+0.14%) ⬆️
src/Adapters/Files/GridFSBucketAdapter.js 94.16% <0.00%> (+0.72%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mtrezza mtrezza requested review from dblythy and removed request for a team and dblythy December 6, 2022 15:44
@mtrezza mtrezza merged commit b48c270 into parse-community:alpha Dec 6, 2022
@mtrezza mtrezza deleted the fix-incorrect-auth-deprecation-log branch December 6, 2022 22:04
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.0.0-alpha.13

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Dec 7, 2022
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.0.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Jan 31, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 6.0.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants