From 0d74e4a1140951f24d4f19988f7a797f947bf1e2 Mon Sep 17 00:00:00 2001 From: Julian Blacher Date: Sat, 28 Nov 2026 14:45:06 -0300 Subject: [PATCH] release: v0.6.0 GitHub Enterprise, Bitbucket auto-watch and Pipelines logs, plus the review follow-ups from #31. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 7 ++++++- TASKS.md | 2 ++ internal/version/version.go | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef6b19c..39794c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.6.0] - 2026-11-28 + +prw now supports GitHub Enterprise (Server and GHE.com) next to github.com, and Bitbucket Cloud catches up with GitHub: auto-watch finds your Bitbucket PRs and PRs to review, and `--logs` shows the failed step of a Bitbucket Pipelines build. + ### Added - GitHub Enterprise Server and GHE.com, alongside github.com: set `github_enterprise_url` (e.g. `https://github.acme.com`) and every command, auto-watch, the dashboard and the MCP tools accept that host's PR URLs. The token comes from `github_enterprise_token`, `GH_ENTERPRISE_TOKEN` / `GITHUB_ENTERPRISE_TOKEN`, or `gh auth token --hostname `. (#2) - Bitbucket Pipelines logs: `prw checks --logs`, `prw wait --logs` and the MCP tool `get_failed_logs` show, for each failed Pipelines build, the output of the script command that failed in its first failed step (from the last `+ command` line up to the teardown), or the reason Bitbucket gives when there's no log (e.g. a timeout). Needs a token with the pipeline read scope. @@ -107,7 +111,8 @@ prw now covers the whole PR lifecycle and is built for scripts and AI agents: it - Complete documentation: README, CONTRIBUTING, SECURITY, QUICKSTART - MIT license -[Unreleased]: https://github.com/devblac/prw/compare/v0.5.0...HEAD +[Unreleased]: https://github.com/devblac/prw/compare/v0.6.0...HEAD +[0.6.0]: https://github.com/devblac/prw/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/devblac/prw/compare/v0.4.0...v0.5.0 [0.4.0]: https://github.com/devblac/prw/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/devblac/prw/releases/tag/v0.3.0 diff --git a/TASKS.md b/TASKS.md index 3197be8..8f600dd 100644 --- a/TASKS.md +++ b/TASKS.md @@ -103,6 +103,8 @@ Legend — Impact: 1–5 · Effort: S (≤½ day), M (1–2 days), L (3+ days) - ✅ #2 GitHub Enterprise — as a third host rather than replacing github.com (one `github_enterprise_url`; API `/api/v3`, or `api..ghe.com`; token from config, GH_ENTERPRISE_TOKEN or `gh auth token --hostname`). Routing tested against a fake server; not tried on a real instance. - ✅ Bitbucket Pipelines logs for `--logs` / MCP `get_failed_logs` (RunLogReader on the Bitbucket client: steps by build number, log by pipeline + step UUID). Verified live anonymously up to the log download (needs the pipeline scope; the timeout reason is shown instead); the log parser is tested on a constructed log, to check against a real one with the owner's token. - ✅ Bitbucket auto-watch (`--mine` / `--review-requested`): per-host finders, review scan every 15 min skipping PRs already reviewed, check interval scaled to the number of Bitbucket PRs (600 req/h budget). Verified live with a public Bitbucket user + the owner's GitHub account in one watch list. +- ✅ Codex review follow-ups on #26–#29 (#31): Bitbucket statuses with the same name kept apart, merged PRs in the dashboard age out and are filtered by merge time, CI keeps refreshing next to a failure, closed review PRs not re-added between scans. +- 🚀 v0.6.0 released with GitHub Enterprise, Bitbucket auto-watch and Pipelines logs (PRs #27–#31). - Next: #17 packaging (Homebrew/Scoop) + keychain token storage, #8 `gh` extension publishing — both need owner decisions ## Planned diff --git a/internal/version/version.go b/internal/version/version.go index 851f3c3..7404455 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -3,7 +3,7 @@ package version import "fmt" var ( - Version = "0.5.0" + Version = "0.6.0" Commit = "unknown" )