Skip to content

2.0.0 Release

Compare
Choose a tag to compare
@tortmayr tortmayr released this 15 Oct 14:38
· 47 commits to master since this release
v2.0.0
6764619

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 SaveActions 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 a Channel instead of a Connection parameter
    • BaseGlspServerContribution (and inherited classes)
      • forward method now takes a Channel as first parameter instead of a Connection
  • [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 #146

    • GLSPClientContribution.waitForActivation is now optional and is not implemented by default.
    • GLSPClientProviderImpl has been renamed to GLSPClientProvider, 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
  • [diagram] Refactor GLSPDiagramConfiguration. Diagram containers are now child containers of the Theia DI container #152

    • GLSPDiagramConfiguration
      • doCreateContainer method has been renamed to configureContainer 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 in GLSPDiagramWidget and use the new statusModule instead
  • [diagram] Refactor GLSPDiagramWidget and removed dispatchInitialActions method. #176

    • To dispatch custom initial actions use the new IDiagramStartup service instead.
    • Unify related multi-injection bindings and consistently use ContributionProviders for them
      • Remove DiagramConfigurationRegistry
      • Remove GLSPClientProvider
      • GLSPDiagramWidget now directly injects Theia services -> use GLSPDiagramWidgetFactory to for construction
  • [API] Rename ServerStatusAction -> StatusAction & ServerMessageAction->MessageAction #178

New Contributors

  • @xai made their first contribution in #151

Full Changelog: v1.0.0...v2.0.0