feat(core): server version check for selfhost login (#13247)

close AF-2752;

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added a version compatibility check for self-hosted environments
during sign-in, displaying a clear error message and upgrade
instructions if the server version is outdated.
* **Style**
* Updated the appearance of the notification icon in the mobile header
for improved visual consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Cats Juice authored and GitHub committed 2025-07-17 09:21:51 +00:00
1 parent bdf1389258
commit c90d511251
5 files changed
+86 -2

No files matched your search

+3 -1
View File
@@ -435,6 +435,7 @@ __metadata:
"@types/bytes": "npm:^3.1.5"
"@types/image-blob-reduce": "npm:^4.1.4"
"@types/lodash-es": "npm:^4.17.12"
"@types/semver": "npm:^7"
"@vanilla-extract/css": "npm:^1.17.0"
"@vanilla-extract/dynamic": "npm:^2.1.2"
"@webcontainer/api": "npm:^1.6.1"
@@ -476,6 +477,7 @@ __metadata:
react-transition-state: "npm:^2.2.0"
react-virtuoso: "npm:^4.12.3"
rxjs: "npm:^7.8.1"
semver: "npm:^7.7.2"
ses: "npm:^1.10.0"
shiki: "npm:^3.7.0"
socket.io-client: "npm:^4.8.1"
@@ -15352,7 +15354,7 @@ __metadata:
languageName: node
linkType: hard
"@types/semver@npm:^7.5.8":
"@types/semver@npm:^7, @types/semver@npm:^7.5.8":
version: 7.7.0
resolution: "@types/semver@npm:7.7.0"
checksum: 10/ee4514c6c852b1c38f951239db02f9edeea39f5310fad9396a00b51efa2a2d96b3dfca1ae84c88181ea5b7157c57d32d7ef94edacee36fbf975546396b85ba5b