uv/docs/concepts
Mikayla Thompson f22af0f88a
Deprecate `--project` arg for init (#16674)
Addresses https://github.com/astral-sh/uv/issues/15790

## Summary

After discussion, the functionality of `--project` vs `--directory` was
quite unclear in this case, so deprecating `--project` for `init` is
probably the clearest behavior option. This is a breaking change, so it
requires being under preview before being rolled out fully.

Included in the PR now:
- new feature flag (`init --project` is deprecated if `--preview` or
`--preview-features deprecate-project-for-init` are provided)
- tests (for `--directory` behavior, as well as the current warning and
future error)
- documentation updated in docs/concepts/projects/init.md

---------

Signed-off-by: Mikayla Thompson <mrt@mikayla.codes>
2025-11-10 16:33:08 -07:00
..
authentication Allow providing the `uv auth login` password or token via stdin (#15642) 2025-09-02 16:59:58 -05:00
projects Deprecate `--project` arg for init (#16674) 2025-11-10 16:33:08 -07:00
build-backend.md Bump version to 0.9.8 (#16636) 2025-11-07 11:45:22 -06:00
cache.md Suggest `uv cache clean` prior to `--reinstall` (#14659) 2025-07-16 12:02:29 -04:00
configuration-files.md Remove the configuration section in favor of concepts / reference (#13842) 2025-06-05 17:09:49 +00:00
index.md Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
indexes.md Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
preview.md Remove the native system store from the keyring providers (#15612) 2025-09-02 13:16:52 -05:00
python-versions.md Remove outdated aarch64 musl note (#16385) 2025-10-21 16:08:37 +02:00
resolution.md Add `package` level conflicts to the conflicting dependencies docs (#15963) 2025-09-22 09:07:07 -05:00
tools.md Support installing additional executables in `uv tool install` (#14014) 2025-07-30 14:50:24 -05:00