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

Drop WithContext methods and add context to all methods #554

Merged
merged 1 commit into from Aug 14, 2023

Conversation

magiconair
Copy link
Member

@magiconair magiconair commented Jan 27, 2022

This patch drops the WithContext() methods and requires that all existing
methods have a context.

NOTE THAT THIS IS A BREAKING CHANGE!!!

Fixes #553

@magiconair magiconair added this to the v0.5.0 milestone Jan 27, 2022
@sruehl
Copy link
Contributor

sruehl commented Aug 11, 2023

now that 0.4.0 has been release I wonder if this PR can now be merged @magiconair?

@magiconair
Copy link
Member Author

yeah, good point. I'll rebase it and then we'll merge it.

@magiconair
Copy link
Member Author

Want to do a final review @CrowdHailer before we merge?

@magiconair magiconair changed the title drop WithContext BREAKING CHANGE: drop WithContext Aug 12, 2023
@magiconair magiconair changed the title BREAKING CHANGE: drop WithContext drop WithContext methods Aug 12, 2023
@magiconair magiconair changed the title drop WithContext methods Drop WithContext methods and add context to all methods Aug 12, 2023
@magiconair magiconair self-assigned this Aug 14, 2023
client.go Show resolved Hide resolved
Copy link
Contributor

@bitomaxsp bitomaxsp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@magiconair magiconair merged commit 3425f7b into main Aug 14, 2023
9 checks passed
@bitomaxsp bitomaxsp deleted the issue-553-drop-with-context branch August 14, 2023 11:51
@CrowdHailer
Copy link
Contributor

Too slow from me, but this all looks good. Pleased to see it merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop WithContext methods
4 participants