Skip to content

feat(config): use hidden local file and expand tilde paths - #84

Merged
benbenbang merged 1 commit into
mainfrom
feature/config-discovery
Oct 11, 2026
Merged

benbenbang merged 1 commit into
mainfrom
feature/config-discovery

Conversation

@benbenbang

Copy link
Copy Markdown
Member

Change local configuration discovery to the hidden .jevwise.toml name and
switch the global namespace to jevwise/jevwise.toml, dropping the legacy
ts-jev/config.toml location. Explicit --config and XDG paths now expand a
leading ~/ to the current user's home for init, view, edit and runtime
loading, while rejecting ~otheruser and shell/environment evaluation.

Local discovery inspects only the exact hidden name; visible jevwise.toml,
config.toml, configs.toml, YAML files and ancestor configs are never
auto-loaded. Custom upstream-key variables still work through TOML $NAME
references without overriding the precedence of environment keys.

Update the configuration and development docs plus tests to reflect the new
file names, tilde handling and discovery rules.

BREAKING CHANGE: legacy ts-jev/config.toml and visible jevwise.toml are no
longer discovered; migrate manually or select them with --config.

Change local configuration discovery to the hidden `.jevwise.toml` name and
switch the global namespace to `jevwise/jevwise.toml`, dropping the legacy
`ts-jev/config.toml` location. Explicit `--config` and XDG paths now expand a
leading `~/` to the current user's home for init, view, edit and runtime
loading, while rejecting `~otheruser` and shell/environment evaluation.

Local discovery inspects only the exact hidden name; visible `jevwise.toml`,
`config.toml`, `configs.toml`, YAML files and ancestor configs are never
auto-loaded. Custom upstream-key variables still work through TOML `$NAME`
references without overriding the precedence of environment keys.

Update the configuration and development docs plus tests to reflect the new
file names, tilde handling and discovery rules.

BREAKING CHANGE: legacy `ts-jev/config.toml` and visible `jevwise.toml` are no
longer discovered; migrate manually or select them with `--config`.
@benbenbang
benbenbang enabled auto-merge (rebase) October 11, 2026 02:48
@github-actions github-actions Bot added documentation Improvements or additions to documentation triage labels Oct 11, 2026
@benbenbang
benbenbang merged commit eeb397d into main Oct 11, 2026
5 checks passed
@benbenbang
benbenbang deleted the feature/config-discovery branch October 11, 2026 02:49
@ptah-bw-technical-app

Copy link
Copy Markdown

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation released triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant