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

Minor: add version to RuntimeEnv::new deprecation message #13537

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Nov 23, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

Having a version in the message lets us know when we can remove it in the future

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the execution Related to the execution crate label Nov 23, 2024
@@ -66,7 +66,7 @@ impl Debug for RuntimeEnv {
}

impl RuntimeEnv {
#[deprecated(note = "please use `try_new` instead")]
#[deprecated(since = "43.0.0", note = "please use `try_new` instead")]
pub fn new(config: RuntimeConfig) -> Result<Self> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @alamb

@comphead comphead merged commit d9abdad into apache:main Nov 23, 2024
25 checks passed
@findepi
Copy link
Member

findepi commented Nov 23, 2024

i found two more deprecations without the since version -- #13543

@alamb alamb deleted the alamb/deprecation_version branch November 24, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execution Related to the execution crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants