From 9d483bc216915eb467c5b16e12c8a2b0d07bc27c Mon Sep 17 00:00:00 2001 From: aliou <980367+aliou@users.noreply.github.com> Date: Thu, 26 Mar 2026 09:42:32 +0000 Subject: [PATCH] release: v0.5.0 --- .changeset/blue-tables-rule.md | 11 ----------- .changeset/fuzzy-years-help.md | 10 ---------- .changeset/khaki-badgers-sip.md | 9 --------- CHANGELOG.md | 27 +++++++++++++++++++++++++++ flake.nix | 8 ++++---- package.json | 2 +- schemas/config.schema.json | 2 +- 7 files changed, 33 insertions(+), 36 deletions(-) delete mode 100644 .changeset/blue-tables-rule.md delete mode 100644 .changeset/fuzzy-years-help.md delete mode 100644 .changeset/khaki-badgers-sip.md diff --git a/.changeset/blue-tables-rule.md b/.changeset/blue-tables-rule.md deleted file mode 100644 index a9df3dd..0000000 --- a/.changeset/blue-tables-rule.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"linear-cli": patch ---- - -Add config setters with optional local scope. - -- Add `linear config workspace ` and `linear config team ` for global defaults -- Add `--local` to those config setters to write project-local config values -- Add `--local` to `linear auth use ` to set local workspace directly -- Remove unreleased `linear config local ...` command group in favor of unified `--local` UX -- Document the new commands in README diff --git a/.changeset/fuzzy-years-help.md b/.changeset/fuzzy-years-help.md deleted file mode 100644 index d3a9d02..0000000 --- a/.changeset/fuzzy-years-help.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"linear-cli": patch ---- - -Improve agent ergonomics for destructive commands and help output. - -- Add `--dry-run` preview mode for destructive operations (`comment delete`, `document delete`, `issue close`, `label delete`, `milestone delete`) -- Add `--yes` to skip interactive confirmations in non-interactive flows -- Add automatic command examples to leaf subcommand `--help` output -- Improve `auth login` missing-token errors with actionable hints diff --git a/.changeset/khaki-badgers-sip.md b/.changeset/khaki-badgers-sip.md deleted file mode 100644 index bbe9f74..0000000 --- a/.changeset/khaki-badgers-sip.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"linear-cli": minor ---- - -Remove OAuth authentication support and legacy auth parsing. - -The CLI now accepts API keys only. Authentication resolves from `LINEAR_API_TOKEN` or `workspaces..apiToken`. - -Top-level legacy auth fields and OAuth fields in config are now ignored and never written back. diff --git a/CHANGELOG.md b/CHANGELOG.md index 18e57ea..ff9e4a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # linear-cli +## 0.5.0 + +### Minor Changes + +- 8dcf9e6: Remove OAuth authentication support and legacy auth parsing. + + The CLI now accepts API keys only. Authentication resolves from `LINEAR_API_TOKEN` or `workspaces..apiToken`. + + Top-level legacy auth fields and OAuth fields in config are now ignored and never written back. + +### Patch Changes + +- b4dc162: Add config setters with optional local scope. + + - Add `linear config workspace ` and `linear config team ` for global defaults + - Add `--local` to those config setters to write project-local config values + - Add `--local` to `linear auth use ` to set local workspace directly + - Remove unreleased `linear config local ...` command group in favor of unified `--local` UX + - Document the new commands in README + +- b16190f: Improve agent ergonomics for destructive commands and help output. + + - Add `--dry-run` preview mode for destructive operations (`comment delete`, `document delete`, `issue close`, `label delete`, `milestone delete`) + - Add `--yes` to skip interactive confirmations in non-interactive flows + - Add automatic command examples to leaf subcommand `--help` output + - Improve `auth login` missing-token errors with actionable hints + ## 0.4.0 ### Minor Changes diff --git a/flake.nix b/flake.nix index 2cab335..e119d0a 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ outputs = { self, nixpkgs, flake-utils, git-hooks }: let - version = "0.4.0"; + version = "0.5.0"; # Binary hashes for releases - update these after each release # Run: nix-prefetch-url --type sha256 @@ -20,15 +20,15 @@ binaries = { "aarch64-darwin" = { url = "https://github.com/aliou/linear-cli/releases/download/v${version}/linear-darwin-arm64"; - hash = "sha256-7kM7qq3JcIc259XZRYf76RJ93tOa/lPDCnPqsmr6pto="; # darwin + hash = "sha256-ftBKMrQINlhxdwd3K36yNuYOvm+qzkIbXMNDqtWkqBw="; # darwin }; "aarch64-linux" = { url = "https://github.com/aliou/linear-cli/releases/download/v${version}/linear-linux-arm64"; - hash = "sha256-PAHduC5lnCMQQR8bK06Qft1dVpc+NGrHencTAftP6P8="; # linux-arm64 + hash = "sha256-dh7uCuj+7X0mVh1L7RSdx3SU84+6FhXI8e9vOlSvxpo="; # linux-arm64 }; "x86_64-linux" = { url = "https://github.com/aliou/linear-cli/releases/download/v${version}/linear-linux-x64"; - hash = "sha256-5MdCVisHQkwTpHDc2AxnAT8hqS0tkEpzl2msykmrYLA="; # linux-x64 + hash = "sha256-pV09d5ZzbyVkZGrwFGFXyNK/TsrnY3XBwEzRzvLq0zI="; # linux-x64 }; }; diff --git a/package.json b/package.json index db38725..5d3498e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linear-cli", - "version": "0.4.0", + "version": "0.5.0", "description": "CLI for Linear via GraphQL API", "module": "src/index.ts", "type": "module", diff --git a/schemas/config.schema.json b/schemas/config.schema.json index b8caa62..1158ead 100644 --- a/schemas/config.schema.json +++ b/schemas/config.schema.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://raw.githubusercontent.com/aliou/linear-cli/v0.4.0/schemas/config.schema.json", + "$id": "https://raw.githubusercontent.com/aliou/linear-cli/v0.5.0/schemas/config.schema.json", "title": "linear-cli config", "description": "Configuration for linear-cli.", "type": "object", -- 2.51.2