Skip to content

Upgrade to Bevy 0.19.0-rc.2#14

Merged
foxzool merged 4 commits into
masterfrom
bevy-upgrade/0.19/bevy_http_client
May 27, 2026
Merged

Upgrade to Bevy 0.19.0-rc.2#14
foxzool merged 4 commits into
masterfrom
bevy-upgrade/0.19/bevy_http_client

Conversation

@foxzool
Copy link
Copy Markdown
Owner

@foxzool foxzool commented May 13, 2026

Summary

Upgrade bevy_http_client from Bevy 0.18.0 to 0.19.0-rc.2.

Changes

Core

  • Bump all Bevy dependencies to 0.19.0-rc.2
  • Bump crate version to 0.11.0

Example fixes (0.19 UI changes)

Bevy 0.19 changed how UI nodes are extracted to the render world, so the window example rendered nothing after the version bump.

  • Add missing bevy_ui_render feature to dev-dependencies (required for UI extraction in 0.19)
  • Drop IsDefaultUiCamera (not needed anymore, Camera2d alone is sufficient)
  • Replace Display::Grid with Display::Flex + fixed dimensions
  • Remove Node::default() nesting (text entities are now direct children of the camera)
  • Use TextFont::from_font_size() for the built-in default font

Breaking changes

  • Requires Bevy 0.19.0-rc.2+
  • Font API changed: FontSize::Px() -> TextFont::from_font_size()

Verification

Check Status
Test Suite
Clippy
Format
Build Examples
Documentation

Follow-up

Once Bevy 0.19 stable drops, swap -rc.2 for the stable version. No code changes needed.

- Bump bevy dependencies from 0.18.0 to 0.19.0-rc.1
- Update crate version to 0.11.0
- Fix window example font_size API change (FontSize::Px)
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 148e3e296e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Cargo.toml Outdated
bevy_ecs = { version = "0.18.0", features = ["multi_threaded"] }
bevy_tasks = "0.18.0"
bevy_log = "0.18.0"
bevy_app = "0.19.0-rc.1"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid shipping stable crate with prerelease Bevy ranges

Using 0.19.0-rc.1 as a normal version requirement in a published stable library means Cargo can automatically resolve to later 0.19.x releases (including the final 0.19.0) for new consumers without a lockfile. Cargo’s own guidance warns this is risky because prerelease lines may introduce breaking changes before/at final release, so downstream users can hit unexpected build/runtime regressions even if this crate version is unchanged. Consider either making this crate version a prerelease too, or pinning exact prerelease versions until the stable Bevy release is validated.

Useful? React with 👍 / 👎.

foxzool added 2 commits May 15, 2026 16:05
- Add missing 'bevy_ui_render' feature to Cargo.toml dev-dependencies.
  Without it, UI nodes are laid out but never extracted to the render
  world, making them completely invisible.

- Fix example UI setup:
  * Remove IsDefaultUiCamera (Camera2d alone is sufficient in 0.19)
  * Replace Display::Grid with Display::Flex + fixed dimensions
  * Remove Node::default() nesting (Text entities now direct children)
  * Use TextFont::from_font_size() for built-in default font
@foxzool foxzool changed the title Upgrade to Bevy 0.19.0-rc.1 Upgrade to Bevy 0.19.0-rc.2 May 27, 2026
@foxzool foxzool merged commit 788e5d7 into master May 27, 2026
5 checks passed
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.

1 participant