@gitkraken/core-gitlens 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -1
- package/dist/git/cache.d.ts +4 -0
- package/dist/git/cache.js +12 -0
- package/dist/git/cache.js.map +1 -1
- package/dist/git/providers/config.d.ts +3 -2
- package/dist/git-cli/cliGitProvider.d.ts +2 -0
- package/dist/git-cli/cliGitProvider.js +6 -0
- package/dist/git-cli/cliGitProvider.js.map +1 -1
- package/dist/git-cli/providers/config.d.ts +10 -6
- package/dist/git-cli/providers/config.js +46 -11
- package/dist/git-cli/providers/config.js.map +1 -1
- package/dist/plus/integrations/authentication/integrationAuthenticationService.d.ts +1 -0
- package/dist/plus/integrations/authentication/integrationAuthenticationService.js +3 -0
- package/dist/plus/integrations/authentication/integrationAuthenticationService.js.map +1 -1
- package/dist/plus/integrations/index.d.ts +3 -2
- package/dist/plus/integrations/index.js.map +1 -1
- package/dist/plus/integrations/integrationService.d.ts +9 -0
- package/dist/plus/integrations/integrationService.js +43 -0
- package/dist/plus/integrations/integrationService.js.map +1 -1
- package/dist/plus/integrations/manager.d.ts +6 -0
- package/dist/plus/integrations/models/workItemWrites.d.ts +136 -0
- package/dist/plus/integrations/models/workItemWrites.js +0 -0
- package/dist/plus/integrations/providers/azure/workItemWriteMetadata.d.ts +38 -0
- package/dist/plus/integrations/providers/azure/workItemWriteMetadata.js +73 -0
- package/dist/plus/integrations/providers/azure/workItemWriteMetadata.js.map +1 -0
- package/dist/plus/integrations/providers/azureDevOps.d.ts +3 -0
- package/dist/plus/integrations/providers/azureDevOps.js +12 -1
- package/dist/plus/integrations/providers/azureDevOps.js.map +1 -1
- package/dist/plus/integrations/providers/azureDevOpsServer.d.ts +1 -1
- package/dist/plus/integrations/providers/azureWorkItemWriteErrors.d.ts +17 -0
- package/dist/plus/integrations/providers/azureWorkItemWriteErrors.js +100 -0
- package/dist/plus/integrations/providers/azureWorkItemWriteErrors.js.map +1 -0
- package/dist/plus/integrations/providers/azureWorkItemWrites.d.ts +38 -0
- package/dist/plus/integrations/providers/azureWorkItemWrites.js +442 -0
- package/dist/plus/integrations/providers/azureWorkItemWrites.js.map +1 -0
- package/dist/plus/integrations/providers/providersApi.d.ts +4 -1
- package/dist/plus/integrations/providers/providersApi.js +7 -0
- package/dist/plus/integrations/providers/providersApi.js.map +1 -1
- package/dist/utils/keys/keymapDispatcher.js +8 -0
- package/dist/utils/keys/keymapDispatcher.js.map +1 -1
- package/docs/integrations.md +64 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,8 +6,32 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.50.0] - 2026-11-25
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Adds Azure DevOps Services work item writes to `IntegrationManager`. Discover project types, fields and workflow states, then create, edit, change state or move verified work items to the Recycle Bin on the selected connection (plus/integrations)
|
|
14
|
+
|
|
15
|
+
## [0.49.0] - 2026-11-25
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Saves the git dirs `getRepositoryInfo` finds, which it didn't before, skipping the save when a repository at the path read or any of its parents was closed during the lookup. A host that saved them itself can drop that save, which kept the old repository's git dirs for a path re-created as another repository's checkout (git-cli)
|
|
20
|
+
- Drops the git runs in flight for a repository when it is closed, and every run in flight when the cache is reset, so a lookup made after either starts its own run instead of joining one that started before it and getting the old answer. `Cache` now fires `onDidUnregisterRepoPath` and `onDidReset`, which `CliGitProvider` listens to (git, git-cli)
|
|
21
|
+
- Rejects `getGitDir` when its path is closed while the git dir is read, instead of answering the old repository's git dir without caching it. This is a contract change: a caller that awaits it without a catch now sees the rejection (git-cli)
|
|
22
|
+
- Lists each `KeymapDispatcher.sheetEntries` row once when several registrars register the same bindings on one dispatcher (utils)
|
|
23
|
+
|
|
9
24
|
## [0.48.0] - 2026-11-24
|
|
10
25
|
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Adds `createRegistrar` to `KeymapDispatcher`, a handle whose scopes, bindings and overlays live under scope names private to it and are all removed by its `dispose`, and a `root` option that leaves keydowns from outside that element alone (utils)
|
|
29
|
+
- Adds `msUntilFromNowChanges` to `utils/date.js`, the time until `fromNow` reads differently; `getPluralLocale` to `utils/plural.js`; and `utils/wheel.js` with `normalizeWheelDelta` (utils)
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- `pausedOperationStatusStringsByType` translates its labels when they are read instead of at import, so they follow a translator configured after load (utils)
|
|
34
|
+
|
|
11
35
|
## [0.47.1] - 2026-11-24
|
|
12
36
|
|
|
13
37
|
### Fixed
|
|
@@ -1436,7 +1460,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
1436
1460
|
|
|
1437
1461
|
- Initial release. Bundles `@gitlens/utils`, `@gitlens/git`, `@gitlens/git-cli`, `@gitlens/ai`, and `@gitlens/git-github` into a single core npm package with subpath exports.
|
|
1438
1462
|
|
|
1439
|
-
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.
|
|
1463
|
+
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.50.0...HEAD
|
|
1464
|
+
[0.50.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.49.0...gitkraken:releases/core/v0.50.0
|
|
1465
|
+
[0.49.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.48.0...gitkraken:releases/core/v0.49.0
|
|
1440
1466
|
[0.48.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.47.1...gitkraken:releases/core/v0.48.0
|
|
1441
1467
|
[0.47.1]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.47.0...gitkraken:releases/core/v0.47.1
|
|
1442
1468
|
[0.47.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.46.0...gitkraken:releases/core/v0.47.0
|
package/dist/git/cache.d.ts
CHANGED
|
@@ -184,6 +184,8 @@ export declare class Cache implements Disposable {
|
|
|
184
184
|
*/
|
|
185
185
|
private _gkConfigSnapshots;
|
|
186
186
|
private readonly _onDidChangeMergeTargets;
|
|
187
|
+
private readonly _onDidUnregisterRepoPath;
|
|
188
|
+
private readonly _onDidReset;
|
|
187
189
|
/**
|
|
188
190
|
* Fires when a `.git/gk/config` write changed a branch's merge-relevant keys — never for a write that only touched
|
|
189
191
|
* other keys (activity timestamps). Core's own key store fires it once, as the write completes (see
|
|
@@ -194,6 +196,8 @@ export declare class Cache implements Disposable {
|
|
|
194
196
|
* or it loops.
|
|
195
197
|
*/
|
|
196
198
|
get onDidChangeMergeTargets(): Event<MergeTargetsChangeEvent>;
|
|
199
|
+
get onDidUnregisterRepoPath(): Event<string>;
|
|
200
|
+
get onDidReset(): Event<void>;
|
|
197
201
|
/**
|
|
198
202
|
* Reconciler registered by the CLI config sub-provider (see {@link setGkConfigReconciler}),
|
|
199
203
|
* invoked on a watcher-observed `'gkConfig'` change instead of the coarse `clearCaches(repoPath,
|
package/dist/git/cache.js
CHANGED
|
@@ -306,6 +306,8 @@ var Cache = class Cache {
|
|
|
306
306
|
*/
|
|
307
307
|
_gkConfigSnapshots = /* @__PURE__ */ new Map();
|
|
308
308
|
_onDidChangeMergeTargets = new Emitter();
|
|
309
|
+
_onDidUnregisterRepoPath = new Emitter();
|
|
310
|
+
_onDidReset = new Emitter();
|
|
309
311
|
/**
|
|
310
312
|
* Fires when a `.git/gk/config` write changed a branch's merge-relevant keys — never for a write that only touched
|
|
311
313
|
* other keys (activity timestamps). Core's own key store fires it once, as the write completes (see
|
|
@@ -318,6 +320,12 @@ var Cache = class Cache {
|
|
|
318
320
|
get onDidChangeMergeTargets() {
|
|
319
321
|
return this._onDidChangeMergeTargets.event;
|
|
320
322
|
}
|
|
323
|
+
get onDidUnregisterRepoPath() {
|
|
324
|
+
return this._onDidUnregisterRepoPath.event;
|
|
325
|
+
}
|
|
326
|
+
get onDidReset() {
|
|
327
|
+
return this._onDidReset.event;
|
|
328
|
+
}
|
|
321
329
|
/**
|
|
322
330
|
* Reconciler registered by the CLI config sub-provider (see {@link setGkConfigReconciler}),
|
|
323
331
|
* invoked on a watcher-observed `'gkConfig'` change instead of the coarse `clearCaches(repoPath,
|
|
@@ -345,6 +353,8 @@ var Cache = class Cache {
|
|
|
345
353
|
this._readValidatorUsage = void 0;
|
|
346
354
|
this._repoPathRegistrar = void 0;
|
|
347
355
|
this._onDidChangeMergeTargets.dispose();
|
|
356
|
+
this._onDidUnregisterRepoPath.dispose();
|
|
357
|
+
this._onDidReset.dispose();
|
|
348
358
|
}
|
|
349
359
|
/**
|
|
350
360
|
* Registers what runs before each read of the caches that only a change report, core's own writes or an explicit
|
|
@@ -1290,6 +1300,7 @@ var Cache = class Cache {
|
|
|
1290
1300
|
worktrees.delete(repoPath);
|
|
1291
1301
|
if (worktrees.size === 0) this._worktreesByCommonPath.delete(commonPath);
|
|
1292
1302
|
}
|
|
1303
|
+
this._onDidUnregisterRepoPath.fire(repoPath);
|
|
1293
1304
|
}
|
|
1294
1305
|
reset() {
|
|
1295
1306
|
this._resetGeneration++;
|
|
@@ -1315,6 +1326,7 @@ var Cache = class Cache {
|
|
|
1315
1326
|
this._registrations.clear();
|
|
1316
1327
|
this._caches = createEmptyCaches();
|
|
1317
1328
|
this.onDropped(void 0);
|
|
1329
|
+
this._onDidReset.fire(void 0);
|
|
1318
1330
|
}
|
|
1319
1331
|
/**
|
|
1320
1332
|
* Applies a watcher-observed change, sharing reads still in flight (see {@link applyRepositoryChanges}).
|