@gitkraken/core-gitlens 0.9.3 → 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 +13 -1
- package/dist/plus/integrations/integrationService.d.ts +6 -1
- package/dist/plus/integrations/integrationService.js.map +1 -1
- package/dist/plus/integrations/manager.d.ts +6 -1
- package/dist/plus/integrations/models/issueReads.d.ts +14 -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/issueSorts.d.ts +0 -1
- package/dist/plus/integrations/providers/jira-server.d.ts +2 -2
- package/dist/plus/integrations/providers/jira-server.js +9 -3
- package/dist/plus/integrations/providers/jira-server.js.map +1 -1
- package/dist/plus/integrations/providers/jira.d.ts +6 -1
- package/dist/plus/integrations/providers/jira.js +19 -3
- package/dist/plus/integrations/providers/jira.js.map +1 -1
- package/dist/plus/integrations/providers/linear.js +8 -2
- 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/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/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/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/docs/integrations.md +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,17 @@ 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
|
+
|
|
9
20
|
## [0.9.3] - 2026-09-30
|
|
10
21
|
|
|
11
22
|
### Added
|
|
@@ -480,7 +491,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
|
480
491
|
|
|
481
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.
|
|
482
493
|
|
|
483
|
-
[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
|
|
484
496
|
[0.9.3]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.2...gitkraken:releases/core/v0.9.3
|
|
485
497
|
[0.9.2]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.1...gitkraken:releases/core/v0.9.2
|
|
486
498
|
[0.9.1]: https://github.com/gitkraken/vscode-gitlens/compare/releases/core/v0.9.0...gitkraken:releases/core/v0.9.1
|
|
@@ -2,7 +2,7 @@ import { Disposable } from "../../utils/disposable.js";
|
|
|
2
2
|
import { Event } from "../../utils/event.js";
|
|
3
3
|
import { RemoteProviderId } from "../../git/models/remoteProvider.js";
|
|
4
4
|
import { GitRemote } from "../../git/models/remote.js";
|
|
5
|
-
import { IssueSearchCriteria, IssueShape, IssueSorting } from "../../git/models/issue.js";
|
|
5
|
+
import { IssueSearchCriteria, IssueShape, IssueSorting, IssueStateFilter } from "../../git/models/issue.js";
|
|
6
6
|
import { PullRequest, PullRequestFilter, PullRequestSearchCriteria, PullRequestShape, PullRequestStateFilter } from "../../git/models/pullRequest.js";
|
|
7
7
|
import { Account } from "../../git/models/author.js";
|
|
8
8
|
import { GitHubApi } from "../git-github/api/github.js";
|
|
@@ -397,6 +397,11 @@ export declare class IntegrationService implements Disposable, RepositoryResolut
|
|
|
397
397
|
* is where a tracker reports; a key no normalized issue carries is refused for a multi-project page.
|
|
398
398
|
*/
|
|
399
399
|
sort?: IssueSorting;
|
|
400
|
+
/**
|
|
401
|
+
* Which issue states to read. Omitted reads open issues. `'closed'`/`'all'` need
|
|
402
|
+
* `getSupportedFilters().issueStates` and are refused otherwise.
|
|
403
|
+
*/
|
|
404
|
+
state?: IssueStateFilter;
|
|
400
405
|
forceSync?: boolean;
|
|
401
406
|
page?: number;
|
|
402
407
|
cursor?: string;
|