@gitkraken/core-gitlens 0.9.2 → 0.9.4
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 +26 -1
- package/dist/plus/git-github/api/github.js +1 -1
- package/dist/plus/git-github/api/github.js.map +1 -1
- package/dist/plus/integrations/integrationService.d.ts +8 -2
- package/dist/plus/integrations/integrationService.js +3 -1
- package/dist/plus/integrations/integrationService.js.map +1 -1
- package/dist/plus/integrations/manager.d.ts +6 -1
- package/dist/plus/integrations/models/integration.d.ts +8 -0
- package/dist/plus/integrations/models/integration.js +9 -0
- package/dist/plus/integrations/models/integration.js.map +1 -1
- package/dist/plus/integrations/models/issueReads.d.ts +14 -0
- package/dist/plus/integrations/providers/azure/azure.d.ts +3 -0
- package/dist/plus/integrations/providers/azure/azure.js +18 -0
- package/dist/plus/integrations/providers/azure/azure.js.map +1 -1
- package/dist/plus/integrations/providers/azure/azure.utils.d.ts +12 -0
- package/dist/plus/integrations/providers/azure/azure.utils.js +46 -0
- package/dist/plus/integrations/providers/azure/azure.utils.js.map +1 -0
- package/dist/plus/integrations/providers/azure/models.d.ts +1 -0
- package/dist/plus/integrations/providers/azure/models.js +1 -1
- package/dist/plus/integrations/providers/azure/models.js.map +1 -1
- package/dist/plus/integrations/providers/azureDevOps.d.ts +3 -0
- package/dist/plus/integrations/providers/azureDevOps.js +7 -0
- package/dist/plus/integrations/providers/azureDevOps.js.map +1 -1
- package/dist/plus/integrations/providers/bitbucket/bitbucket.utils.d.ts +17 -0
- package/dist/plus/integrations/providers/bitbucket/bitbucket.utils.js +25 -0
- package/dist/plus/integrations/providers/bitbucket/bitbucket.utils.js.map +1 -0
- package/dist/plus/integrations/providers/bitbucket/models.d.ts +5 -5
- package/dist/plus/integrations/providers/bitbucket/models.js +2 -2
- package/dist/plus/integrations/providers/bitbucket/models.js.map +1 -1
- package/dist/plus/integrations/providers/bitbucket-server.d.ts +3 -0
- package/dist/plus/integrations/providers/bitbucket-server.js +7 -0
- package/dist/plus/integrations/providers/bitbucket-server.js.map +1 -1
- package/dist/plus/integrations/providers/bitbucket.d.ts +3 -0
- package/dist/plus/integrations/providers/bitbucket.js +7 -0
- package/dist/plus/integrations/providers/bitbucket.js.map +1 -1
- package/dist/plus/integrations/providers/issueSorts.d.ts +0 -1
- package/dist/plus/integrations/providers/jira-server.d.ts +5 -3
- package/dist/plus/integrations/providers/jira-server.js +28 -8
- package/dist/plus/integrations/providers/jira-server.js.map +1 -1
- package/dist/plus/integrations/providers/jira.d.ts +26 -4
- package/dist/plus/integrations/providers/jira.js +148 -53
- package/dist/plus/integrations/providers/jira.js.map +1 -1
- package/dist/plus/integrations/providers/linear.d.ts +13 -2
- package/dist/plus/integrations/providers/linear.js +49 -12
- package/dist/plus/integrations/providers/linear.js.map +1 -1
- package/dist/plus/integrations/providers/models.d.ts +19 -1
- package/dist/plus/integrations/providers/models.js +14 -5
- package/dist/plus/integrations/providers/models.js.map +1 -1
- package/dist/plus/integrations/providers/providerErrors.d.ts +11 -0
- package/dist/plus/integrations/providers/providerErrors.js +22 -1
- package/dist/plus/integrations/providers/providerErrors.js.map +1 -1
- package/dist/plus/integrations/providers/providersApi.d.ts +8 -1
- package/dist/plus/integrations/providers/providersApi.js +3 -0
- package/dist/plus/integrations/providers/providersApi.js.map +1 -1
- package/dist/plus/integrations/providers/trello.js +1 -0
- package/dist/plus/integrations/providers/trello.js.map +1 -1
- package/dist/plus/integrations/providers/utils/discoveryCache.d.ts +36 -0
- package/dist/plus/integrations/providers/utils/discoveryCache.js +59 -0
- package/dist/plus/integrations/providers/utils/discoveryCache.js.map +1 -0
- package/dist/plus/integrations/reads/cursors.d.ts +8 -0
- package/dist/plus/integrations/reads/cursors.js +5 -3
- package/dist/plus/integrations/reads/cursors.js.map +1 -1
- package/dist/plus/integrations/reads/drains.d.ts +0 -1
- package/dist/plus/integrations/reads/drains.js +4 -4
- package/dist/plus/integrations/reads/drains.js.map +1 -1
- package/dist/plus/integrations/reads/filters.d.ts +8 -0
- package/dist/plus/integrations/reads/filters.js +2 -1
- package/dist/plus/integrations/reads/filters.js.map +1 -1
- package/dist/plus/integrations/reads/issueTracker.d.ts +9 -1
- package/dist/plus/integrations/reads/issueTracker.js +20 -3
- package/dist/plus/integrations/reads/issueTracker.js.map +1 -1
- package/dist/plus/integrations/reads/warnings.d.ts +11 -0
- package/dist/plus/integrations/reads/warnings.js +14 -1
- package/dist/plus/integrations/reads/warnings.js.map +1 -1
- package/docs/integrations.md +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,29 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.9.4] - 2026-09-30
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Adds `state` (`'open' | 'closed' | 'all'`, omitted reads open) to the issue-tracker reads: `listIssueTrackerIssuesPage` and `IssuesIntegration.getIssuesForProject*`, reported as `getSupportedFilters().issueStates`. The trackers' account-wide read (`searchMyIssuesWithTruncationResult`'s `SearchMyIssuesOptions`) takes it too, though no facade read reaches that path yet. Linear, Jira and Jira Data Center narrow server-side on every page of their drains, so a project's done work no longer spends the page budget before its open issues. Trello can only read open cards, so it refuses `'closed'` and `'all'` with a warning and `fetchFailed` rather than serving the open ones. Every tracker also refuses a value outside the three (the integration reads too, before any request), and a cursor minted under one state when resumed under another (#5911) (plus/integrations)
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Fixes Linear issue reads listing completed and canceled issues. Both Linear list reads now default to open work, as every other tracker already did: pass `state: 'all'` to keep the old behavior, or `'closed'` for done work only. Bumps `@gitkraken/provider-apis` to 0.61.0, which carries the Linear state filter (#5911) (plus/integrations)
|
|
18
|
+
- Fixes a Bitbucket Cloud pull request with a review bot among its participants (an `app_user` account, e.g. CodeAnt AI) failing the whole read. Bitbucket returns those accounts without `links.html` (and without a `nickname`), and the direct REST mapper read the link unguarded, so `getPullRequest`, `getPullRequestForBranch`, `getPullRequestsForBranch` (the whole list), `getIssueOrPullRequest` and `getPullRequestForCommit` threw. Such an account, as a participant, reviewer, author, issue reporter or assignee, now maps with no `url` (and no `avatarUrl` if Bitbucket sends none) ([#5910](https://github.com/gitkraken/vscode-gitlens/issues/5910)) (plus/integrations)
|
|
19
|
+
|
|
20
|
+
## [0.9.3] - 2026-09-30
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Adds single pull request reads and URL identity parsing for Azure DevOps, Bitbucket Cloud and Bitbucket Data Center ([#5886](https://github.com/gitkraken/vscode-gitlens/issues/5886)). `Integration.getPullRequest(resource, id)` and `getPullRequestIdentityFromMaybeUrl(url)`, until now only implemented by GitHub and GitLab, resolve on these hosts too. Azure DevOps reads `{org}/{project}/_apis/git/pullrequests/{id}` — no repository required, since a pull request id is unique within the organization — with the project taken from the descriptor's `project` or else from a `{project}/_git/{repo}` or bare project name, and its URL parser decodes the path and anchors on `/_git/{repo}/pullrequest/{id}`, covering `dev.azure.com`, a Server address behind a virtual directory (dropped from the identity, so the connection's configured URL must include it), the legacy `{org}.visualstudio.com` host, and the short `{org}/_git/{repo}` form. Bitbucket Cloud and Data Center read through the strict by-id reads `getPullRequest` and `getServerPullRequest`, and their parsers accept `{workspace}/{repo}/pull-requests/{id}` and `projects/{KEY}/repos/{repo}/pull-requests/{id}` (a personal repository's `users/{slug}/repos/…` as project `~{slug}`), each rejecting the other's path shapes. Only a 404 resolves to `undefined`; every other failure reaches `getPullRequest`'s own error handling, so it is not cached as a miss (plus/integrations)
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Fixes a page-budgeted GitHub pull request sweep reporting its stop as an unrecoverable cap when the account has more than 1,000 matches — the search ceiling is now flagged only on the page where it ends the walk. This also changes an account-wide GitHub `listPullRequestsPage`: a page over the ceiling that can still continue no longer reports `page.truncated` or an `exhausted` warning, and only the page the ceiling ends on does (plus/git-github)
|
|
29
|
+
- Fixes a pull request sweep that stopped at its page budget reporting it cannot be continued once any page was capped. A read that folds several searches into one page (GitHub's per-state facets) caps them independently, so one facet reaching the 1,000-result ceiling no longer hides a sibling that a bigger budget still reaches. This reverses 0.5.102's rule that a cap outranks a budget stop: a stop with a usable cursor is now always `page-budget`, and one drain can report two warnings, the `page-budget` one and, for the part paging could not reach, one with `recovery: 'none'` (or the SDK's own `provider-limit`, when the cap came from its metadata). A consumer that treated `page-budget` as proof the provider capped nothing must now check the drain's other warnings too (plus/integrations)
|
|
30
|
+
- Fixes a tracker's project list (Jira and Jira Data Center projects and sites, Linear teams) being cached for the whole session, so a project created mid-session never appeared in `listIssueTrackerIssuesPage` or `listProjects` until a restart, and a deleted one kept being searched. The list is now dropped when the connection is re-synced (`refreshConnections()`, or `forceSync` on a read), including the copy Jira Cloud persisted for its next connect, and it expires after 5 minutes. A Jira search that fails because its project no longer exists or is no longer visible (`400` "does not exist for the field 'project'") now reads that project as empty and drops the stale list, instead of failing the whole provider on every read (#5907) (plus/integrations)
|
|
31
|
+
|
|
9
32
|
## [0.9.2] - 2026-09-30
|
|
10
33
|
|
|
11
34
|
### Added
|
|
@@ -468,7 +491,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
468
491
|
|
|
469
492
|
- 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.
|
|
470
493
|
|
|
471
|
-
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.
|
|
494
|
+
[unreleased]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.4...HEAD
|
|
495
|
+
[0.9.4]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.3...gitkraken:releases/core/v0.9.4
|
|
496
|
+
[0.9.3]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.2...gitkraken:releases/core/v0.9.3
|
|
472
497
|
[0.9.2]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.1...gitkraken:releases/core/v0.9.2
|
|
473
498
|
[0.9.1]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.0...gitkraken:releases/core/v0.9.1
|
|
474
499
|
[0.9.0]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.8.0...gitkraken:releases/core/v0.9.0
|
|
@@ -2043,7 +2043,7 @@ var GitHubApi = class {
|
|
|
2043
2043
|
values: rsp.search.nodes.map((pr) => options?.summary ? fromGitHubPullRequestLite(pr, provider) : fromGitHubPullRequest(pr, provider)),
|
|
2044
2044
|
cursor: rsp.search.pageInfo.endCursor ?? void 0,
|
|
2045
2045
|
hasMore: rsp.search.pageInfo.hasNextPage,
|
|
2046
|
-
truncated: rsp.search.issueCount >
|
|
2046
|
+
truncated: rsp.search.issueCount > 1e3 && !rsp.search.pageInfo.hasNextPage
|
|
2047
2047
|
};
|
|
2048
2048
|
} catch (ex) {
|
|
2049
2049
|
throw this.handleException(ex, provider, scope, options?.silent);
|