Skip to content

[docs] Document deprecation of top-level url/admin_api in favor of environments - #2462

Draft
shopware-docs-updater[bot] wants to merge 1 commit into
mainfrom
docs/pr-1405-env-config-deprecation-7cdfba24deddaf3d
Draft

[docs] Document deprecation of top-level url/admin_api in favor of environments#2462
shopware-docs-updater[bot] wants to merge 1 commit into
mainfrom
docs/pr-1405-env-config-deprecation-7cdfba24deddaf3d

Conversation

@shopware-docs-updater

Copy link
Copy Markdown

Follow-up docs for shopware/shopware-cli#1405 (author: @shyim, merged via cursor[bot] PR).

User-facing change

That PR deprecates the top-level url and admin_api keys in .shopware-project.yml in favor of named environments (an empty -e/--env now defaults to environments.local). project create and project config init now only write environments.local, and the CLI logs a deprecation warning when a config still uses the top-level keys.

Documentation gap

Our config reference examples still showed a stale top-level url: key alongside environments.local, which contradicted the new deprecated/preferred layout, and project config init docs didn't mention where credentials are written or that the old keys are deprecated.

Files changed

  • guides/development/dev-environment.md — removed the stale top-level url example and added a note that url/admin_api at the top level are deprecated in favor of environments (empty -e defaults to environments.local).
  • products/tools/cli/project-commands/helper-commands.md — clarified that project config init writes environments.local and noted the deprecation warning for top-level keys.

No other docs pages referenced the deprecated top-level layout in a way that needed changes.

Generated by 📝 PR documentation check for #1405 · auto · 52.5 AIC · ⌖ 3.57 AIC · ⊞ 7.6K ·

…ironments

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@shopware-dev-docs-connector

shopware-dev-docs-connector Bot commented Aug 19, 2026

Copy link
Copy Markdown

Developer Docs healthcheck

Status: Completed with success.
Repository: shopware/docs
Commit: 312013c
Preview: https://developer-documentation-kgkzsemmx-shopware-frontends.vercel.app
Workflow run: #4924

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants