Changes
- [diagram] Fix text selection issues in chrome #425
- [example] Fix render error for new categories #426
- [api] Introduce & use ProposalString utility type #427
- [i18n] Add missing localization message for marker popups #428
- [diagram] Add missing visibility check to
RoundedCornerNodeView#430 - [layout] Fix a bug in the hGrab/vGrab calculation #435
Potentially breaking changes
- [protocol] Enrich
LayoutOperationwith additional optional client-side information (viewport) #433 #434- To trigger a manual layout the new
TriggerLayoutActionshould be dispatched instead of a directLayoutOperation - Dispatching of direct
LayoutOperations will still work, but the optional information will not be present
- To trigger a manual layout the new
- [layout] Introduce order-agnostic layouts #436
- Introduce a flag for
ILayoutsto specify whether the layouting of children is independent of their semantic order in the model.
TheBringToFrontCommandrespects this flag and only changes the ordering of order-agnostic layouts zordermodule now requires bounds module as we need the layout registry
- Introduce a flag for
- [diagram] Introduce viewport change event for
EditorContextService#438- This change extracts the handling of model related changes into an dedicated
IModelChangeServicewhich is reused by theEditorContextService - The following changes to internal API might affect customizations of adopters:
GLSPCommandStack: 'notifyListener' method has been removedEditorContextService:- Remove
_modelRootandonModelRootChangedEmitterproperties. Corresponding getters now forward to theIModelChangeService - Remove
notifyModelRootChangedmethod (Probably no side effect for adopters. Method was only callable from commandstack anyways)
- Remove
- This change extracts the handling of model related changes into an dedicated
- [node] Update minimum requirements for Node to >=20 #439
Full Changelog: v2.4.0...v2.5.0