Skip to content

Files

Latest commit

 

History

History
128 lines (88 loc) · 4.55 KB

CHANGELOG.md

File metadata and controls

128 lines (88 loc) · 4.55 KB

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project vaguely adheres to Semantic Versioning.

unreleased

0.3.0 (2025-02-09)

added

  • BoxShadow, ScrollPosition, and GlobalZIndex convenience methods for base elements

changed

  • Upgraded Bevy to 0.15.2
  • GlobalEventAware can register multiple handlers for the same event type, and the registering entity and event data is passed into the handler
  • .on_click_outside methods use GlobalEventAware rather than bespoke handling
  • Completed tasks are cleaned up on completion rather than waiting until entity despawn
  • Updated examples to use latest Bevy and haalka idioms

fixed

  • Text input focus desyncing

0.2.4 (2025-02-04)

fixed

  • OnHoverMouseWheelScrollable methods only scroll when the element is hovered

0.2.3 (2025-01-05)

fixed

  • Removed and ignored development trunk artifact which was inflating crate size

0.2.2 (2025-01-05)

added

  • wasm support
  • Serve wasm examples via github pages, including pr previews
  • .on_viewport_location_change methods for reacting to viewport changes
  • DebugUiPlugin, thin helper wrapper over bevy's debug ui overlay
  • CI

fixed

  • OnHoverMouseWheelScrollable handles scrolling outside scene boundaries when LimitToBody is lax.

changed

  • MutableViewportSettings renamed to MutableViewport
  • PointerEventAware::on_hovered_change_with_system is a deferred update
  • Don't .gitignore Cargo.lock
  • Use granular bevy_... dependencies

0.2.1 (2024-10-19)

added

  • multicam feature

0.2.0 (2024-10-12)

added

  • PointerEventAware::on_click_outside... methods
  • RawHaalkaEl::observe
  • RawHaalkaEl::on_remove for adding removal hooks to elements
  • RawHaalkaEl::on_spawn_with_system
  • Enter and Leave events triggered by hover management system
  • Component-based event handler blockability
  • PointerEventAware pressing with system methods with throttle variants
  • ElementWrapper::into_el for encapsulating ultimate element building logic
  • text_input::FocusedTextInput resource for exposing control of bevy_cosmic_edit focus
  • BasicScrollHandler correctly handles ScrollDirection::Both, holding shift to scroll horizontally
  • BorderRadius convenience methods for base elements
  • Release CI powered by release-plz
  • impl From<RawHaalkaEl> for all built-in element types
  • Signal utility signal_eq
  • raw::utils module containing utilities for managing RawHaalkaEls
  • raw::AppendDirection renamed to DeferredUpdaterAppendDirection

changed

  • Upgraded Bevy to 0.14.2
  • Multiple scrolling, pressed/pressing, text input focus change, and text input change handlers can be registered on the same entity
  • Reactive methods and event handling use one shot systems throughout
  • Child entities attached to parents before being populated
  • Hovering methods triggered by observers on Enter and Leave
  • Cursor API uses observers
  • Control input focus using text_input::FocusedTextInput instead of bevy_cosmic_edit::FocusedWidget
  • Scrollable renamed to MouseWheelScrollable (HoverableScrollable to OnHoverMouseWheelScrollable) and methods migrated to observers
  • Cursorable renamed to CursorOnHoverable and is component driven with a signal layer on top
  • Library modules reorganized to better control privacy and clarify docs
  • Scrollability wrapper element management moved to ViewportMutable::mutable_viewport
  • Re-export bevy_cosmic_edit, which re-exports cosmic-text

fixed

  • Throttle-able pressing functions now correctly block immediately after the first press
  • ViewportMutable elements can now be self-aligned
  • UiRootable::ui_root adds Pickable component

0.1.1 (2024-07-18)

added

  • Reactive cursor API via Cursorable trait
  • Cursor API usage in the inventory example (with issues)
  • calculator example
  • Convenience methods for RawHaalkaEl: on_event_disableable, on_event_mut_disableable, and on_event_propagation_stoppable_disableable
  • Nameable convenience trait, for reactively setting the Name component
  • Signal/Mutable utilities sync, sync_neq, and flip
  • UiRootable trait, for marking the UI root

changed

  • Use one shot system in RawHaalkaEl::on_event_with_system_disableable

fixed

  • Static children are now spawned synchronously, eliminating the pop in visible when done asynchronously

0.1.0 (2024-06-27)

added

  • Initial release