From 04ad230d595bd1bf7db31116aec500b1f48eb773 Mon Sep 17 00:00:00 2001 From: bircni Date: Sun, 18 Oct 2026 17:18:17 +0200 Subject: [PATCH] docs: note the 1.0 short-flag and argument changes; drop the stale retract Signed-off-by: bircni --- docs/migration-1.0.md | 9 +++++++++ go.mod | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/migration-1.0.md b/docs/migration-1.0.md index 6f38e1f5..98a90c9f 100644 --- a/docs/migration-1.0.md +++ b/docs/migration-1.0.md @@ -344,6 +344,15 @@ archive, or run `make docs`. ## Behavior changes +- Short flags changed meaning: `pr create -b` is now `--body` (it was `--base`, now `-B`), + and `release edit --draft` / `--prerelease` are switches, so the 0.16 form + `--draft false` is refused instead of being read as a tag; use `--draft=false`. +- `search repo --private` and `--archived` are switches. Write `--private=false` where + 0.16 accepted `--private false`. +- `pr review reply ` takes the reply with `--body`, `--body-file` or + `--editor`, not as a third argument. `repo create` names its template options `--template` + and `--trust-model`; see `tea repo create --help`. +- `--repo` takes `OWNER/REPO` or a URL; use `--cwd DIR` to point at a local checkout. - `pr checkout N` (alias `co`) checks out a local branch named after the PR's head branch when that name is free or already points at the head; otherwise it uses `OWNER/BRANCH` for a fork or `pr/N`. The branch tracks the head diff --git a/go.mod b/go.mod index 06bc7ca3..67afbb66 100644 --- a/go.mod +++ b/go.mod @@ -72,5 +72,3 @@ require ( golang.org/x/text v0.43.0 // indirect golang.org/x/tools v0.51.0 // indirect ) - -retract v1.3.3 // accidental release, tag deleted