# Changelog ## Unreleased ### Added - [Another fast compile flag for macOS][552] ### Changed - Breaking Change: [sRGB awareness for `Color`][616] - Color is now assumed to be provided in the non-linear sRGB colorspace, and constructors such as `Color::rgb` and `Color::rgba` will be converted to linear sRGB under-the-hood. - This allows drop-in use of colors from most applications. - New methods `Color::rgb_linear` and `Color::rgba_linear` will accept colors already in linear sRGB (the old behavior) - Individual color-components must now be accessed through setters and getters: `.r`, `.g`, `.b`, `.a`, `.set_r`, `.set_g`, `.set_b`, `.set_a`, and the corresponding methods with the `*_linear` suffix. [552]: https://github.com/bevyengine/bevy/pull/552 [616]: https://github.com/bevyengine/bevy/pull/616 ## Version 0.2.1 (2020-9-20) ### Fixed - [Remove UI queue print][521] - [Use async executor 1.3.0][526] [521]: [https://github.com/bevyengine/bevy/pull/521] [526]: [https://github.com/bevyengine/bevy/pull/526] ## Version 0.2.0 (2020-9-19) ### Added - [Task System for Bevy][384] - Replaces rayon with a custom designed task system that consists of several "TaskPools". - Exports `IOTaskPool`, `ComputePool`, and `AsyncComputePool` in `bevy_tasks` crate. - [Parallel queries for distributing work over with the `ParallelIterator` trait.][292] - e.g. `query.iter().par_iter(batch_size).for_each(/* ... */)` - [Added gamepad support using Gilrs][280] - [Implement WASM support for bevy_winit][503] - [Create winit canvas under WebAssembly][506] - [Implement single threaded task scheduler for WebAssembly][496] - [Support for binary glTF (.glb).][271] - [Support for `Or` in ECS queries.][358] - [Added methods `unload()` and `unload_sync()` on `SceneSpawner` for unloading scenes.][339]. - [Custom rodio source for audio.][145] - `AudioOuput` is now able to play anything `Decodable`. - [`Color::hex`][362] for creating `Color` from string hex values. - Accepts the forms RGB, RGBA, RRGGBB, and RRGGBBAA. - [`Color::rgb_u8` and `Color::rgba_u8`.][381] - [Added `bevy_render::pass::ClearColor` to prelude.][396] - [`SpriteResizeMode` may choose how `Sprite` resizing should be handled. `Automatic` by default.][430] - [Added methods on `Input`][428] for iterator access to keys. - `get_pressed()`, `get_just_pressed()`, `get_just_released()` - [Derived `Copy` for `MouseScrollUnit`.][270] - [Derived `Clone` for UI component bundles.][390] - [Some examples of documentation][338] - [Update docs for Updated, Changed and Mutated][451] - Tips for faster builds on macOS: [#312][312], [#314][314], [#433][433] - Added and documented cargo features - [Created document `docs/cargo_features.md`.][249] - [Added features for x11 and wayland display servers.][249] - [and added a feature to disable libloading.][363] (helpful for WASM support) - Added more instructions for Linux dependencies - [Arch / Manjaro][275], [NixOS][290], [Ubuntu][463] and [Solus][331] - [Provide shell.nix for easier compiling with nix-shell][491] - [Add `AppBuilder::add_startup_stage_|before/after`][505] ### Changed - [Transform rewrite][374] - [Use generational entity ids and other optimizations][504] - [Optimize transform systems to only run on changes.][417] - [Send an AssetEvent when modifying using `get_id_mut`][323] - [Rename `Assets::get_id_mut` -> `Assets::get_with_id_mut`][332] - [Support multiline text in `DrawableText`][183] - [iOS: use shaderc-rs for glsl to spirv compilation][324] - [Changed the default node size to Auto instead of Undefined to match the Stretch implementation.][304] - [Load assets from root path when loading directly][478] - [Add `render` feature][485], which makes the entire render pipeline optional. ### Fixed - [Properly track added and removed RenderResources in RenderResourcesNode.][361] - Fixes issues where entities vanished or changed color when new entities were spawned/despawned. - [Fixed sprite clipping at same depth][385] - Transparent sprites should no longer clip. - [Check asset path existence][345] - [Fixed deadlock in hot asset reloading][376] - [Fixed hot asset reloading on Windows][394] - [Allow glTFs to be loaded that don't have uvs and normals][406] - [Fixed archetypes_generation being incorrectly updated for systems][383] - [Remove child from parent when it is despawned][386] - [Initialize App.schedule systems when running the app][444] - [Fix missing asset info path for synchronous loading][486] - [fix font atlas overflow][495] - [do not assume font handle is present in assets][490] ### Internal Improvements - Many improvements to Bevy's CI [#325][325], [#349][349], [#357][357], [#373][373], [#423][423] [145]: https://github.com/bevyengine/bevy/pull/145 [183]: https://github.com/bevyengine/bevy/pull/183 [249]: https://github.com/bevyengine/bevy/pull/249 [270]: https://github.com/bevyengine/bevy/pull/270 [271]: https://github.com/bevyengine/bevy/pull/271 [275]: https://github.com/bevyengine/bevy/pull/275 [280]: https://github.com/bevyengine/bevy/pull/280 [290]: https://github.com/bevyengine/bevy/pull/290 [292]: https://github.com/bevyengine/bevy/pull/292 [304]: https://github.com/bevyengine/bevy/pull/304 [312]: https://github.com/bevyengine/bevy/pull/312 [314]: https://github.com/bevyengine/bevy/pull/314 [323]: https://github.com/bevyengine/bevy/pull/323 [324]: https://github.com/bevyengine/bevy/pull/324 [325]: https://github.com/bevyengine/bevy/pull/325 [331]: https://github.com/bevyengine/bevy/pull/331 [332]: https://github.com/bevyengine/bevy/pull/332 [338]: https://github.com/bevyengine/bevy/pull/332 [345]: https://github.com/bevyengine/bevy/pull/345 [349]: https://github.com/bevyengine/bevy/pull/349 [357]: https://github.com/bevyengine/bevy/pull/357 [358]: https://github.com/bevyengine/bevy/pull/358 [361]: https://github.com/bevyengine/bevy/pull/361 [362]: https://github.com/bevyengine/bevy/pull/362 [363]: https://github.com/bevyengine/bevy/pull/363 [373]: https://github.com/bevyengine/bevy/pull/373 [374]: https://github.com/bevyengine/bevy/pull/374 [376]: https://github.com/bevyengine/bevy/pull/376 [381]: https://github.com/bevyengine/bevy/pull/381 [383]: https://github.com/bevyengine/bevy/pull/383 [384]: https://github.com/bevyengine/bevy/pull/384 [385]: https://github.com/bevyengine/bevy/pull/385 [386]: https://github.com/bevyengine/bevy/pull/386 [390]: https://github.com/bevyengine/bevy/pull/390 [394]: https://github.com/bevyengine/bevy/pull/394 [396]: https://github.com/bevyengine/bevy/pull/396 [339]: https://github.com/bevyengine/bevy/pull/339 [406]: https://github.com/bevyengine/bevy/pull/406 [417]: https://github.com/bevyengine/bevy/pull/417 [423]: https://github.com/bevyengine/bevy/pull/423 [428]: https://github.com/bevyengine/bevy/pull/428 [430]: https://github.com/bevyengine/bevy/pull/430 [433]: https://github.com/bevyengine/bevy/pull/433 [444]: https://github.com/bevyengine/bevy/pull/444 [451]: https://github.com/bevyengine/bevy/pull/451 [463]: https://github.com/bevyengine/bevy/pull/463 [478]: https://github.com/bevyengine/bevy/pull/478 [485]: https://github.com/bevyengine/bevy/pull/485 [486]: https://github.com/bevyengine/bevy/pull/486 [490]: https://github.com/bevyengine/bevy/pull/490 [491]: https://github.com/bevyengine/bevy/pull/491 [495]: https://github.com/bevyengine/bevy/pull/495 [496]: https://github.com/bevyengine/bevy/pull/496 [503]: https://github.com/bevyengine/bevy/pull/503 [504]: https://github.com/bevyengine/bevy/pull/504 [505]: https://github.com/bevyengine/bevy/pull/505 [506]: https://github.com/bevyengine/bevy/pull/506 ## Version 0.1.3 (2020-8-22) ## Version 0.1.2 (2020-8-10) ## Version 0.1.1 (2020-8-10) ## Version 0.1.0 (2020-8-10)