DivKit 28.2.0

DivKit 28.2.0


Hi everyone! We are excited to announce the release of DivKit 28.2.0, a minor version update with several notable changes.

Android

  • Implemented text shadow.
    From now you can set field text_shadow field for DivText. You can configure alpha, blur, offset and color.
{
  "type": "text_block",
  "text": "Text with shadow",
  "text_shadow": {
    "alpha": 0.9,
    "color": "#FFFF00",
    "blur": 3,
    "offset": {
      "x": {
        "unit": "px",
        "value": 2
      },
      "y": {
        "unit": "px",
        "value": -2
      }
    }
  }
}  
  • Added support of new content alignment types in container: space-aroundspace-betweenspace-evenly.
  • Implemented action focus_element.
    div-action://focus_element?element_id=element_id request focus for view with id==element_id.
  • Fixed drawing items with shadow inside overlap container.
  • Fixed patching items inside gallery and pager.

iOS

  • Improved DivSlider performance.
  • Fixed memory leaks in ExpressionResolver.
  • Fixed DivContainer with constrained children height.

Kotlin JSON Builder

  • Fixed missing * symbol in URL validating regex.


Report Page