v1.7.0 Changelog
August 11, 2022
See the announcement post for details on features.
Breaking Changes
- CESDK: Change export options provided to the onExport callback
options['image/jpeg'].quality
-> options.jpegQualityoptions['image/png'].compressionLevel
-> options.pngCompressionLevel
- UBQ: Update zoom APIs to be more user-friendly
editor.getZoomLevel
->scene.getZoomLevel
editor.setZoomLevel
->scene.setZoomLevel
get
/setZoomLevel
is in relation to pixel dimensions instead of design units of the scene, which requires an update of the values if the scene is in design unit inch or millimeter
- CESDK: Changed translation keys in the settings panel
- UBQ: Replace backgroundColor properties (
backgroundColor/color
,backgroundColor/enabled
) of the page block with fill properties (fill/enabled
,fill/gradient/type
,fill/solid/color
,fill/type
). - CESDK: UI (Default or Advanced) is now independent of Role (Creator or Adopter).
- Configuration key
ui.elements.view.adopter.style
has been removed. - Configuration key
ui.elements.view.style
is used to configure the view for all roles.
- Configuration key
- UBQ: Asset Source
findAssets
does not have a ‘type’ argument anymore. All user-configured asset source have to remove thetype
as well - CESDK: Removed the following configuration entries. It is replaced by configuration of
ui.elements.libraries.insert.entries
andui.elements.libraries.replace.entries
ui.elements.libraries.upload
has been removed.ui.elements.libraries.template
has been removed.ui.elements.libraries.image
has been removed.ui.elements.libraries.text
has been removed.ui.elements.libraries.element
has been removed.
- CESDK: Deprecate
libraries.panel.insert
andlibraries.panel.replace
and move their entries tolibraries.insert
andlibraries.replace
- UBQ: Rename drop shadow related function and properties:
[get/set]DropShadow[X/Y]Offset
->[get/set]DropShadowOffset[X/Y]
[get/set]DropShadow[X/Y]BlurRadius
->[get/set]DropShadowBlurRadius[X/Y]
dropShadow/x/offset
->dropShadow/offset/x
dropShadow/y/offset
->dropShadow/offset/y
dropShadow/x/blurRadius
->dropShadow/blurRadius/x
dropShadow/y/blurRadius
->dropShadow/blurRadius/y
- UBQ:
hasPlaceholderContent
has been renamed toshowsPlaceholderContent
- CESDK: Changed i18n key
input.document
toinput.canvas
- CESDK: default stroke position is centered rather than outside
Non Breaking Changes
- CESDK: Add option to auto close asset library after insert or replace
- UBQ: new API functionality to add and edit a block’s drop shadow
- CESDK: Update border radius values
- UBQ: Add export options to export API
- UBQ: Introduce asset API
- CESDK: Add Stroke controls to Default UI for Images
- UBQ: Add setting to control double-click behavior
- UBQ: Add gradient option to page fill
- UBQ: Add block metadata API
- CESDK: Add labels to Shape Options sliders.
- CESDK: Improved UI usability on small screens
- CESDK: Fix Unsplash library displaying the same image multiple times
- CESDK: Fix filter card labels not readable in dark theme
- CESDK: Can rotate and flip groups
- CESDK: Fix template library cards displaying templates wrong
- CESDK: Add configurable icons for custom libraries
- UBQ: Add scopes API
- CESDK: Add Shadows controls to Advanced UI
- CESDK: Fixed line shape handles not moveable in some conditions
- CESDK: Add possibility to pass function to dock group configuration
- CESDK: Add stroke to pages.
- UBQ: Always clip content to pages on export
- CESDK: Add effect & blur APIs.
- CESDK: Fix to properly ignore mouse events over UI elements
- CESDK: Remove text background color from the UI
- CESDK: Fix word wrapping of text for keyboard input in Safari
- CESDK: The entry point for the Creative Engine at
@cesdk/cesdk-js/creative-engine.umd.js
has been removed. Use the@cesdk/engine
package instead. - CESDK: Fix translation issues in the asset library
- CESDK: Change default template card backgroundType to
contain
- CESDK: Added support for changing cursors depending on the action performed
in the
@cesdk/engine
package. - CESDK: Fix lost keyboard focus after clicking canvas