This repository was archived by the owner on Nov 6, 2018. It is now read-only.
Releases: sourcegraph/sourcegraph-extension-api
Releases · sourcegraph/sourcegraph-extension-api
v16.0.1
v16.0.0
16.0.0 (2018-09-13)
Bug Fixes
- serialize Range more closely to its internal storage JSON (a2456ca)
- support undefined in hover response per ProviderResult (5b58136)
Code Refactoring
- remove unused selections and visible ranges from Component (616b21f)
Features
- new extension API in sourcegraph.d.ts, remove old code (63538c7)
BREAKING CHANGES
- The extension API changed significantly for the alpha release. See
sourcegraph.d.ts
. - The
Component#selections
andComponent#visibleRanges
properties, which were unused, were removed.
v15.0.0
15.0.0 (2018-09-11)
Bug Fixes
- determination of whether we are running in a Worker (6d9934f)
- use strict assertion methods (e480b69)
Build System
- do not emit CommonJS, only modules (7047c42)
Code Refactoring
- assume activateExtension is running in Web Worker (c26b65d)
- move old self-executable extension API into 'old' dir (c3e771a)
Features
- new extension API that only requires extensions to export 1 func (9d6904e)
- remove unnecessary InitializationFailedHandler (65bbd98)
BREAKING CHANGES
- The import paths for
activateExtension
,SourcegraphExtensionAPI
, and other extension API types are now insourcegraph/module/extension/old/**
. - The
lib/
compiled CommonJS JavaScript files were removed. Use themodule/
. - The
InitializationFailedHandler
was removed. - Extensions must omit the
MessageTransports
argument toactivateExtension
.
v14.1.1
v14.1.0
v14.0.0
14.0.0 (2018-09-07)
Code Refactoring
- make main module (
import 'sourcegraph'
) export ext API (8debdf9) - move
Windows#active
toCXP#activeWindow
for convenience (2e70835) - remove
Windows#all
(6c776fa) - remove unused and unimplemented features (91ecd8a)
Features
- expose extension roots as Observable (0d04f5b)
- remove root and workspace folders (514b048)
- remove ServerCapabilities and InitializeResult (1e890c2)
- remove unused middleware feature (954d11f)
- remove unused socket and WebSocket JSON-RPC 2.0 transports (163a8ee)
- support scoped component when computing contributions (ade1094)
BREAKING CHANGES
- Socket and WebSocket transport support was removed.
- Extensions must change imports from
import 'sourcegraph/module/extension'
toimport 'sourcegraph'
. - Middleware for client features was removed.
- Many unused and implemented types and methods were removed from the protocol and client features.
- Subscribe to the
CXP#windows
Observable to obtain the list of all windows. - Use
CXP#activeWindow
instead ofWindows#active
to get the currently active window.