Skip to content

v0.33.0

Choose a tag to compare

@AlexeyMz AlexeyMz released this 16 Mar 19:08
· 51 commits to master since this release

馃殌 New Features

  • Allow to open "Edit entity" dialog from VisualAuthoring for an entity not present on the canvas (e.g. to edit related or well-known entities).
  • Extends metadata support for editing an entity or relation properties:
    • Allow to order properties with MetadataPropertyShape.order;
    • Allow to specify default value with MetadataValueShape.defaultValue;
    • Provide source and target entities to MetadataProvider.getRelationShape().

馃悰 Fixed

  • Fix stale rendering (i.e. missing links after moving an endpoint until an element move) due to the lost scheduled layer updates.
  • Fix unable to scroll inside canvas components and templates when requireCtrl in zoomOptions is set false.
  • Disallow moving relation source or target to another entity in authoring mode if the relation after move already exists on the canvas.
  • Disable changing an entity IRI in a form when MetadataProvider.canModifyEntity() disallows it.
  • Move link vertices together with source and target elements if both are selected in Selection component.
  • Re-validate entities and links with ValidationProvider when added or removed via undo/redo.
  • Fix marking AnnotationLink with TemplateProperties.LayoutOnly when importing a diagram layout.

馃拝 Polish

  • Remove superfluous "Type" fields from the default "Edit entity" dialog.
  • Provide translation and current language to ValidationProvider.validate() method.
  • Allow to specify related property IRI when returning a validation item for a relation from ValidationProvider.
  • Display language selector in FormInputText only when shape datatype is rdf:langString or uniqueLang is set to either true or false (the selector will be hidden by default when datatype is xsd:string).
  • Deprecate getting Translation instance from WorkspaceContext: use useTranslation() hook instead to be able to subscribe to translation bundle changes in the future.

Link to the CHANGELOG v0.33.0