Skip to content

Releases: sofq/jira-cli

v1.1.3

25 Mar 14:04
9a5b4d2

Choose a tag to compare

Changelog

  • 9a5b4d2 Fix docs accuracy and esbuild security vulnerability (#83)
  • a1110aa deps: update Jira OpenAPI spec (#81)
  • 3ca858a deps: update Jira OpenAPI spec (#82)

v1.1.2

18 Mar 13:01
9c33156

Choose a tag to compare

Bug Fixes

  • duration: Reject garbage text around valid duration units (e.g. "2h garbage" now returns an error instead of silently parsing as 7200 seconds)
  • adf: Trim trailing newlines to prevent creating invalid empty-text ADF paragraph nodes that Jira may reject
  • template: Parameterize labels in templateFromIssue — labels are now overridable via --var labels=... instead of being hard-coded from the source issue
  • template: Preserve default value when an empty string is explicitly passed for a required variable with a default
  • batch: Correct exit code for stdin read failure from ExitError (1) to ExitValidation (4) to match the error type
  • config: Fall back to UserHomeDir when APPDATA is unset on Windows, preventing a relative config path
  • gen: Handle empty {} path parameters gracefully in code generation instead of producing invalid Go code

All fixes include regression tests. Full test suite (670+ tests) passes.

v1.1.1

18 Mar 11:00
b4072cc

Choose a tag to compare

Changelog

v1.1.0

18 Mar 10:25
477c7e5

Choose a tag to compare

What's New

Template System

  • Create issues from predefined templates with variable substitution
  • Commands: jr template list, jr template show, jr template apply, jr template create
  • Create templates from existing issues with --from

Security Features

  • Operation policy: Allowlist/denylist per profile to restrict which operations can run
  • Batch size limits: Configurable max batch size (default 50)
  • Audit logging: JSONL operation logging per-profile or per-invocation

Diff / Changelog

  • Structured change history viewer: jr diff --issue KEY
  • Filter by time (--since 2h) or field (--field status)

Documentation

  • Redesigned website with custom hero component
  • Split getting-started into focused guide pages
  • Added templates and security documentation

Testing

  • Increased code coverage from 79% to 99%

v1.0.1

17 Mar 18:05
5dea44f

Choose a tag to compare

Changelog

  • bef919c deps: update Jira OpenAPI spec (#59)
  • 6d1643c feat: add documentation site with auto-generated command reference (#61)
  • 5dea44f fix: correct deploy-pages action SHA in docs workflow (#62)
  • 0776d72 fix: correct license text in README from MIT to Apache 2.0 (#58)
  • 5d97006 fix: prevent test race in spec-drift workflow (#60)

v0.9.7

17 Mar 06:16
742239f

Choose a tag to compare

What's Changed

Code quality improvements from Go review:

  • Merge two init() in cmd/root.go into one to eliminate implicit ordering dependency
  • Tighten cache directory permissions from 0o755 to 0o700
  • Replace strings.NewReader(string([]byte)) with bytes.NewReader to avoid unnecessary heap copies
  • Simplify batch body reader to use io.Reader interface directly
  • Add error check for json.MarshalIndent in config.SaveTo
  • Include response body in testConnection error messages for better diagnostics
  • Standardize interface{}any across codebase
  • Remove redundant double-trim in batch output

Full Changelog: v0.9.6...v0.9.7

v0.9.6

16 Mar 18:58
6f92b2b

Choose a tag to compare

Changes

  • refactor: Reorganized cmd test files from 3 poorly-named files (bugfix_test.go, bughunt_test.go, bughunt2_test.go) into 11 proper <source>_test.go files following Go convention
  • test: Added 19 new tests for runTransition, runAssign, compactSchema — cmd coverage improved from 75.5% → 84.8%
  • chore: Modernized interface{}any across test files

v0.9.5

16 Mar 18:22
bcbc623

Choose a tag to compare

Changelog

  • bcbc623 fix: restore OIDC trusted publishing for npm (#54)

v0.9.4

16 Mar 18:14
68bb937

Choose a tag to compare

Changelog

  • 68bb937 refactor: remove unreachable defensive code for 100% coverage (#53)

v0.9.3

16 Mar 18:05
576f540

Choose a tag to compare

Changelog

  • c8b1898 fix: add NODE_AUTH_TOKEN for npm publish (#48)