- Added indicator items stretching mode
- Added baseline alignment in wrap container
- Fixed patch applying
- Fixed crash on invalid patch field
- Fixed blur when radius is 0
- Fixed redrawing after blur radius changed
- Fixed slider failure.
- Fixed height for linear container
- Fixed line height in wrap container
- Added baseline alignment in linear container
- Added blur and tint mode support
- Added baseline alignment in DivContainer
- Improved DivErrorsStorage
- Added
div-timer
- Added zero blur radius support
- Added
border
andbackground
for text range
- Align elements in wrap container rows by default
- Added generated method to apply patch
- Fixed expressions serialization
- Fixed shadows in DivGallery
- Added separators support in DivContainer
- Added
div-blur
anddiv-blur-background
- Added
baseline_alignment
todiv-container
- Added blur implementation
- Added extensions unbind for DivCustom
- Added static method for version name
- Added hyphenation support for DivText with custom ellipsis
- Fixed DivCustom behaviour in regression tests
- Fixed overlap DivContainer children size measure
- Fixed applying paths in Playground
- Fixed missing ellipses
- Open url if DemoActivity opened from intent
- Added image blur implementation
- Added separators support in DivContainer
- Fixed DivPager last page layout
- Fixed overlap DivContainer children size measure
- Fixed memory leak in PinchToZoomExtensionHandler
- Fixed screen capture for web preview
Additions:
- Added
setTheme
instance method filters
(onlyblur
is supported so far) implemented for theimage
and image background
Fixed:
Enter
handling in multiline input
- Synchronized version number with DivKit version
- Added
tint_mode
for images indiv-text
- Added circle shape
- Implemented Nine-patch background
- Implement separators in wrap container
- Implemented tint_mode for images in div-text
- Fixed applying patches in demo app
- Fixed escaping symbols processing in expressions
- Fixed expression result convertion for string properties
- Updated Lottie dependency to 3.5.0
- Added Lottie prefetching
- Combined video and images prefetching
- Supported nested ternary operator
- Added rendering time in Playground
- Fixed pager state change behavior
- Fixed Lottie animation strarting
- Fixed escaping symbols processing in expressions
- Fixed animations for div-text
- Added
circle
shape support - Supported
no_animation
andnative
values for theaction_anmation
- Supported
tint_mode
- Added Nine-patch background
- Added separators in linear layout
- Fixed text style change after slider position change
- Fixed invalid view visibility on change state
- Fixed gallery pages position
- Fixed attaching pager indicator
- Added text gradient support
- Implemented Nine-patch background
- Fixed animation traits
- Implemented Nine-patch background
- Supported for the
selected_actions
inpager
- Fixed color values convertion
- Added
cross_spacing
support for gallery - Added
tint_mode
fordiv-image
- Added separator in DivContainer
- Added circle shape to schema
- Updated description for
longtap_actions
anddoubletap_actions
Additions and changes:
- Implemented support external theme in DivContext
- Implemented
tint_mode
for DivImage - Implemented
cross_spacing
for Gallery - Implemented
wrap_content_constrained
- Added divider between elements in container to schema
- Added avoid creating
DivBorderDrawer
if it will not used - Added show warning on
wrap_content
container withmatch_parent
child size Fixes: - Fixed list of expressions generating
- Added
cross_spacing
support in DivGallery. - Added radial gradient support.
- Improved
match_parent
items behaviour in DivContainer and DivGallery. - Fixed invisible items size.
- Fixed actions handling in Sample app.
Additions:
- Support for the
wrap
layout mode in acontainer
- Support for the
cross_spacing
property ingallery
doubletap_actions
andlongtap_actions
are now supoorted in actionable components- Support for the
appearance_animation
inimage
- Support for the
restrict_parent_scroll
property intabs
,gallery
andpager
- 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 thetext
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 ofstring
(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 where
transition_in
,transition_out
andtransition_change
incorrectly discarded thealpha
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
Additions and changes:
- Implemented alignments in
WrapLayout
- Implemented radial gradient
- Implemented warnings on slider ticks overlap each other
- Implemented visibility transition support
- Allow patch multiple view with same id
Fixes:
- Fixed Lottie extension params parsing
- Clarification of wrap container documentation
- Added radial gradient schema
Additions and changes:
- Implemented
WrapLayout
- layout with transfer of elements to the next line if they don't fit in the previous one - Implemented showing of rendering time in demo activity
- Improved snapshot tests Fixes:
- Fixed concurrent modification of variables
- Fixed
tint_color
observing on element's rebind - Fixed lottie resources providing for tests
- Added Swift Package Manager support
- Fixed concurrency issues in
DivStateManager
andDivVariablesStorage
- Improved
DivContainer
height calculation - Improved snapshot tests
Added:
radial_gradient
support
Additions and changes:
- Added image change subscription
- Moved
observeTintColor
intobind
method - Refactored
DivBorderDrawer
- Parsing patch from JSON
- Changed host tag
- Disabled bind on attach
- Implemented replacing of link or json when paste from buffer in demo-app
- Supported
true
/false
literals into variables - Bind
input
type for accessibility Fixes: - Fixed regression screen at release builds of demo-app
- Fixed image blinking on rebind
- Fixed text alignment in
input
when rtl enabled - Fixed extensions reuse
Additions and changes:
- Added
true
/false
values support inset_variable
actions - Added
wrap
mode in DivContainer - Added interactive snapshot tests
- Improved public API
- Improved dark mode in DivKit Playground
- Updated bool values parsing in set_variable actions Fixes:
- Fixed transition animations
- Fixed DivContainer error messages
Additions and changes:
- 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
Addition:
- Implemented flags for hash files
Additions and changes:
- improve actions binding
- cover generator with tests Fixes:
- use public gradle distribution url
- Added test data into DivKit Playground
- Added color themes support in DivKit Playground
- Added DivInput tests
- Improved public API
- Fixed DivInput keyboard behavior
- Fixed boolean values serialization
Addition:
transform
is now supported for thebase
component
Additions and changes:
- Supported rotation transformation
- Switched to new API Generator Fixes:
- Fixed build configuration
- Added LottieExceptionHandler
- Added focus support in DivInput
- Renamed DivKit Demo to DivKit Playground
- Fixed DivData states transition
- Fixed visibility actions for transitioning blocks
- Fixed text alignment in DivInput
- Fixed camera initialization in DivKit Playground
- Improved parseDivData methods in DivKitComponents
- Improved Sample app
- Updated
input
to sync with the schema, also fixedtext_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
Fixes:
- Minor fixes in documentation
Changes and additions:
- Added code samples to sample app
- Added README
- Minor UI tweaks in Playground app
Changes and additions:
- Added sample app
- Supported
alignment
,max_visible_lines
andselect_all_on_focus
fordiv-input
- Minor UI tweaks in Demo app
- Text selection in
div-input
can be cleared by tap to outside area
Fixes:
- Fixed scale animation with zero factor
- Fixed text selection in multiline inputs
Changes and additions:
- Messages of expression parsing errors made more informative
Changes and additions:
- Added translations for property descriptions
max_lines
renamed tomax_visible_lines
Changes and additions:
- Redesigned demo activity in Playground app
- Removed unnecessary permissions for Playground app
- Removed theme setting from Playground app
- Updated Playground app icon
- Added sample app
Fixes:
- Fixed flickering during video loading
Changes and additions:
text_variable
,highlight_color
andkeyboard_type
support in DivInput- Demo app refactoring and redesign
Fixes:
- Fixed
action_animation
on iOS
Fixes:
- Fixed serialization of overloaded template properties