Repository navigation
Releases
Releases · inhere/xenv
v0.6.1
v0.6.0
Change Log
Refactor
- refactor(direnv): carry the applied record in XENV_APPLIED_DIRENV instead of session state 0237557
Feature
- feat(state): add the applied direnv record structure 3735ca2
- feat(state): persist the applied direnv record in the session state 6fedaf1
- feat(direnv): carry the applied record in XENV_APPLIED_DIRENV 79424b1
- feat(direnv): keep the applied record in sync for -s scoped commands 0df376e
- feat(status): show the applied direnv record in --layers ca70f04
Fixed
- fix(direnv): keep the undo script when applying the new directory fails 99e86a6
Other
- docs: design leaving-directory restore for direnv state 791d896
- docs: plan the leave-directory restore implementation 0338957
- checkpoint: split SetupDirenv into undo, apply and record 3477edb
- docs: move the direnv record to a shell env var (design 0.2) cf98c13
- docs: revise the plan for the env var record carrier (plan 0.2) b5473a9
- docs: describe the leave-directory restore behavior and its limits eb6fbd2
- docs: record the implementation progress and e2e evidence in the plan bc8e446
- test: resolve temp dir symlinks so path expectations match the code 870e590
v0.5.0
Change Log
Refactor
- refactor(config): remove the dead related-files export path 0dbf740
- refactor: remove dead code found by the audit d0f404e
Feature
- feat(env): accept multiple KEY=VALUE pairs in env set f52cd00
- feat(envrc): source .envrc files when project scripts are enabled 22c09e2
- feat(direnv): honor check_tools_on_direnv when entering a directory 7c29284
- feat(sdk): implement the allow_up_match levels 2 and 9 93df9c4
- feat(status): detect Runtime State from PATH and active env vars 34f13ba
- docs: fix release archive names and mark the feature report as a snapshot aa00ae9
- feat(sdk): support the stable alias and clarify unsupported ones 95bcbfd
Fixed
- fix(shell): quote and escape generated env and PATH snippets c3a6e75
- fix(config,shell): persist config changes and implement profile install 6c11c5e
- fix(sdk): compare and sort versions numerically a8c12b2
- fix(cli): implement the options that were accepted but ignored ee2b784
- fix(shell): load hooks dir scripts in zsh and clink 2032139
- fix(cli): report unknown subcommands and list directory state 51ecc4b
- fix(state): keep empty env values in .xenv.toml d01659b
- fix(env): keep unsetting the remaining names when one is missing b207807
- fix(sdk): normalize the install dir printed by sdk where f4ea38b
- fix(state): report where a new project config will be saved 488de42
- fix(sdk): only treat non numeric aliases as unsupported a2f7ade
Other
- test(cli): cover env set argument parsing 208329e
- docs: document the env set KEY=VALUE form 1e609f2
- test(sysenv): cover the windows registry user environment 3c45864
- ci: enforce gofmt, vet and tidy, and fail staticcheck on errors 6cdbfbb
- test(shell): replace the drifted hook testdata with a real profile path test 2630316
v0.4.0
Change Log
Refactor
- refactor: drop dead code reported by staticcheck 59c18ca
- refactor(manager): simplify the processedSecs bool check 631fb4e
Feature
- feat(sysenv): add OS user environment store 4574ea9
- feat(service): add system env and PATH operations f31a275
- feat(cli): add -S/--system to env set/unset and path add/rm 3b3f880
- feat(sysenv): add read APIs for the OS user environment ec348cd
- feat(service): expose system env and PATH for listing a344482
- feat(cli): list system values with -S on env list and path list 81c3ae5
- feat(service): add RunService for one-shot environments 108c253
- feat(cli): add the xenv run/exec command dcdf942
Fixed
- fix(service): resolve run --path and --cwd to absolute paths 6572999
Other
- build(deps): bump actions/checkout from 6 to 7 929b54d
- dep: update deps to latest version b616ae4
- build(deps): bump github.com/gookit/config/v2 from 2.2.8 to 2.2.9 09cff01
- docs: document the -S/--system environment scope 05305ee
- docs: document -S on env list and path list 5dde785
- docs: design xenv run one-shot environment command 1664665
- docs: add --cwd to the xenv run design and record the design approval e2d7521
- docs: plan the xenv run implementation 9e28846
- test(service): cover run env composition and option validation fee8da6
- docs: document the xenv run one-shot command 21d276b
- chore: update deps to latest b8277f9
- test(cli): adapt version output and dash values to gcli 3.8.3 58cca08
- test(service): isolate XENV_CONFIG_DIR and PATH in direnv tests 2ddf18f
- test: migrate to goutil/x/assert from the deprecated testutil/assert 3f9e1be
- style: gofmt the ActivityState initializer c1885c2
v0.3.1
v0.3.0
Change Log
Refactor
- refactor: remove top-level list command e55bd62
Feature
- feat: add top-level status command 8be89f7
- feat: show effective status layers 60f87f1
- feat: warn on temporary session sdk override 3db9bbe
Fixed
- fix: save env set direnv state febde6f
- fix: keep hook alive on direnv load errors b042f87
- fix: pass pwsh hook flags through e119fcb
- fix: update hook completions for status dd88a73
Other
v0.2.4
Change Log
Feature
- feat: add oneword install template token 2c5b63b
Update
- up: update list command add option --group eeffbec
Fixed
- fix: make sdk unuse idempotent 09d41c6
- fix: accept shell executable path type 5ce8b58
- fix: prevent bash hook exiting shell 57bcb8c
- fix: format PATH for git bash 478111c
- fix: parse hyphenated sdk versions 48ba90a
- fix: keep sdk scan filesystem paths native b8589de
- fix: format bash init sdk PATH 9ae8807
- fix: tidy grouped state output a9ad2ac
v0.2.3
v0.2.2
Change Log
Refactor
- refactor(cli): adjust env subcommands registration and config 873d2eb
- refactor(cli): 统一环境相关命令的分类名称 e4c8d4f
Feature
- feat: support local xenv project config 0b2f642
Fixed
- fix(shell): gate bash expr debug output ea6ab67
- fix(sdk): allow unuse for merged sdk sources b69f0a0
- fix(direnv): preserve existing sdk specs 8337c33
- fix(sdk): avoid panic on empty latest match 043ca8f
- fix(sdk): resolve configured aliases e1f95c2
- fix(sdk_service): 替换日志打印包并更新依赖版本 5322c0f
- fix(shell): evaluate command aliases in hooks 549710f
- fix(sdk): strictly match version directory templates 4bed9d1
- fix(sdk): support anyword install templates a4e6b1b
- fix(direnv): preserve project paths with sdk activation 8e1bf36