v1.8.10
On this page
HighlightsLink to this section
systhema upgrade no longer adds a route the project already serves, so projects with their own catch-all route keep building.
Upgrade skips routes your app already servesLink to this section
The upgrade's managed-file refresh (systhema-core payload create-app-files) used to write every Systhema route template, including the src/app/(site)/(systhema)/[[...segments]] catch-all page, the sitemap route and sys/[route]. It never checked the routes the project already had. A project with its own catch-all at the same URL, for example src/app/(frontend)/[[...slug]]/page.tsx, got a second untracked src/app/(site)/ folder, and next build then failed on the clashing routes.
The refresh now compares every route file it would add with the routes under src/app, using Next's build rules: the same URL twice, two slug names at one dynamic level, a required and an optional catch-all at one level, and a path beside an optional catch-all. A colliding file is skipped and the upgrade prints a warning:
Skipped <path>: its route <url> collides with <your file>, which this project already serves.When the whole route group would only exist for that file, such as src/app/(site), the group is left out. Projects without a clash get every managed file as before.
UpgradeLink to this section
Run the upgrade and check the project.
systhema upgrade
systhema doctorIf an earlier upgrade left an untracked src/app/(site)/ folder next to your own catch-all route, delete that folder. See systhema upgrade.
ChangesLink to this section
- fix(core): skip managed routes the project already serves (#1568) (7554023b09)
Packages affectedLink to this section
@systhemaui/core and @systhemaui/cli. The other packages receive the same version.