2.0.0 Release
Changes
- [protocol] Update to vscode-jsonrpc 8.0.2 to be compliant with client #136
- [backend] Add support for using custom JVM args in
GLSPSocketServerContribution
#125 - [diagram] Fix a bug that prevented proper focus tracking when switching between tabs #132
- [diagram] Fix a bug that could cause dispatching of
SaveAction
s even if the diagram is not dirty #141 - Contributed on behalf of STMicroelectronics - [backend] (Web)Socket based
GLSPServerContributions
now supports auto-assigned ports #151 - [validation] Only keep live validation markers in problems view and clean all others #153
- [backend] Provide
GLSPNodeServerContribution
to enable direct server integration into the Theia backed #154 - Contributed on behalf of STMicroelectronics - [theia] Add support for showing server progress in Theia #168
- [websocket] Add support for Websocket communication to GLSP server from both the backend and the frontend directly #155 [#159(https://github.com//pull/159)] #179
- [backend] Fix a bug that disconnected all Theia clients when closing a single one #164
- [diagram] Add support for icons in context menu submenus #180
Breaking Changes
-
[theia] Update Theia dependencies to
1.33.0
. Due to API breaks, Theia versions<1.33.0
are no longer supported. #119 - Contributed on behalf of STMicroelectronics
This also causes breaking changes in:GlspServerContribution
(and inherited classes)connect
method now takes aChannel
instead of aConnection
parameter
BaseGlspServerContribution
(and inherited classes)forward
method now takes aChannel
as first parameter instead of aConnection
-
[deps] Switch Theia extension dependencies to peer dependencies. These dependencies are no longer autoresolved and have to be declared
in the application package. #138 - Contributed on behalf of STMicroelectronics -
[API] Refactor
GLSPContribution
API #146GLSPClientContribution.waitForActivation
is now optional and is not implemented by default.GLSPClientProviderImpl
has been renamed toGLSPClientProvider
, function keys have been renamed has well- Removed
GLSPContribution.Service
and dropped the related deprecated session concept.
-
[API] Remove dependency to sprotty-theia #149
- Modules from
sprotty-theia
are no longer reexported via the browser index.ts file
- Modules from
-
[diagram] Refactor
GLSPDiagramConfiguration
. Diagram containers are now child containers of the Theia DI container #152GLSPDiagramConfiguration
doCreateContainer
method has been renamed toconfigureContainer
and requires additional arguments.
-
[theia] BaseGLSPClientContribution: change
createGLSPClient(connectionProvider: ConnectionProvider)
to an async function #155 -
[deps] Update to inversify 6 and Typescript 5.x #163
- GLSP uses a synchronous inversify context this means with inversify 6.x decorator methods (e.g. @PostConstruct) with asynchronous results are no longer supported
-
[API] Remove
TheiaGLSPConnector
. The diagram DI container is now a child container of the Theia main container and has direct access to all Theia services #173- Refactor/rename
SavableGLSPModelSource
->GLSPSavable
- Move export functionality from removed connector to
theiaExportModule
- Encapsulate forwarding to Theia selection service in
theiaSelectionModule
- Encapsulate source model changed handling in
theiaSourceModelWatcherModule
- Moving handling of navigation targets into
theiaNavigationModule
- Move server message & process handling from removed connector to
theiaNotificationModule
- Remove
GLSPNotificationManager
- Remove dedicated
ServerStatus
handling inGLSPDiagramWidget
and use the newstatusModule
instead
- Refactor/rename
-
[diagram] Refactor
GLSPDiagramWidget
and removeddispatchInitialActions
method. #176- To dispatch custom initial actions use the new
IDiagramStartup
service instead. - Unify related multi-injection bindings and consistently use
ContributionProvider
s for them- Remove
DiagramConfigurationRegistry
- Remove
GLSPClientProvider
GLSPDiagramWidget
now directly injects Theia services -> useGLSPDiagramWidgetFactory
to for construction
- Remove
- To dispatch custom initial actions use the new
-
[API] Rename
ServerStatusAction
->StatusAction
&ServerMessageAction
->MessageAction
#178
New Contributors
Full Changelog: v1.0.0...v2.0.0