Skip to content

adds upgrade guide and apidocs#2134

Open
somethings (lasomethingsomething) wants to merge 30 commits intomainfrom
api-upgrade-changesfeb23
Open

adds upgrade guide and apidocs#2134
somethings (lasomethingsomething) wants to merge 30 commits intomainfrom
api-upgrade-changesfeb23

Conversation

@lasomethingsomething
Copy link
Contributor

@lasomethingsomething somethings (lasomethingsomething) commented Feb 24, 2026

This moves upgrade-related files previously stored near the bottom of the left sidebar into a dedicated folder. It also consolidates API-related concepts information into a page that replaces one-paragraph pages and renames the folder "APIs" as we have more than one.

The pages in the guides > upgrades-migrations > admin folder will require some review at a later stage; for now I've just moved them.

@github-actions
Copy link
Contributor

⚠️ Moved markdown files detected. Please ensure redirects are updated in .gitbook.yaml file.

@Isengo1989
Copy link
Contributor

Just quickly skimmed over it, and there is an issue with the files used in some MD files (rel paths are not working anymore)

image

The language 'script' is not loaded, falling back to 'txt' for syntax highlighting.
build error:
Could not resolve "./../../assets/concepts-api-storeApiLogic.svg" from "src/docs/concepts/framework/architecture/storefront-concept.md"
file: /home/runner/work/developer-portal/developer-portal/src/docs/concepts/framework/architecture/storefront-concept.md
Could not resolve "./../../assets/concepts-api-storeApiLogic.svg" from "src/docs/concepts/framework/architecture/storefront-concept.md"
file: /home/runner/work/developer-portal/developer-portal/src/docs/concepts/framework/architecture/storefront-concept.md
at getRollupError (file:///home/runner/work/developer-portal/developer-portal/node_modules/rollup/dist/es/shared/parseAst.js:401:41)
at error (file:///home/runner/work/developer-portal/developer-portal/node_modules/rollup/dist/es/shared/parseAst.js:397:42)
at ModuleLoader.handleInvalidResolvedId (file:///home/runner/work/developer-portal/developer-portal/node_modules/rollup/dist/es/shared/node-entry.js:21565:24)
at file:///home/runner/work/developer-portal/developer-portal/node_modules/rollup/dist/es/shared/node-entry.js:21525:26
 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.

@sushmangupta
Copy link
Contributor

Su (sushmangupta) commented Feb 26, 2026

somethings (@lasomethingsomething) - Should we consider adding foundational Core concepts to the Architecture section https://developer.shopware.com/docs/concepts/framework/architecture/ ?

Su (sushmangupta) and others added 11 commits February 26, 2026 10:56
Co-authored-by: Su <112690947+sushmangupta@users.noreply.github.com>
Co-authored-by: Su <112690947+sushmangupta@users.noreply.github.com>
Co-authored-by: Su <112690947+sushmangupta@users.noreply.github.com>
@lasomethingsomething
Copy link
Contributor Author

Su (@sushmangupta) Regarding arch concepts, go ahead or someone else can add -- no bandwidth for additional changes like that given the other dev changes forthcoming.

@sushmangupta
Copy link
Contributor

somethings (somethings (@lasomethingsomething)) - Should we consider adding foundational Core concepts to the Architecture section https://developer.shopware.com/docs/concepts/framework/architecture/ ?

added here : 2bef043


# Administration

These guides cover upcoming architectural changes and migration paths affecting Administration extensions. Use them to prepare plugins for major system transitions:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

depending on the version not all of them are upcoming, vue3, pinia & vite for example are already completed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jonas Elfering (@keulinho) How's this? => "These guides cover architectural changes and migration paths affecting Administration extensions, helping you prepare plugins for major system transitions. Depending on the version, some changes (for example, Vue 3, Pinia, and Vite) may have already been completed."


* **Core**: Framework-level changes, data abstraction layer (DAL) updates, APIs, feature removals, and backend behavior.
* **[Administration](administration/index.md)**: frontend framework upgrades, Vue upgrades, breaking changes.
* **Translations**: [Extension translation](extension-translation), [Language pack migration](./language-pack-migration).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's meant by this and the extensions point?

Or rather by this whole paragraph?

When we have a major upgrade and you wanna make your extension compatible there are defiently changes in the core, admin and storefront that you need to look at 🤔

Copy link
Contributor Author

@lasomethingsomething somethings (lasomethingsomething) Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jonas Elfering (@keulinho) As the section title aims to suggest, it's meant to serve as a round-up of the section's contents. Wondering if this is better:

Upgrades can affect different parts of the platform. A major release can include changes across several of these areas at the same time:

  • Core: Framework-level changes, data abstraction layer (DAL) updates, APIs, feature removals, and backend behavior.
  • Administration: Frontend framework updates, Vue upgrades, and other breaking changes in the admin.
  • Translations: Extension translation changes and language pack migrations.
  • Extensions: Version compatibility requirements and potential refactorings that extension developers may need to apply when upgrading.

Extensions may be affected by changes in Core, Administration, or Storefront
and should be reviewed accordingly.

cc Su (@sushmangupta)

To reduce long-term upgrade cost:

* Avoid internal APIs and undocumented features
* Avoid unstable Admin patterns (`this.$parent`, prop mutation, Vue internals)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks super concrete compared to the others, not sure if it fits in, IMHO it's an extension to the first point

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jonas Elfering (@keulinho) How about this? ==> "Avoid relying on internal or undocumented APIs (e.g., unstable Admin patterns like this.$parent, direct prop mutation, or Vue internals)"

cc Su (@sushmangupta)


* Follow the ([Performing updates guide](../hosting/installation-updates/performing-updates.md)) to stage, test, and execute upgrades in order.
* Review [changelogs](https://github.com/shopware/shopware/tree/trunk/changelog) and UPGRADE files ([example](https://github.com/shopware/shopware/blob/trunk/UPGRADE-6.7.md)) per release.
* Script data migrations and cache warm-ups.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this mean? you would you do that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jonas Elfering (@keulinho) Text taken from https://github.com/shopware/docs/blob/6d15c147afaba496ec8819b2ab1ab3bdb8b1fa98/guides/good-practices/upgrades.md#custom-projects ("Custom Projects" section => "Review changelogs/UPGRADE files per release; script data migrations and cache warmups"

* Follow the ([Performing updates guide](../hosting/installation-updates/performing-updates.md)) to stage, test, and execute upgrades in order.
* Review [changelogs](https://github.com/shopware/shopware/tree/trunk/changelog) and UPGRADE files ([example](https://github.com/shopware/shopware/blob/trunk/UPGRADE-6.7.md)) per release.
* Script data migrations and cache warm-ups.
* Use feature toggles or maintenance mode to decouple risky changes from the deployment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this fit into the upgrade guide? 🤔
How does maintenance mode decouple risky changes from the deployment?

Copy link
Contributor Author

@lasomethingsomething somethings (lasomethingsomething) Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* Script data migrations and cache warm-ups.
* Use feature toggles or maintenance mode to decouple risky changes from the deployment.

### Custom plugins
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't we mixing things here? First we talk about how to upgrade shopware

here we talk about how to version your extensions 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


* Version manifests carefully. Broaden compatibility only after testing, and narrow it when deprecations apply.
* Keep webhook/action handlers tolerant to new fields and events. Avoid hard coupling to specific core patch behavior.
* Document required scopes/permissions per version and avoid removing scopes without a migration path.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How/Why?

We already have a permission system built directly into the app system, what should be done in addition to that? And why should i avoid removing scopes? IMHO it should be good practice to not request permissions you don't need anymore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got the text from here => https://github.com/shopware/docs/blob/6d15c147afaba496ec8819b2ab1ab3bdb8b1fa98/guides/good-practices/upgrades.md (Apps => "Document required scopes/permissions per version and avoid removing scopes without a migration path.")

nav:
title: Store API
position: 10
position: 41
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We always use 10 count steps. Let´s stick with that format for the sake of universal usage, maybe it also has backdraws that Bojan Rajh (@bojanrajh) might know or why we used 10 count steps in the first place

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants