Releases: sofq/jira-cli
Releases · sofq/jira-cli
v1.1.3
v1.1.2
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) toExitValidation(4) to match the error type - config: Fall back to
UserHomeDirwhenAPPDATAis 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
Changelog
v1.1.0
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
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
What's Changed
Code quality improvements from Go review:
- Merge two
init()incmd/root.gointo one to eliminate implicit ordering dependency - Tighten cache directory permissions from
0o755to0o700 - Replace
strings.NewReader(string([]byte))withbytes.NewReaderto avoid unnecessary heap copies - Simplify batch body reader to use
io.Readerinterface directly - Add error check for
json.MarshalIndentinconfig.SaveTo - Include response body in
testConnectionerror messages for better diagnostics - Standardize
interface{}→anyacross codebase - Remove redundant double-trim in batch output
Full Changelog: v0.9.6...v0.9.7
v0.9.6
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.gofiles following Go convention - test: Added 19 new tests for
runTransition,runAssign,compactSchema— cmd coverage improved from 75.5% → 84.8% - chore: Modernized
interface{}→anyacross test files