Releases: divkit/divkit
Releases · divkit/divkit
32.47.0
Android Client:
- Added image loading errors reporting.
- Fixed
ConcurrentModificationExceptionat ErrorCollector.notifyObservers() call. - Fixed an issue where
div-custombinding was called on a background thread. - Fixed loading of animated images in
.webpformat byGlideDivImageLoader.
iOS Client:
- Added
RasterizeExtensionHandlerto fix offscreen rendering issues in overlap containers. - Also reduced redundant full-card refreshes when only the pager size changes, and made automatic page changes on an infinite carousel more reliable.
- Fixed VideoBlock preview size.
- Fixed an issue on iOS where programmatic text updates left the caret at its previous position; the caret now moves to the end of the line.
- Fixed infinite
div-pager: after rotating the screen the carousel could freeze between pages or show the wrong page; it now stays aligned and flips correctly. The same applies to paging gallery when its size changes (e.g. rotation). - Supported reset of persistent variables and data in
DivKitComponents. - When a dictionary is turned into a string in expressions (for example
@{dict}ortoString(dict)), string keys and values are serialized with JSON-style escaping for special characters.
Web Client:
- Supported typed action
scroll_towith destinationitem_idand correspondingscroll_to_item_idaction url.
32.46.0
Android Client:
- Async binding no longer triggers if the DivData hasn't changed.
- Fixed alpha restoring at the end of fade animation in set of animations with different durations.
- Fixed memory leak in case when
Div2Viewis destroyed earlier than correspondingDiv2Context. - Headers are now important for accessibility.
- Supported custom typed actions.
- Supported reset of persistent variables and data in
DivStorage. - Supported typed action
scroll_towith destinationitem_idand correspondingscroll_to_item_idaction url.
iOS Client:
- Fixed a flickering issue in overlap container during transition animations caused by offscreen rendering.
- Fixed remote image distortion in wrap_content mode by using image size in points (scale = 1) for intrinsic layout.
Web Client:
- Added
set_cursor_positionaction. - Updated
sliderticks limits logic, the maximum number of ticks is now 1000.
32.45.0
Android Client:
- Fixed
Div2Viewself locks at async bindng.
iOS Client:
- Div-video
previewstrings (base64 image data, includingdata:URL form) are decoded on a background queue through the image holder pipeline instead of blocking layout on the main thread.
32.44.0
32.43.0
Android Client:
- Do not interrupt visit of div hierarchy without ExpressionResolverImpl.
- Fix ConcurrentModificationException during preload.
- Fixed
div-statestate restoring on rebind afterstate_id_variablechanges. - Shift debug view below status bar area.
Web Client:
- Fixed an issue where
visibility_actionswere called inside a component withvisibility=invisible. - The
!:operator now has higher precedence than logical and comparison operators.
32.42.0
Android Client:
- Fixed NoSuchElementException at
Div2View.trackChildrenVisibility()call. - Fixed showing of non-animated images in
gif-imagedownloaded viaGlideDivImageLoader. - Fixed showing of preview by url in
gif-imageafter rebind. - Prevent excessive lottie animations when div view is being recycled.
- Support
active_font_weight_valueandinactive_font_weight_valueintab_title_style. - Support preloading for lottie and video.
- Supported
.svgimages inPicassoDivImageLoaderandGlideDivImageLoader. - The
!:operator now has higher precedence than logical and comparison operators. video_sourcesmade optional forvideo.
iOS Client:
- Support
active_font_weight_valueandinactive_font_weight_valueintab_title_style. video_sourcesmade optional forvideo.
Web Client:
- Changed the default datetime conversion to a string according to the local time zone to better match other platforms.
- Fixed an issue with the layout of items in the
container, the total weight of which was less than 1. - Support
active_font_weight_valueandinactive_font_weight_valueintab_title_style. video_sourcesmade optional forvideo.
32.41.0
Android Client:
- Added
getTimestampfunction. - Added error logging for video playing.
- Fixed
ConcurrentModificationExceptionatPagerIndicatorConnector.attach()call. - Fixed an issue where non-modal tooltips intercepted the system back gesture on Android 10+.
iOS Client:
- Added SVG support in div-image preview.
- Added
getTimestampfunction. - Fixed z-order during transition_change animation.
Web Client:
- Added
getTimestampfunction. - Added support for the negative
letter_spacing.
32.40.0
32.39.0
Android Client:
- Fixed ConcurrentModificationException at
ErrorCollector.notifyObservers()call. - Fixed NoSuchElementException at
Div2View.discardChildrenVisibility()call. - Fixed incorrect transition duration inside a transition set.
- Fixed match_parent width child size inside a wrap_content parent with min size.
iOS Client:
- Added logging of video player fatal errors to
DivKitLogger. - Eliminated redundant animation triggers caused by isHighlighted oscillation during touch tracking.
- Fixed action_animation not returning to its original state, causing elements to remain visually stuck in the pressed (scaled down) state.
- Fixed animation playback in previews.
- Fixed the second slider thumb rendering with zero size when it first appears during an active snap animation.
- The number of ticks on the slider is limited to 1000 elements.
32.38.0
Android Client:
- Add variable description to VariableMutationException.
- Removed dependencies to
androidx.datastore:datastoreandorg.jetbrains.kotlin:kotlin-serialization.
iOS Client:
- Fixed Lottie animation repeat_count semantics: repeat_count now means the number of additional plays (repeat_count=0 plays once, repeat_count=1 plays twice, repeat_count=-1 plays infinitely).
- The custom action function has been implemented.
Web Client:
- Changed
lottiesrepeat_countlogic (to better align with other platforms).