Release v2.8.0 - #153
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepare release v2.8.0
Changes
listeningandportonJsonRpcGLSPServerLauncher, so an embedder no longer has to parse the startup message to learn an OS-assigned port #150onConnectionevent toSocketServerLauncherandWebSocketServerLauncher, so an embedder can observe accepted connections without reaching for the protected server field #150WebSocketServerLaunchernow also closes the HTTP server it mounts on, whichwsleaves listening because it did not create itcreate-edgesdry run returns its verdicts instead of an output-validation error #152save-modelwrites to an explicitfileUrieven when the command stack is clean, instead of skipping a save-asundoandredoreport how many commands they applied, not how many were requestedmodify-nodesandmodify-edgesreport an error for entries that request no change, instead of counting them as modifiedvalidate-diagramandset-view, which previously dropped them and returned an empty, clean-looking result #152layoutis no longer advertised without a boundLayoutEngine#152isSupportedByDiagramType()hook on the diagram tool and resource bases covers statically bound dependencies;canRegister()keeps gating capabilities of the connected GLSP clientset-selectionaccepts the documented empty-array form for clearing the selection, andundo/redorequire integer countsmodify-nodespositions are parent-relative andcreate-nodespositions absolute, matching the dispatched operationscreate-*tools echo the created element when its type differs from the requestedelementTypeId, instead of reporting a creation failurePotentially Breaking Changes
elkLayoutModulewas effectively a no-op in the browser and now actually performs layout, so adopters that relied on that behavior have to adapt accordinglyapplyRoutenow returnsGEdge | undefinedinstead ofGEdgeapplyElementAndBounds,applyAlignmentandapplyRouteno longer throw for an element the index cannot resolve, they report it as not applied.applyRoutingPointsstays strict.shutdownhas to release in the newGLSPServerLauncher.registerDisposableshook, called once per launch, rather than in their constructor #150toDisposefrom its constructor keeps compiling but loses that cleanup after the firstshutdown, becausedisposeempties the collection. Move those registrations into an override ofregisterDisposables.AbstractMcpDiagramToolHandler<I, O>, bound to the handler's declaredoutputSchema#152outputSchemais unaffected. A subclass that passessuccess()a payload not matching the overridden handler's output schema now fails to compile, instead of producing an error result at call time.modify-nodesrejectsposition/sizefor elements that are not aGNode, which core's bounds handler silently ignored while the tool reported success #152ModifyNodesMcpToolHandler.Full Changelog: v2.7.0...v2.8.0
Note: This pull request was created automatically. After merging, the automated publishing process will be started.