Skip to content

v1.0.0

Latest

Choose a tag to compare

@Goose97 Goose97 released this 22 Mar 15:05
77b5691

1.0.0 (2025-03-22)

⚠ BREAKING CHANGES

  • remove VerticalScrollableRect component
  • we don't support title as list anymore. Also, attributes for title like color or text_modifiers have been removed in favor of styling with rect element.
  • update handle_event/4 callback
  • handle_event now receives 4th argument

Features

  • add before_update/2 callback (a8ccb34)
  • add footer support for rect (99bfe77)
  • add gap support for flex and grid (e65ecf6)
  • add grid_auto_rows and grid_auto_columns support (1501879)
  • add min/max width and height (15d4691)
  • add Orange test framework (bb42989)
  • add scroll_bar style attribute (d66ce30)
  • add support for absolute position (21179d5)
  • add update callback to before_update/3 (ab79991)
  • background text with color and text modifiers (fa0a029)
  • component: add tab bar (6e0a4e2)
  • don't crash if component_id is not found (243d182)
  • fixed position doesn't have to specify all offsets (0a444ea)
  • handle multi code point chars (e9b76f1)
  • handle_event now receives 4th argument (fb82792)
  • implement API to get layout information (1721b5f)
  • modal: style from attrs has higher precedence (85d6ee9)
  • move rounding logic to Elixir app (fd291c2)
  • multi strings title (f8019e0)
  • raise error if encounter invalid children (780ef78)
  • remove VerticalScrollableRect component (35efe32)
  • render scrollbar when scroll_x or scroll_y is specified (9e50eff)
  • rework test buffers capture interface (b4c2367)
  • scroll bar color should match border color (c6abb19)
  • support background_text attribute (dcdf58f)
  • support custom char for empty cell for Buffer.to_string/2 (530d863)
  • support more border styles (8a1bf00)
  • support title alignment (73455d2)
  • support title as a rect element (505c141)
  • test: add :function type event (829e27c)
  • test: add more test utilities (56830c8)
  • test: range assertions (b424bb2)
  • update handle_event/4 callback (fb944db)

Bug Fixes

  • absolute children doesn't have styles (ab9f646)
  • absolute elements inside scrollable elements (b9e62f4)
  • add deadline to batch update (f4eddf8)
  • adjust rounding algorithm (9823a92)
  • app should not crash on EXIT message (5754a90)
  • broken tests (c379ae7)
  • broken tests (67a1b73)
  • crash on out of bounds background color set (bc150e3)
  • crash when children is nil (48be708)
  • crash when children list contains nil (2a0d651)
  • crash when clear out of bound area (a80a328)
  • crash when render out of bound content (a251ad8)
  • crash when scrollable elements have 0 width or height (31bf10a)
  • don't crash if component is not found (cb6d4d7)
  • don't crash on out of bounds write (e52551c)
  • fixed and absolute children doesn't inherit style from parent (6962319)
  • handle zero width/height elements (184cc2a)
  • incorrectly render text with leading or trailing whitespaces (7f03c59)
  • missing elements within fixed nodes in output tree lookup (47b3194)
  • missing unmount components (cb860a0)
  • scroll crash on rect (b2e86c3)
  • set background cell color crash on unsize buffer (193b288)
  • single text rect doesn't apply style properly (9cf60be)
  • single word text with leading whitespaces render incorrectly (45be8b1)