diff --git a/Cargo.lock b/Cargo.lock index e03367a..0936d61 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -559,7 +559,7 @@ checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "git-workon" -version = "0.11.1" +version = "0.12.0" dependencies = [ "assert_cmd", "assert_fs", @@ -602,7 +602,7 @@ dependencies = [ [[package]] name = "git-workon-lib" -version = "0.11.1" +version = "0.12.0" dependencies = [ "assert_fs", "auth-git2", diff --git a/Cargo.toml b/Cargo.toml index f6fa59c..57ab382 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ clap_complete = { version = "4.6.5", features = ["unstable-dynamic"] } clap_mangen = "0.3.0" dialoguer = { version = "0.12.0", features = ["fuzzy-select"] } env_logger = "0.11.10" -git-workon-lib = { version = "0.11.1", path = "./git-workon-lib" } +git-workon-lib = { version = "0.12.0", path = "./git-workon-lib" } git-workon-fixture = { path = "./git-workon-fixture" } auth-git2 = "0.6" git2 = { version = "0.21.0", default-features = false, features = [ diff --git a/git-workon-lib/CHANGELOG.md b/git-workon-lib/CHANGELOG.md index 94a5e19..b382dce 100644 --- a/git-workon-lib/CHANGELOG.md +++ b/git-workon-lib/CHANGELOG.md @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.12.0](https://github.com/lettertwo/git-workon/compare/git-workon-lib-v0.11.1...git-workon-lib-v0.12.0) - 2026-08-14 + +### Added + +- *(hooks)* add doctor check for stale worktree admin names +- *(lib)* encode worktree admin names from root-relative path + +### Fixed + +- *(lib)* canonicalize paths before computing root-relative worktree path +- *(lib)* keep orphan HEAD unborn after explicit branch creation +- *(lib)* create orphan/detached branches explicitly, not via worktree name + +### Other + +- *(lib)* cover path-encoded worktree admin name behavior + ## [0.11.1](https://github.com/lettertwo/git-workon/compare/git-workon-lib-v0.11.0...git-workon-lib-v0.11.1) - 2026-07-31 ### Fixed diff --git a/git-workon-lib/Cargo.toml b/git-workon-lib/Cargo.toml index 32b04d6..ddb2ecf 100644 --- a/git-workon-lib/Cargo.toml +++ b/git-workon-lib/Cargo.toml @@ -10,7 +10,7 @@ name = "git-workon-lib" readme = "README.md" repository.workspace = true rust-version.workspace = true -version = "0.11.1" +version = "0.12.0" include = [ "src/**/*", "Cargo.toml", diff --git a/git-workon/CHANGELOG.md b/git-workon/CHANGELOG.md index 47e94f9..2c5e657 100644 --- a/git-workon/CHANGELOG.md +++ b/git-workon/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.12.0](https://github.com/lettertwo/git-workon/compare/git-workon-v0.11.1...git-workon-v0.12.0) - 2026-08-14 + +### Added + +- *(hooks)* add doctor check for stale worktree admin names +- *(cli)* offer worktree root-relative path in shell completion + +### Fixed + +- *(lib)* canonicalize paths before computing root-relative worktree path + +### Other + +- *(cli)* fix stale worktree admin-name assertion for slashed branch +- *(lib)* cover path-encoded worktree admin name behavior + ## [0.11.1](https://github.com/lettertwo/git-workon/compare/git-workon-v0.11.0...git-workon-v0.11.1) - 2026-07-31 ### Fixed diff --git a/git-workon/Cargo.toml b/git-workon/Cargo.toml index 5fba30b..cf88e51 100644 --- a/git-workon/Cargo.toml +++ b/git-workon/Cargo.toml @@ -10,7 +10,7 @@ name = "git-workon" readme = "README.md" repository.workspace = true rust-version.workspace = true -version = "0.11.1" +version = "0.12.0" include = [ "build.rs", "src/**/*",