Dev Docs entry: ui/public cleanup 7.7 #55926
Labels
Feature:NP Migration
release_note:plugin_api_changes
Contains a Plugin API changes section for the breaking plugin API changes section.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
v7.7.0
This issue is just there to create a single dev docs entry in the API changes blog post, for any of the ui/public directory removals, so not every removal PR pops up as it's own section in the blog post.
Dev Docs
ui/public
cleanupRemoved / moved modules
In preparation for Kibana's upcoming new platform, we are in the process of migrating away from the
ui/public
directory. Over time, the contents of this directory will be either deprecated or housed inside a parent plugin. If your plugin imports the listed items from the followingui/public
modules, you will need to either update your import statements as indicated below, so that you are pulling these modules from their new locations, or copy the relevant code directly into your plugin.ui/agg_types
#59605The
ui/agg_types
module has been removed in favor of the service provided by thedata
plugin in the new Kibana platform.Additionally,
aggTypes
andAggConfigs
have been removed in favor of atypes
registry and acreateAggConfigs
function:The above examples are not comprehensive, but represent some of the more common uses of
agg_types
. For more details, please refer to the interfaces in the source code, as well as the data plugin'spublic/index
file.ui/time_buckets
#58805The
ui/time_buckets
module has been removed and is now internal to thedata
plugin's search & aggregations infrastructure. We are working on an improved set of helper utilities to eventually replace the need for theTimeBuckets
class.In the meantime, if you currently rely on
TimeBuckets
, please copy the relevant pieces into your plugin code.ui/filter_manager
#59872The
ui/filter_manager
module has been removed and now services and UI components are available on thedata
plugin's query infrastructure.The text was updated successfully, but these errors were encountered: