Skip to content

add DeprecatedSetting to ease 7.0 transition of xpack config renames - #10623

Closed
yaauie wants to merge 2 commits into
elastic:7.xfrom
yaauie:ease-transition-of-xpack-config-renames
Closed

yaauie wants to merge 2 commits into
elastic:7.xfrom
yaauie:ease-transition-of-xpack-config-renames

Conversation

@yaauie

@yaauie yaauie commented Apr 2, 2019

Copy link
Copy Markdown
Member

Merge targets: 7.x, 7.0

Resolves #10616

Comment thread x-pack/lib/config_management/extension.rb Outdated
Co-Authored-By: yaauie <yaauie@users.noreply.github.com>
# Instances of `DeprecatedSetting` can be registered, but will fail with helpful guidance when encountering any
# configuration that attempts to explicitly set the value. They should be used in the Major version immediately
# following a deprecation to assist users who are porting forward configurations.
class DeprecatedSetting < Setting

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@colinsurprenant

Copy link
Copy Markdown
Contributor

(also relates to #10380)
minor comment - LGTM - thanks @yaauie !

@elasticsearch-bot

Copy link
Copy Markdown

Ry Biesemeyer merged this into the following branches!

Branch Commits
7.x 4a79246, 4bb036f
7.0 3fc244d, 704e372

elasticsearch-bot pushed a commit that referenced this pull request Apr 2, 2019
Co-Authored-By: yaauie <yaauie@users.noreply.github.com>

Fixes #10623
elasticsearch-bot pushed a commit that referenced this pull request Apr 2, 2019
Co-Authored-By: yaauie <yaauie@users.noreply.github.com>

Fixes #10623
@yaauie

yaauie commented Apr 2, 2019

Copy link
Copy Markdown
Member Author

Unless we have another 7.0.0 RC (which is unlikely at this point), this will have missed the boat.

This will be available in 7.0.1 and 7.1.0.

@yaauie yaauie closed this Apr 2, 2019
@yaauie
yaauie deleted the ease-transition-of-xpack-config-renames branch April 2, 2019 22:42
@jsvd

jsvd commented Jun 26, 2020

Copy link
Copy Markdown
Member

@yaauie it seems this missed the master branch, and it's only present in 7.x, please "forward" port it unless you see a reason not to have DeprecatedSetting in 8.0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants