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

Remove old deprecated client attributes #1062

Merged
merged 1 commit into from Sep 20, 2023

Conversation

briantist
Copy link
Contributor

Resolves #549

Several attributes that were marked deprecated years ago are finally being removed. They were originally planned to be removed in v0.9.0.

The affected attributes and their replacements are:

  • client.github -> client.auth.github
  • client.ldap -> client.auth.ldap
  • client.kv -> client.secrets.kv
  • client.auth : this one was marked to use adapters.Request.login as a replacement method, but adapters.Request is an old name that's kept working for backward compatibility. Instead, choose a specific adapter, like adapter.JSONAdapter().login.

@briantist briantist added breaking-change major Used as part of release-drafter's version-resolver configuration client related to the hvac Client labels Sep 16, 2023
@briantist briantist added this to the 2.0.0 milestone Sep 16, 2023
@briantist briantist self-assigned this Sep 16, 2023
@briantist briantist requested a review from a team as a code owner September 16, 2023 19:42
@codecov
Copy link

codecov bot commented Sep 16, 2023

Codecov Report

Merging #1062 (b1b3960) into main (fa6eb1d) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1062      +/-   ##
==========================================
+ Coverage   86.19%   86.26%   +0.07%     
==========================================
  Files          64       64              
  Lines        3107     3101       -6     
==========================================
- Hits         2678     2675       -3     
+ Misses        429      426       -3     
Files Changed Coverage Δ
hvac/api/auth_methods/__init__.py 100.00% <ø> (+11.53%) ⬆️
hvac/constants/client.py 100.00% <100.00%> (ø)

@briantist
Copy link
Contributor Author

Thanks for another helpful review @kaypeter87 !

@briantist briantist merged commit 6d16f8c into hvac:main Sep 20, 2023
33 checks passed
@briantist briantist deleted the remove/old-deprecations branch September 20, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change client related to the hvac Client major Used as part of release-drafter's version-resolver configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Deprecated Methods Marked for Removal in >= v0.10.0
2 participants