Skip to content

v1.41.0 Changelog

December 11, 2024

Breaking Changes

  • Engine: To keep text visually the same size when the DPI setting is changed in scenes with pixel design-unit, the font sizes are now automatically scaled. Before text would appear smaller/larger when the DPI decreases/increases. This should usually be the desired behavior. If the old behavior should be kept, the font sizes can be scaled with newDPI/previousDPI when the dpi in pixel scenes is changed.

Non Breaking Changes

  • Engine: Added a new boolean engine setting page/moveChildrenWhenCroppingFill for keeping the position, rotation and size of children of a page in sync with crop edits to the page’s fill.
  • Editor/Web: Fix correct asset being applied to canvas if confirmation dialog is being configured
  • Editor/Web: Fix asset library flickering in certain occasions when using custom panels
  • Editor/Web: Deprecate the AssetLibraryEntry[] type in favor of string[] for the Panel Builder Library entries property
  • Editor/Web: Fix hover state on canvas getting stuck on certain occasions
  • Engine: Fixed the relocateResource editor API to also update typeface URIs.
  • Editor/Web: Replace UI font Inter Bold with Inter SemiBold
  • Engine: fix rendering of pages with a dimension with a fractional pixel.
  • Editor/Web: Fixed that changing the width or height with the input values in the inspector did not update the crop values correctly and result in wrong aspect-ratio of the image fill.
  • Engine: Allow to automatically maintain the crop when using the block API setWidth/Height.
  • Engine: Updated the setWidth and setHeigth block APIs with an optional flag for maintaining the crop. If set, the crop values of, e.g., image fills are automatically updated so that the image is not stretched or squashed, see documentation.
  • Engine: Fixed fillParent block API to resize cropped elements without distorting their fill.
  • Editor/Web: Fix an issue where calling engine APIs inside the asset library entries style callback would not trigger reactivity.