Skip to content

v0.4.0-alpha.55

Pre-release
Pre-release

Choose a tag to compare

@M-Adoo M-Adoo released this 21 Jan 06:01

🎨 Features

  • cli: overhaul bundle command with build/pack subcommands and auto-profile detection (#855 @M-Adoo)
  • core: introduce TwoWay binding for bi-directional data synchronization (#842 @M-Adoo)
  • macros: add event attribute to #[declare] for automated state write-back (#842 @M-Adoo)
  • macros: automate asset integration for bundling via build-time manifest recording (#855 @M-Adoo)
  • widgets: add on_action for unified tap, Enter, and Space handling (#844 @M-Adoo)
  • widgets: initialize gallery example project (#854 @M-Adoo)

πŸ› Fixed

  • macros: auto-bind self-event handlers for uncontrolled fields (#852 @M-Adoo)
  • tools: switch pr-bot to pull_request_target for secret access on forks (#844 @M-Adoo)
  • widgets: refactor Slider layout and support click-to-update interaction (#842 @M-Adoo)
  • πŸ› fix asset path resolution during cargo package (#836 @M-Adoo)
  • πŸ› switch to pull_request_target and support it in ribir-bot (#840 @M-Adoo)

πŸ”„ Changed

  • macros: deprecate #[simple_declare] in favor of #[declare(simple)] (#839 @M-Adoo)
  • macros: refactor Declare macro implementation and introduce #[declare] attribute macro (#839 @M-Adoo)
  • macros: replace #[derive(Declare)] with a more flexible #[declare] attribute macro (#844 @M-Adoo)
  • themes: update default neutral palette colors and refresh visual test snapshots (#850 @M-Adoo)
  • tools: migrate bundle configuration to [package.metadata.bundle] in Cargo.toml (#855 @M-Adoo)
  • tools: move cli package to tools/cli and update workspace structure (#844 @M-Adoo)
  • tools: switch to cargo-workspaces for release management (#850 @M-Adoo)
  • widgets: refactor Checkbox, Slider and RangeSlider to use event-driven state updates (#852 @M-Adoo)
  • widgets: use new event declaration for Checkbox to simplify implementation. (#851 @M-Adoo)

πŸ“š Documentation

  • add Interactive Widget Design standard document (#842 @M-Adoo)
  • update documentation for the new bundling system and asset integration (#855 @M-Adoo)
  • update documentation and examples to use the new #[declare] macro (#839 @M-Adoo)

πŸ’₯ Breaking

  • core: rename on_custom_concrete_event to on_custom and on_custom_event to on_raw_custom (#842 @M-Adoo)
  • macros: replace #[simple_declare] with #[declare(simple)] (#842 @M-Adoo)
  • widgets: CheckboxEvent and CheckState are removed in favor of CheckboxChanged. (#851 @M-Adoo)
πŸ”§ Internal
  • ci: optimize CI workflow speed and parallelism (#841 @M-Adoo)
  • test(core):πŸ’ improve new_test_frame to handle complex widget layout… (#835 @M-Adoo)
  • move cli to tools/cli and update toolchain checks (#838 @M-Adoo)
  • tools: optimize CI performance using nextest and parallelization (#850 @M-Adoo)
  • implement Ribir release automation system (#837 @M-Adoo)