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

Undeprecate non-context publish functions #259

Merged
merged 1 commit into from
May 7, 2024

Conversation

Zerpet
Copy link
Contributor

@Zerpet Zerpet commented May 6, 2024

The context was not honoured in any of the *WithContext functions. This
is confusing, and arguably broken. However, we cannot immediately fix
the context-support situation due to #124 (comment)

This commit undeprecates the non-context variants of publish, and
documents that both variants are equivalent. The example now favours the
non-context variants.

Fixes #195

@Zerpet Zerpet force-pushed the fix/update-context-docs branch from 5448f3b to 66fb9da Compare May 6, 2024 18:03
@Zerpet Zerpet requested a review from lukebakken May 6, 2024 18:03
@Zerpet Zerpet self-assigned this May 6, 2024
@Zerpet Zerpet added this to the 1.10.0 milestone May 6, 2024
The context was not honoured in any of the *WithContext functions. This
is confusing, and arguably broken. However, we cannot immediately fix
the context-support situation due to #124 (comment)

This commit undeprecates the non-context variants of publish, and
documents that both variants are equivalent. The example now favours the
non-context variants.

Related to #195

Signed-off-by: Aitor Perez Cedres <[email protected]>
@Zerpet Zerpet force-pushed the fix/update-context-docs branch from 66fb9da to f786561 Compare May 7, 2024 14:51
@lukebakken lukebakken merged commit 2bc185e into main May 7, 2024
7 checks passed
@lukebakken lukebakken deleted the fix/update-context-docs branch May 7, 2024 15:39
@Zerpet Zerpet added the enhancement New feature or request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation needed (PublishWithContext does not use context)
2 participants