fix(config): restore MISE_ENV_FILE setting#9903
Conversation
Greptile SummaryThis PR restores
Confidence Score: 4/5The env_file restoration is correct and well-executed; a stale incorrect deprecation message on the unrelated The settings.toml — the Important Files Changed
Reviews (3): Last reviewed commit: "docs(config): clarify MISE_ENV_FILE find..." | Re-trigger Greptile |
There was a problem hiding this comment.
Code Review
This pull request undeprecates the env_file setting, removing related deprecation notices from the schema and configuration files. The review feedback identifies a misleading deprecation message for the profile setting, suggesting MISE_ENV as the correct replacement, and recommends clarifying the documentation to explicitly state that MISE_ENV_FILE loads all matching files found in the directory hierarchy.
18f5eb6 to
59e7315
Compare
### 🚀 Features - **(cli)** rename before flag to minimum release age by @risu729 in [#9768](#9768) - **(core)** deprecate default package files by @jdx in [#9970](#9970) - **(edit)** add --global flag for editing the global config file by @fru1tworld in [#9953](#9953) ### 🐛 Bug Fixes - **(aqua)** support cosign public-key bundles by @jdx in [#9972](#9972) - **(backend)** pass install_env to postinstall by @risu729 in [#9930](#9930) - **(backend)** apply install_env to install commands by @risu729 in [#9929](#9929) - **(cargo)** skip binstall for cargo install options by @risu729 in [#9928](#9928) - **(config)** restore MISE_ENV_FILE setting by @risu729 in [#9903](#9903) ### 🚜 Refactor - **(cli)** use tool wording in version env help by @risu729 in [#9906](#9906) - **(conda)** parse tool options locally by @risu729 in [#9960](#9960) - **(core)** parse plugin tool options locally by @risu729 in [#9963](#9963) - **(go)** parse tool options locally by @risu729 in [#9961](#9961) - **(http)** parse tool options locally by @risu729 in [#9870](#9870) ### 📦️ Dependency Updates - lock file maintenance by @renovate[bot] in [#9954](#9954) - lock file maintenance by @renovate[bot] in [#9957](#9957) ### 📦 Registry - use aqua backend for qsv by @risu729 in [#9910](#9910) ### Ci - build/publish snap package for arm64 by @jnsgruk in [#9948](#9948) ### New Contributors - @jnsgruk made their first contribution in [#9948](#9948) ## 📦 Aqua Registry Updates ### New Packages (2) - [`AOMediaCodec/libavif`](https://github.com/AOMediaCodec/libavif) - [`julian7/redact`](https://github.com/julian7/redact) ### Updated Packages (1) - [`apache/jena`](https://github.com/apache/jena)
Summary
env_filesetting /MISE_ENV_FILE[settings] env_file = ".env"MISE_ENV_FILEloads all matching files found from the current directory upward, unlikeenv._.filepaths in config filesContext
Discussion: #9897
env._.fileis still the right replacement for legacy top-levelenv_fileentries inmise.toml, but it is not a behaviorally equivalent replacement forMISE_ENV_FILE=.envbecause the setting usesFindUpfrom the current directory.Testing
mise run render:schemaThis pull request was generated by an AI coding assistant.