Skip to content

v0.8.0

Latest

Choose a tag to compare

@eckz eckz released this 22 Jun 09:27

Added

  • Added derive macros for ComponentProperties. Many internals like ComponentPropertyRef have been rewritten
  • Alternative, added support for registering Component properties using reflection only by calling property_registry.register_using_reflection(..).
  • Added visiblity property support (#49)
  • Added support for the following new properties in bevy 0.19: direction, text-decoration-line, text-decoration-color, font-weight, font-width, font-style, font-feature-settings, font-variation-settings, letter-spacing.

Changed

  • Added support for Bevy 0.19.
  • Upgraded cssparser to 0.37.
  • NodeStyleSheet component renamed to Styled. Any entity can be styled, not just a Node.
  • Other internal components renamed for consistency
    • NodeStyleData component renamed to StyleData.
    • NodeStyleMarker -> StyleMarkers.
    • NodeStyleActiveRules -> StyleActiveRules.
    • NodeStyleSelectorFlags -> StyleSelectorFlags.
    • CustomUiRoots -> StyledRoots.
    • CustomUiChildren -> StyledChildren.
  • Removed Siblings component.
  • Some class names were rewritten to look similar to css standards (e.g. Ruleset => Block ).
  • Some internal reworks make some changes for internal interfaces and structs. This should not affect most users. Performance should have been improved in most cases.
  • Renamed feature experimental_ghost_nodes to ghost_nodes.
  • Some detailed traces are hidden behind the detailed_trace feature now.
  • Allow transitions to overshoot (#50)

Fixed

  • Fixed support for non-UI entities in the style hierarchy. This mainly affected hierarchies with Text. This was previously supported, but it stopped working at some point.
  • Fixed an issue where properties depending on vars were not recomputed when the UI tree changed. Added a test to validate these use cases.
  • Fixed an issue where multiple animations were not properly handled when one was disabled (#48)