Selaa lähdekoodia

Removes preview from APIs

main
Eric Amodio 3 vuotta sitten
vanhempi
commit
56694fc5d2
2 muutettua tiedostoa jossa 3 lisäystä ja 4 poistoa
  1. +3
    -3
      CHANGELOG.md
  2. +0
    -1
      src/api/api.ts

+ 3
- 3
CHANGELOG.md Näytä tiedosto

@ -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

+ 0
- 1
src/api/api.ts Näytä tiedosto

@ -11,7 +11,6 @@ const emptyDisposable = Object.freeze({
});
export class Api implements GitLensApi {
@preview()
registerActionRunner<T extends ActionContext>(action: Action<T>, runner: ActionRunner): Disposable {
if (runner.name === defaultActionRunnerName) {
throw new Error(`Cannot use the reserved name '${defaultActionRunnerName}'`);

Ladataan…
Peruuta
Tallenna