Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Releases: sourcegraph/sourcegraph-extension-api

v16.0.1

13 Sep 03:26
Compare
Choose a tag to compare

16.0.1 (2018-09-13)

Bug Fixes

  • include all files in published package (12bc0b9)

v16.0.0

13 Sep 00:18
Compare
Choose a tag to compare

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 and Component#visibleRanges properties, which were unused, were removed.

v15.0.0

11 Sep 05:50
Compare
Choose a tag to compare

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 in sourcegraph/module/extension/old/**.
  • The lib/ compiled CommonJS JavaScript files were removed. Use the module/.
  • The InitializationFailedHandler was removed.
  • Extensions must omit the MessageTransports argument to activateExtension.

v14.1.1

10 Sep 00:03
Compare
Choose a tag to compare

14.1.1 (2018-09-10)

Bug Fixes

  • provide backcompat for extensions written before the root removal (221679c)

v14.1.0

09 Sep 03:05
322d416
Compare
Choose a tag to compare

14.1.0 (2018-09-09)

Features

  • add method to get locations with extension ID (#45) (322d416)

v14.0.0

07 Sep 21:39
Compare
Choose a tag to compare

14.0.0 (2018-09-07)

Code Refactoring

  • make main module (import 'sourcegraph') export ext API (8debdf9)
  • move Windows#active to CXP#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' to import '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 of Windows#active to get the currently active window.

v13.0.1

06 Sep 21:25
9fcfff3
Compare
Choose a tag to compare

13.0.1 (2018-09-06)

Bug Fixes

  • link to sourcegraph.com instead of sgdev (9fcfff3), closes #49

v13.0.0

05 Sep 15:34
Compare
Choose a tag to compare

13.0.0 (2018-09-05)

chore

  • rename npm package to sourcegraph (cb63514)

BREAKING CHANGES

  • This repository's npm package was renamed from @sourcegraph/sourcegraph.proposed to sourcegraph.

v12.0.2

05 Sep 09:39
Compare
Choose a tag to compare

12.0.2 (2018-09-05)

Bug Fixes

  • ship inline source maps (e3f0ba2)

v12.0.1

05 Sep 03:53
Compare
Choose a tag to compare

12.0.1 (2018-09-05)

Bug Fixes

  • force release after rxjs dep update (3c37e43)