From 56694fc5d238c54960f0306a2d4ba25b5396ee34 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 21 Dec 2020 01:43:32 -0500 Subject: [PATCH] Removes preview from APIs --- CHANGELOG.md | 6 +++--- src/api/api.ts | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c568e4b..8b483f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,11 +19,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Adds a _Commit_ submenu to files in the _File History_ and _Line History_ views — closes [#1044](https://github.com/eamodio/vscode-gitlens/issues/1044) - Adds a _Push to Commit..._ command to unpublished commits in the _Commits_, _Branches_, and _Repositories_ views, and to to unpublished files in the _File History_ and _Line History_ views - Adds a welcome, i.e. richer empty state, to the _Search & Compare_ view -- Adds preview extensibility APIs - - Adds a preview _action runner_ extensibility point to provide a runner (handler) for a new _createPullRequest_ and _openPullRequest_ actions — see `gitlens.d.ts` for API definitions - - Preview APIs are only available in the Insiders edition - Adds a `gitlens.integrations.enabled` setting to specify whether to enable rich integrations with any supported remote services — see [#1208](https://github.com/eamodio/vscode-gitlens/issues/1208) - Adds a `gitlens.showWelcomeOnInstall` setting to specify whether to show the Welcome (Quick Setup) experience on first install — closes [#1049](https://github.com/eamodio/vscode-gitlens/issues/1049) thanks to [PR #1258](https://github.com/eamodio/vscode-gitlens/pull/1258) by Rickard ([@rickardp](https://github.com/rickardp)) +- Adds extensibility APIs + - Adds an _action runner_ extensibility point to provide a runner (handler) for the new _createPullRequest_ and _openPullRequest_ actions — see [`gitlens.d.ts`](https://github.com/eamodio/vscode-gitlens/blob/main/src/api/gitlens.d.ts) for API definitions + - Preview APIs are only available in the Insiders edition ### Changed diff --git a/src/api/api.ts b/src/api/api.ts index b656692..1d143aa 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -11,7 +11,6 @@ const emptyDisposable = Object.freeze({ }); export class Api implements GitLensApi { - @preview() registerActionRunner(action: Action, runner: ActionRunner): Disposable { if (runner.name === defaultActionRunnerName) { throw new Error(`Cannot use the reserved name '${defaultActionRunnerName}'`);