Skip to content
Merged
15 changes: 4 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ ui = [
"scene",
"audio",
"picking",
"bevy_ui_widgets",
]

# COLLECTION: Enable this feature during development to improve the development experience. This adds features like asset hot-reloading and debugging tools. This should not be enabled for published apps!
Expand Down Expand Up @@ -403,14 +404,11 @@ bevy_log = ["bevy_internal/bevy_log"]
# Enable input focus subsystem
bevy_input_focus = ["bevy_internal/bevy_input_focus"]

# Experimental headless widget collection for Bevy UI.
experimental_bevy_ui_widgets = ["bevy_internal/bevy_ui_widgets"]
# Headless widget collection for Bevy UI.
bevy_ui_widgets = ["bevy_internal/bevy_ui_widgets"]

# Feathers widget collection.
experimental_bevy_feathers = [
"bevy_internal/bevy_feathers",
"experimental_bevy_ui_widgets",
]
experimental_bevy_feathers = ["bevy_internal/bevy_feathers", "bevy_ui_widgets"]

# Enable passthrough loading for SPIR-V shaders (Only supported on Vulkan, shader capabilities and extensions must agree with the platform implementation)
spirv_shader_passthrough = ["bevy_internal/spirv_shader_passthrough"]
Expand Down Expand Up @@ -3857,7 +3855,6 @@ name = "vertical_slider"
path = "examples/ui/widgets/vertical_slider.rs"
# Causes an ICE on docs.rs
doc-scrape-examples = false
required-features = ["experimental_bevy_ui_widgets"]

[package.metadata.example.vertical_slider]
name = "Vertical Slider"
Expand Down Expand Up @@ -5272,7 +5269,6 @@ name = "testbed_full_ui"
path = "examples/testbed/full_ui.rs"
# Causes an ICE on docs.rs
doc-scrape-examples = false
required-features = ["experimental_bevy_ui_widgets"]

[package.metadata.example.testbed_full_ui]
hidden = true
Expand Down Expand Up @@ -5418,7 +5414,6 @@ name = "standard_widgets"
path = "examples/ui/widgets/standard_widgets.rs"
# Causes an ICE on docs.rs
doc-scrape-examples = false
required-features = ["experimental_bevy_ui_widgets"]

[package.metadata.example.standard_widgets]
name = "Standard Widgets"
Expand All @@ -5431,7 +5426,6 @@ name = "standard_widgets_observers"
path = "examples/ui/widgets/standard_widgets_observers.rs"
# Causes an ICE on docs.rs
doc-scrape-examples = false
required-features = ["experimental_bevy_ui_widgets"]

[package.metadata.example.standard_widgets_observers]
name = "Standard Widgets (w/Observers)"
Expand All @@ -5444,7 +5438,6 @@ name = "scrollbars"
path = "examples/ui/scroll_and_overflow/scrollbars.rs"
# Causes an ICE on docs.rs
doc-scrape-examples = false
required-features = ["experimental_bevy_ui_widgets"]

[package.metadata.example.scrollbars]
name = "Scrollbars"
Expand Down
2 changes: 1 addition & 1 deletion docs/cargo_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
|bevy_ui|A custom ECS-driven UI framework|
|bevy_ui_debug|Provides a debug overlay for bevy UI|
|bevy_ui_render|Provides rendering functionality for bevy_ui|
|bevy_ui_widgets|Headless widget collection for Bevy UI.|
|bevy_window|Windowing layer|
|bevy_winit|winit window and input backend|
|bluenoise_texture|Include spatio-temporal blue noise KTX2 file used by generated environment maps, Solari and atmosphere|
Expand All @@ -117,7 +118,6 @@ This is the complete `bevy` cargo feature list, without "profiles" or "collectio
|dynamic_linking|Force dynamic linking, which improves iterative compile times|
|embedded_watcher|Enables watching in memory asset providers for Bevy Asset hot-reloading|
|experimental_bevy_feathers|Feathers widget collection.|
|experimental_bevy_ui_widgets|Experimental headless widget collection for Bevy UI.|
|experimental_pbr_pcss|Enable support for PCSS, at the risk of blowing past the global, per-shader sampler limit on older/lower-end GPUs|
|exr|EXR image format support|
|ff|Farbfeld image format support|
Expand Down
12 changes: 12 additions & 0 deletions release-content/migration-guides/non_experimental_ui.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "`experimental_ui_widgets` feature is no longer experimental"
pull_requests: [22934]
---

The `experimental_bevy_ui_widgets` feature has been renamed to `bevy_ui_widgets`.

The `bevy_ui_widgets` feature has been added to the `ui` feature collection (and thus `bevy`'s default features) for ease of use.

This crate remains immature, and is subject to heavy breaking changes, even relative to Bevy's pre-1.0 standards.
However, it is useful enough to see wider adoption, and this changes substantially improves the user experience when setting up new projects
and running Bevy examples.