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

Remove render feature group #5753

Closed
Shatur opened this issue Aug 20, 2022 · 2 comments
Closed

Remove render feature group #5753

Shatur opened this issue Aug 20, 2022 · 2 comments
Labels
A-App Bevy apps and plugins C-Enhancement A new feature C-Usability A simple quality-of-life change that makes Bevy easier to use

Comments

@Shatur
Copy link
Contributor

Shatur commented Aug 20, 2022

What problem does this solve or what need does it fill?

Almost every Bevy plugin use render feature group by mistake. It pulls bevy_ui, bevy_sprite and a lot of other plugins. I did so many PRs for third party crates that fixed this 😄
For how many crates made this mistake see references to #4202

What solution would you like?

I would remove this feature group. We already have default feature which provides full engine experience.

@Shatur Shatur added C-Enhancement A new feature S-Needs-Triage This issue needs to be labelled labels Aug 20, 2022
@Weibye Weibye added C-Usability A simple quality-of-life change that makes Bevy easier to use A-App Bevy apps and plugins and removed S-Needs-Triage This issue needs to be labelled labels Aug 21, 2022
@Nilirad
Copy link
Contributor

Nilirad commented Aug 21, 2022

I agree, but we need to document all those rendering features, so people can choose what they need.

@mockersf
Copy link
Member

I agree too 👍

@bors bors bot closed this as completed in 5447768 Dec 11, 2022
alradish pushed a commit to alradish/bevy that referenced this issue Jan 22, 2023
# Objective

The feature doesn't have any use case in libraries or applications and many users use this feature incorrectly. See the issue for details.
Closes bevyengine#5753.

## Solution

Remove it.

---

## Changelog

### Removed

- `render` feature group. 

## Migration Guide

Instead of using `render` feature group use dependencies directly. This group consisted of `bevy_core_pipeline`, `bevy_pbr`, `bevy_gltf`, `bevy_render`, `bevy_sprite`, `bevy_text` and `bevy_ui`. You probably want to check if you need all of them.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this issue Feb 1, 2023
# Objective

The feature doesn't have any use case in libraries or applications and many users use this feature incorrectly. See the issue for details.
Closes bevyengine#5753.

## Solution

Remove it.

---

## Changelog

### Removed

- `render` feature group. 

## Migration Guide

Instead of using `render` feature group use dependencies directly. This group consisted of `bevy_core_pipeline`, `bevy_pbr`, `bevy_gltf`, `bevy_render`, `bevy_sprite`, `bevy_text` and `bevy_ui`. You probably want to check if you need all of them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-App Bevy apps and plugins C-Enhancement A new feature C-Usability A simple quality-of-life change that makes Bevy easier to use
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants