Skip to content

Release v1.13.4#3023

Merged
nighca merged 4 commits intomainfrom
dev
Apr 10, 2026
Merged

Release v1.13.4#3023
nighca merged 4 commits intomainfrom
dev

Conversation

@nighca
Copy link
Copy Markdown
Collaborator

@nighca nighca commented Apr 10, 2026

nighca and others added 4 commits April 8, 2026 01:47
* Support project type in apis & models

* Refine project type compatibility boundaries

* Tighten project type API contract

* Add type validation in local helpers
Document the route canonicalization contract in `docs/openapi.yaml`,
including moved-route responses and query normalization.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Handle moved-resource responses from the backend without generic write
retries, and retry updateProject once with the canonical route so
saving existing projects still works after a project rename.

Replace unresolved user, project, and editor routes with canonical
backend values after loading so subsequent UI behavior uses canonical
identifiers consistently.

Updates #2993

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a robust mechanism for handling resource renames and route normalization for users and projects. Key changes include updating the OpenAPI specification to support 301 and 409 responses with canonical metadata, enhancing the API client to parse this metadata, and implementing automatic route redirection in the frontend when a historical username or project name is accessed. Additionally, a type field (defaulting to game) has been added to projects across the API and UI. Review feedback identifies a high-severity issue where route normalization watchers on the project, user, and editor pages may trigger incorrectly due to stale data during navigation; it is recommended to gate these redirects with a loading state check. A potential regression in the asset library search behavior was also noted.

@nighca nighca merged commit 8d27ea2 into main Apr 10, 2026
7 checks passed
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.

2 participants