Skip to content

Commit 4e10b5f

Browse files
authored
Merge pull request #123 from fulll/release/1.11.0
v1.11.0
2 parents 48d289b + 28a808d commit 4e10b5f

File tree

4 files changed

+86
-1
lines changed

4 files changed

+86
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Each release entry covers the motivation, new features, breaking changes (if any
66

77
| Version | Blog post |
88
| -------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
9+
| [v1.11.0](https://fulll.github.io/github-code-search/blog/release-v1-11-0) | Team pick mode, `--exclude-template-repositories`, security hardening and Windows installer fixes |
910
| [v1.10.0](https://fulll.github.io/github-code-search/blog/release-v1-10-0) | Native regex syntax `/pattern/flags` — automatic term extraction, top-level alternation and `--regex-hint` |
1011
| [v1.9.0](https://fulll.github.io/github-code-search/blog/release-v1-9-0) | Windows support — native x64, x64-modern, x64-baseline and ARM64 binaries with one-line PowerShell installer |
1112
| [v1.8.3](https://fulll.github.io/github-code-search/blog/release-v1-8-3) | Fix TUI layout: header/footer anchoring, viewport packing, narrow-terminal clipping, active-row contrast |

docs/blog/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Full release notes and changelogs are always available on
1111

1212
| Release | Highlights |
1313
| ---------------------------- | ---------------------------------------------------------------------------------------------------------- |
14+
| [v1.11.0](./release-v1-11-0) | Team pick mode, `--exclude-template-repositories`, security hardening and Windows installer fixes |
1415
| [v1.10.0](./release-v1-10-0) | Native regex syntax `/pattern/flags` — automatic term extraction, top-level alternation and `--regex-hint` |
1516
| [v1.9.0](./release-v1-9-0) | Windows support — native x64, x64-modern, x64-baseline and ARM64 binaries with one-line PowerShell install |
1617
| [v1.8.3](./release-v1-8-3) | Fix TUI layout: header/footer anchoring, viewport packing and narrow-terminal rendering |

docs/blog/release-v1-11-0.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: "What's new in v1.11.0"
3+
description: "Team pick mode and --exclude-template-repositories — resolve multi-team sections interactively or via CLI, and filter template repos from search results."
4+
date: 2026-03-30
5+
---
6+
7+
# What's new in github-code-search v1.11.0
8+
9+
> Full release notes: <https://github.com/fulll/github-code-search/releases/tag/v1.11.0>
10+
11+
## Highlights
12+
13+
### Team pick mode — resolve multi-team ownership interactively
14+
15+
When using `--group-by-team-prefix`, repositories that belong to **multiple teams** appear under combined section headers such as `squad-frontend + squad-mobile`. In v1.11.0, you can now resolve these ambiguous sections in real time from the TUI.
16+
17+
Navigate to a combined section header and press **`p`** to enter pick mode. The header turns into a horizontal picker:
18+
19+
```
20+
── [ squad-frontend ] squad-mobile
21+
```
22+
23+
The highlighted team (bold, wrapped in `[ ]`) is the current candidate. Navigate sideways and confirm your choice:
24+
25+
| Key | Action |
26+
| --------- | ---------------------------------------- |
27+
| `` / `` | Move focus between candidate teams |
28+
| `Enter` | Confirm — section label updates in place |
29+
| `Esc` | Cancel — no change |
30+
31+
Repos moved by pick mode are annotated with a **``** badge so you can track assignments at a glance.
32+
33+
### `--pick-team` — pre-assign sections without the TUI
34+
35+
Assignments can also be made up front with the repeatable `--pick-team` option — useful in CI or when replaying a previous run:
36+
37+
```bash
38+
github-code-search query "useFeatureFlag" --org fulll \
39+
--group-by-team-prefix squad- \
40+
--pick-team "squad-frontend + squad-mobile"=squad-frontend \
41+
--pick-team "squad-backend + squad-data"=squad-backend
42+
```
43+
44+
The replay command printed at the top of the markdown output now includes `--pick-team` flags automatically when picks were confirmed interactively, so **every run is fully reproducible**.
45+
46+
If a combined label is not found (typo, stale label), a warning is emitted on stderr listing the available sections — the run continues without error.
47+
48+
### `--exclude-template-repositories` — clean up template noise
49+
50+
GitHub template repositories often appear in search results even when they are not the target of the search (e.g. a boilerplate that was never extended). A new flag lets you exclude them entirely:
51+
52+
```bash
53+
github-code-search "useFeatureFlag" --org fulll \
54+
--exclude-template-repositories
55+
```
56+
57+
Template repos are identified using the `is_template` field returned by the GitHub API — no additional token scope is required. The flag is also recorded in the replay command so non-interactive reruns are consistent.
58+
59+
### Security improvements
60+
61+
This release also ships **hardened implementations** of the `cache` and `upgrade` modules, guided by an Aikido security scan:
62+
63+
- Path inputs are now validated before any filesystem operations.
64+
- The upgrade path uses a safer temporary-file write strategy.
65+
- A `dependabot.yml` is now in place to keep GitHub Actions dependencies up to date.
66+
67+
### Windows installer fixes (patch)
68+
69+
The PowerShell installer (`install.ps1`) now:
70+
71+
- Avoids the `Invoke-WebRequest` security warning that appeared on default Windows security configurations.
72+
- Falls back to `curl.exe` (bundled with Windows 10+) when the GitHub API is unreachable for a specific version lookup.
73+
74+
---
75+
76+
## Upgrade
77+
78+
```sh
79+
github-code-search upgrade
80+
```
81+
82+
Or download the latest binary from
83+
[GitHub Releases](https://github.com/fulll/github-code-search/releases/tag/v1.11.0).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-code-search",
3-
"version": "1.10.0",
3+
"version": "1.11.0",
44
"description": "Interactive GitHub code search with per-repo aggregation",
55
"keywords": [
66
"bun",

0 commit comments

Comments
 (0)