-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Removes support for unused optimize.* settings from core deprecations #113296
Removes support for unused optimize.* settings from core deprecations #113296
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, added two (optional) wording suggestions
Co-authored-by: Luke Elmers <[email protected]>
Pinging @elastic/kibana-core (Team:Core) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
fyi @elastic/kibana-operations
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: |
Related to #103915
The legacy optimizer was removed in #73154 and the configuration settings for that were deprecated as
unused
.As of 8.0, Kibana won't support the legacy
optimize.*
settings anymore and will fail to start if any of those are configured.This PR removes support for the following configurations:
optimize.lazy
,optimize.lazyPort
,optimize.lazyHost
,optimize.lazyPrebuild
,optimize.lazyProxyTimeout
,optimize.enabled
,optimize.bundleFilter
,optimize.bundleDir
,optimize.viewCaching
,optimize.watch
,optimize.watchPort
,optimize.watchHost
,optimize.watchPrebuild
,optimize.watchProxyTimeout
,optimize.useBundleCache
,optimize.sourceMaps
,optimize.workers
,optimize.profile
,optimize.validateSyntaxOfNodeModules
Screen shots (docs)
In breaking changes in 8.0:
Release note
Legacy
optimize.*
settings are no longer supported. Configurations with any of the following legacyoptimize.*
settings will prevent Kibana from starting up. Going forward, to run the@kbn/optimizer
separately in development, pass--no-optimizer
toyarn start
. See #73154 for more details.