DivKit 28.5.1

DivKit 28.5.1


Hello everyone! This week, we released a minor update: DivKit 28.5.0, and shortly after, a small hotfix: DivKit 28.5.1. We'd like to highlight the notable changes in these releases.

Android

  • Implemented a new class for managing global variables: DivVariableController.
    To create and manage global variables, simply create a DivVariableController and pass it to DivConfiguration.Builder#divVariableController. GlobalVariableController has been deprecated.
  • Fixed the issue with changing the background of an input on rebind.
  • Fixed the problem with applying max_height and max_width for items inside a gallery.
  • Fixed input multikey mask with a single pattern element.
  • Fixed the issue of gallery getting stuck when "scroll_mode": "paging".
  • Fixed triggering visibility_actions for the last item inside a pager.
  • Updated project dependencies:
    Kotlin to 1.8.22, Gradle to 8.3, Android Gradle Plugin (AGP) to 8.1.1.

iOS

  • Supported copy_to_clipboard action.
    Already supported for Android.
  • Supported functions array_insert_value and array_remove_value.
    Already supported for Android.
  • Supported functions getArray and getDict.
    Already supported for Android.
  • Fixed clickability of a margin area.
  • Changed visibility of DivBlockModelingContext.variablesStorage to public.

Web

  • palette and theme marked as deprecated.
    These variables were experimental and were supported only for the Web platform.
  • Fixed input multikey mask with the single pattern element.

Report Page