Skip to content

Latest commit

 

History

History
223 lines (137 loc) · 7.13 KB

File metadata and controls

223 lines (137 loc) · 7.13 KB

15.0.0 (November 14, 2022)

  • Added separators support in DivContainer

14.0.0 (November 7, 2022)

Additions:

  • Added setTheme instance method
  • filters (only blur is supported so far) implemented for the image and image background

Fixed:

  • Enter handling in multiline input

13.0.0 (October 30, 2022)

Additions:

  • Added circle shape support
  • Supported no_animation and native values for the action_anmation
  • Supported tint_mode

12.0.0 (October 18, 2022)

Additions:

  • Implemented Nine-patch background
  • Supported for the selected_actions in pager

Changes and fixes:

  • Fixed color values convertion

11.0.0 (October 12, 2022)

Additions:

  • Support for the wrap layout mode in a container
  • Support for the cross_spacing property in gallery
  • doubletap_actions and longtap_actions are now supoorted in actionable components
  • Support for the appearance_animation in image
  • Support for the restrict_parent_scroll property in tabs, gallery and pager
  • Root states are now properly supported

Changes and fixes:

  • Updated the wrap_content logic, this would lead to a different layout in some corner-cases
  • Boolean values from exressions are now correctly converted to the string false / true in the text block
  • The layout of the slider has been changed to sync with other platforms, now the text offset will not change the size of the component. Also now there may be more than 20 ticks
  • Updated color functions according to the latest changes. Now several of them would return the type color instead of string (rgb, rgba, setColorRed and others)
  • Components will now correctly unregister when destroyed, so recreated elements will work properly (for example, actions to change the current element in the gallery, nested state elements and others)
  • Fixed logic of expression processing Previously, if a string was considered an "expression", it was processed as it, otherwise it would be used as a simple string. But sometimes this check worked incorrectly and processed expressions as a string. This is now fixed. It also means that some strings will now require proper escaping, so be sure to check this in your project (previously,these strings "just worked" without escaping because they were not treated as expressions)
  • Now elements with custom actions can be focused, as it was with simple URLs. This would result to better accessibility in such cases (these elements also accept the keyboard input!)
  • Fixed the visibility of the gallery arrows on desktops in several cases
  • Fixed a case wheretransition_in, transition_out and transition_change incorrectly discarded the alpha component property
  • Component actions will now wait for the result of each of them. This means that you can create an array using 2 actions: one to change the state, and the second to change the created component inside the state

9.0.0 (September 27, 2022)

Web Client:

Added:

  • radial_gradient support

8.0.0 (September 20, 2022)

Changes and additions:

  • BooleanInt props now accepts booleans too
  • Implemented boolean values for boolean variables
  • Reworked container layout
  • Added package tests
  • Downgraded babel-preset-jest, so it is possible to run divkit tests with an older version of the node.js

Fixes:

  • Fixed zero-values in action_animation
  • Fixed grid recalculation
  • Fixed layout of pager child elements when their size is too small

7.0.0 (September 13, 2022)

Addition:

  • transform is now supported for the base component

6.0.0 (September 6, 2022)

Changes:

  • Updated input to sync with the schema, also fixed text_color and height
  • Fixed the behavior of transition_in / transition_out (when to start and when not to start animation)
  • Fixed the default value of variable_trigger.mode

5.0.0 (September 5, 2022)

Changes and additions:

  • Messages of expression parsing errors made more informative

4.0.0 (August 29, 2022)

  • Fixed action_animation on iOS

3.0.0 (August 18, 2022)

Version now in sync with the Android and iOS.

Changes and additions:

  • Changed gallery items alignment
  • Changed variables' types processing in expressions
  • Added additional functions for Color and Url
  • Changed wrap_content / match_parent in several cases to better match the Android layout. Better match_parent inside wrap_content handling. Better match_parent inside container with overlap. Container now can have multiple constrained children.

Fixes:

  • Fixed gallery inside other gallery
  • width and height can now be zero
  • Fixed extra unused css variables in html
  • Fixed the case with string interpolation without closing bracket

1.12.0 (August 10, 2022)

Additions:

  • Added support for animations on visibility change
  • Added action_animation support
  • Added transition_change support

Fixes and changes:

  • Layout fixes for state, gallery and container
  • Layout fixes for image with wrap_content
  • Fixed an issue with text when correct text value changed to incorrect

1.11.1 (August 10, 2022)

  • Fixed theme prop in render

1.11.0 (July 29, 2022)

Variables:

  • New API: now variables are objects with methods to subscribe, getValue, setValue, etc
  • Added GlobalVariablesController. One can now use same variables across multiple instances of DivKit, that keep their values in sync
  • DEPRECATION: Old methods getVariable / setVariable is deprecated

Added:

  • input component
  • Experimental palette support

1.10.1 (July 14, 2022)

  • Fixed onCustomAction types

1.10.0 (July 14, 2022)

  • Added slider block
  • Added support for expressions and variable_triggers
  • Improved a11y for indicator and pager

1.9.0 (June 27, 2022)

  • Added onCustomAction callback support
  • Added default_item support for gallery
  • Added indicator block
  • Added id support for state (div_id was deprecated)
  • Added set_current_item, set_previous_item, set_next_item actions support for pager
  • Added div-action:// and custom action support in visibility actions

1.8.0 (June 16, 2022)

New features:

  • Added interpolation for variables in strings
  • Added visibility support for base block (w/o animation)
  • Added selectable property support for text block (and now text by default cannot be selected, to match Android / iOS behaviour)

Fixes:

  • Fixes for grid's children sizing
  • Recursive templates now correctly produces error instead of infinity loop

1.7.0 (June 6, 2022)

  • Added variables support

1.6.0 (June 6, 2022)

  • Added pager block
  • Added support for switch_tabs_by_content_swipe_enabled in tabs
  • Added support for tint_color in image, gif-image, text

1.5.0 (May 24, 2022)

  • Added support for set_current_item, set_previous_item, set_next_item actions in tabs and gallery

1.4.0 (May 16, 2022)

  • Added support for shadow in base block
  • Fixed build for older browsers

1.3.0 (May 5, 2022)

  • Added support for active_font_weight / inactive_font_weight in tabs' style

1.2.0 (April 29, 2022)

  • Added state block

1.1.0 (April 4, 2022)

  • Added support for corner_radius / corners_radius in tabs' style

1.0.0 (March 22, 2022)

  • Initial release