diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index bceb2a0d49..c399f2af5c 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,3 +1,58 @@ + +## 0.1.2 (2026-04-16) + +### Added + +- ✨ Tags management page ([#1040](https://github.com/stumpapp/stump/issues/1040)) [[a500ffd](https://github.com/stumpapp/stump/commit/a500ffdacfe870de128e86be26889aa34c3d1b61)] +- ✨ Darkreader support and new `Midnight` theme ([#1038](https://github.com/stumpapp/stump/issues/1038)) [[e28f568](https://github.com/stumpapp/stump/commit/e28f5687ed7d8dd52fde796f74a22726399165de)] + +### Changed + +- 🚨 Fix prettier lints [[7995b61](https://github.com/stumpapp/stump/commit/7995b61a0b5c451fb4aa6aee789e6516b04ca0b1)] +- ♻️ Adjust darkreader meta tag behavior ([#1043](https://github.com/stumpapp/stump/issues/1043)) [[0b7118b](https://github.com/stumpapp/stump/commit/0b7118bd7f3b0cefb7120eb64f020443d571738a)] +- 🔧 rerun build script when GIT_REV or BUILD_CHANNEL changes ([#1039](https://github.com/stumpapp/stump/issues/1039)) [[361b1c5](https://github.com/stumpapp/stump/commit/361b1c530781c70c11f28a24b53b0ea6af8d31a6)] +- ⬆️ Bump @typescript-eslint/parser from 8.48.1 to 8.58.0 ([#1022](https://github.com/stumpapp/stump/issues/1022)) [[957bba8](https://github.com/stumpapp/stump/commit/957bba88d71d3e762879b1df3a2b248d41e963ee)] +- ⬆️ Bump @graphql-codegen/near-operation-file-preset ([#1023](https://github.com/stumpapp/stump/issues/1023)) [[4291615](https://github.com/stumpapp/stump/commit/42916153a204d8f1a469d23c70cc5645c683c8fd)] +- ⬆️ Bump jest and @types/jest ([#1020](https://github.com/stumpapp/stump/issues/1020)) [[b08557d](https://github.com/stumpapp/stump/commit/b08557d2de03b091f449851df3d477692b0b843f)] +- ⬆️ Bump @react-native-community/slider from 5.0.1 to 5.1.2 ([#1026](https://github.com/stumpapp/stump/issues/1026)) [[6c77226](https://github.com/stumpapp/stump/commit/6c77226373f0f4d24c12635825bc16e022f2464f)] +- ⬆️ Bump @rn-primitives/tabs from 1.2.0 to 1.4.0 ([#1027](https://github.com/stumpapp/stump/issues/1027)) [[c9e5902](https://github.com/stumpapp/stump/commit/c9e590284a414a95dd97a4d761bc22f8c0e17ac2)] +- ⬆️ Bump eslint-plugin-prettier from 5.5.4 to 5.5.5 ([#1024](https://github.com/stumpapp/stump/issues/1024)) [[6ea6769](https://github.com/stumpapp/stump/commit/6ea6769634fc9af53c69d67b5e1f1d93328a098e)] +- ⬆️ Bump zustand from 4.5.7 to 5.0.12 ([#997](https://github.com/stumpapp/stump/issues/997)) [[e150227](https://github.com/stumpapp/stump/commit/e1502278ad58d4f8cb8478c26dc487e5cf78964f)] +- ⬆️ Bump i18next from 23.16.8 to 26.0.1 ([#1004](https://github.com/stumpapp/stump/issues/1004)) [[77c7aa7](https://github.com/stumpapp/stump/commit/77c7aa734f844145345d5391690cfd32c1693608)] +- ⬆️ Upgrade tailwind ([#1016](https://github.com/stumpapp/stump/issues/1016)) [[c618747](https://github.com/stumpapp/stump/commit/c618747baace06b4c0eafb8b9251786ff5c234e5)] + +### Removed + +- ➖ Replace `once_cell::Lazy` with `std::sync::LazyLock` ([#1075](https://github.com/stumpapp/stump/issues/1075)) [[851a245](https://github.com/stumpapp/stump/commit/851a2458174a1550745ae74edb2823e3088e5259)] +- 🔥 Remove Prisma-to-SeaORM backfilling [[9ded63d](https://github.com/stumpapp/stump/commit/9ded63df5116b4de876298f716b05a21e5d82012)] + +### Fixed + +- 🐛 Fix conversion of thumbnail config for `resizeMethod` of `null` ([#1070](https://github.com/stumpapp/stump/issues/1070)) [[4191b52](https://github.com/stumpapp/stump/commit/4191b52970b34fc08d600505e88e1b4ac9846b40)] +- 🐛 Fix unique constraint violation during OIDC account migration ([#1059](https://github.com/stumpapp/stump/issues/1059)) [[ea7e079](https://github.com/stumpapp/stump/commit/ea7e079faf22f9275bd69b551c4c6f881686f10f)] +- 💚 Update binary CI checkout actions ([#1048](https://github.com/stumpapp/stump/issues/1048)) [[1591f91](https://github.com/stumpapp/stump/commit/1591f91b3cc453087516595127edf67185f3e775)] +- 🐛 Fix manifest cleanup in docker build ([#991](https://github.com/stumpapp/stump/issues/991)) [[49a8d14](https://github.com/stumpapp/stump/commit/49a8d141c7ecda69e95185085accb05b4e6feb5a)] + +### Miscellaneous + +- Merge remote-tracking branch 'origin/main' into release/v0.1.2 [[d5a48ca](https://github.com/stumpapp/stump/commit/d5a48ca48694fcac5614cc704bce7894d68c6b09)] +- 🩹 Ensure OIDC migration remaps preferences ([#1067](https://github.com/stumpapp/stump/issues/1067)) [[1520ee3](https://github.com/stumpapp/stump/commit/1520ee31a4834106ceb3f64f68aed6617f54af62)] +- 🌐 (German): Update translations ([#1061](https://github.com/stumpapp/stump/issues/1061)) [[202e7fc](https://github.com/stumpapp/stump/commit/202e7fcf2990c77422dc0aff37540401e67ec803)] +- 📝 Update documentation, fix landing page style resolution [[b5034ce](https://github.com/stumpapp/stump/commit/b5034ceaaafb26054c8d3965357a13add9b05f51)] +- 📝 Update 0.1.0 documentation language [[601686b](https://github.com/stumpapp/stump/commit/601686b134f325e257e7f7835ed93a657ef978af)] +- 🌐 (German): Update translations ([#1058](https://github.com/stumpapp/stump/issues/1058)) [[8e8925e](https://github.com/stumpapp/stump/commit/8e8925ef449d8fd1d5adb948d862ed05aab2270f)] +- 🌐 (Polish) Update translations ([#1050](https://github.com/stumpapp/stump/issues/1050)) [[48273d9](https://github.com/stumpapp/stump/commit/48273d9cdb57d19dfe900da1112b5e90b325dd12)] +- 🌐 Update translations ([#1045](https://github.com/stumpapp/stump/issues/1045)) [[ba9aa2e](https://github.com/stumpapp/stump/commit/ba9aa2ebaa80cb750736e49a0744f3bce503bae8)] +- 🔀 Merge remote-tracking branch 'origin/experimental' into nightly [[6a1e36a](https://github.com/stumpapp/stump/commit/6a1e36afee137f04efd630efd6df8f5570af071f)] +- 🌐 Update translations ([#1033](https://github.com/stumpapp/stump/issues/1033)) [[b6cda00](https://github.com/stumpapp/stump/commit/b6cda00b38c53675d9eba438907e288aad85013d)] +- 🌐 (expo): Start localization support ([#1037](https://github.com/stumpapp/stump/issues/1037)) [[cdd0e65](https://github.com/stumpapp/stump/commit/cdd0e65e417fbdc35ec2ea0fd59201c322a9563b)] +- 🔨 Use the same Rust version from the Nix flake ([#1034](https://github.com/stumpapp/stump/issues/1034)) [[421e71f](https://github.com/stumpapp/stump/commit/421e71ffb3c68b899d3c436873652daf46b292ba)] +- Merge remote-tracking branch 'origin/nightly' into experimental [[2751763](https://github.com/stumpapp/stump/commit/275176382257c26907ecc7b4ea1c01b08ec60460)] +- 🌐 Update translations ([#1030](https://github.com/stumpapp/stump/issues/1030)) [[58f170e](https://github.com/stumpapp/stump/commit/58f170e312f89ff20b911303edd6050f0b501014)] +- 🌐 Update translations ([#1010](https://github.com/stumpapp/stump/issues/1010)) [[4b7bb22](https://github.com/stumpapp/stump/commit/4b7bb229b7e4f83a6212164505618708151446a3)] +- Merge remote-tracking branch 'origin/nightly' into experimental [[a27583a](https://github.com/stumpapp/stump/commit/a27583a536fe866ebd66d0890f30f67c47ad76a4)] + + ## 0.1.1 (2026-04-01) diff --git a/.github/actions/build-docker/action.yml b/.github/actions/build-docker/action.yml index c625a068b2..90d1c87386 100644 --- a/.github/actions/build-docker/action.yml +++ b/.github/actions/build-docker/action.yml @@ -81,9 +81,15 @@ runs: sudo apt-get install -y podman buildah shell: bash - - name: Remove existing images + - name: Remove existing images and manifests run: | - podman rmi ${{ env.LOCAL_IMAGES }} || true + podman images --format "{{.Repository}}:{{.Tag}}" \ + | grep "^localhost/stump:" \ + | xargs -r podman rmi --force 2>/dev/null || true + + for tag in ${{ env.FORMATTED_TAGS }}; do + buildah manifest rm "stump:$tag" 2>/dev/null || true + done shell: bash - name: Run buildah build diff --git a/.prettierignore b/.prettierignore index b692d950b3..f3531156da 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,6 +4,7 @@ generated.ts node_modules target dist +dev-dist build .next .expo diff --git a/Cargo.lock b/Cargo.lock index 58a38c1f8b..306ef2cc05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1263,12 +1263,13 @@ checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" [[package]] name = "cli" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bcrypt", "clap 4.5.48", "dialoguer", "indicatif", + "migrations", "models", "prettytable-rs", "sea-orm", @@ -2255,7 +2256,7 @@ dependencies = [ [[package]] name = "email" -version = "0.1.1" +version = "0.1.2" dependencies = [ "async-graphql", "lettre", @@ -2516,7 +2517,7 @@ dependencies = [ [[package]] name = "filter-gen" -version = "0.1.1" +version = "0.1.2" dependencies = [ "heck 0.5.0", "itertools 0.14.0", @@ -3085,7 +3086,7 @@ dependencies = [ [[package]] name = "graphql" -version = "0.1.1" +version = "0.1.2" dependencies = [ "alphanumeric-sort", "async-graphql", @@ -8227,7 +8228,7 @@ dependencies = [ [[package]] name = "stump-config-gen" -version = "0.1.1" +version = "0.1.2" dependencies = [ "itertools 0.14.0", "proc-macro2", @@ -8241,7 +8242,7 @@ dependencies = [ [[package]] name = "stump_core" -version = "0.1.1" +version = "0.1.2" dependencies = [ "alphanumeric-sort", "async-channel", @@ -8307,7 +8308,7 @@ dependencies = [ [[package]] name = "stump_desktop" -version = "0.1.1" +version = "0.1.2" dependencies = [ "chrono", "discord-rich-presence", @@ -8328,7 +8329,7 @@ dependencies = [ [[package]] name = "stump_server" -version = "0.1.1" +version = "0.1.2" dependencies = [ "alphanumeric-sort", "async-graphql", @@ -8354,7 +8355,6 @@ dependencies = [ "local-ip-address", "maplit", "models", - "once_cell", "openidconnect", "openssl", "prefixed-api-key", diff --git a/Cargo.toml b/Cargo.toml index 4447fb94bf..6d3c7a7b29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ exclude = [ ] [workspace.package] -version = "0.1.1" +version = "0.1.2" rust-version = "1.92.0" [workspace.dependencies] @@ -49,7 +49,6 @@ lettre = { version = "0.11.18", default-features = false, features = [ ] } md5 = "0.8.0" num-traits = "0.2.19" -once_cell = "1.21.3" prefixed-api-key = { version = "0.3.0", features = ["sha2"] } rand = "0.9.2" regex = "1.11.3" diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 407fed6e66..f5d21b7112 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@stump/desktop", - "version": "0.1.1", + "version": "0.1.2", "description": "", "license": "MIT", "scripts": { @@ -14,6 +14,7 @@ "build:mac-universal": "yarn exec vite build && tauri build --target universal-apple-darwin -- --features bundled-server", "build:mac-arm": "yarn exec vite build && tauri build --target aarch64-apple-darwin -- --features bundled-server", "build:windows": "tauri build --target x86_64-pc-windows-msvc -- --features bundled-server", + "format": "eslint --fix . && prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write .", "nuke": "yarn exec rimraf node_modules" }, "dependencies": { @@ -27,17 +28,14 @@ "react-dom": "^19.0.0" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.10", "@tauri-apps/api": "^2.0.2", "@tauri-apps/cli": "^2.0.3", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "@vitejs/plugin-react": "^4.1.0", - "autoprefixer": "^10.4.16", - "postcss": "^8.4.31", - "tailwind": "^4.0.0", - "tailwind-scrollbar-hide": "^1.1.7", - "tailwindcss": "^3.3.3", + "@tailwindcss/vite": "^4.2.2", + "tailwindcss": "^4.2.2", + "tw-animate-css": "^1.4.0", "typescript": "^5.3.3", "vite": "^4.5.0", "vite-plugin-tsconfig-paths": "^1.3.1" diff --git a/apps/desktop/postcss.config.js b/apps/desktop/postcss.config.js deleted file mode 100644 index 65994d3285..0000000000 --- a/apps/desktop/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: { - autoprefixer: {}, - tailwindcss: {}, - }, -} diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index 509c49ccce..2fbab7c7f5 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stump_desktop" -version = "0.1.1" +version = "0.1.2" description = "" authors = ["Aaron Leopold "] license = "MIT" diff --git a/apps/desktop/src/Home.tsx b/apps/desktop/src/Home.tsx index 80e23756c0..00639e144e 100644 --- a/apps/desktop/src/Home.tsx +++ b/apps/desktop/src/Home.tsx @@ -104,10 +104,10 @@ export default function Home() { />
-
-
+
+
{t(getKey('label'))} @@ -120,7 +120,7 @@ export default function Home() {
{!savedServers.length && ( -
+
{t(getKey('getStarted'))}
)} @@ -142,7 +142,7 @@ export default function Home() { )}
diff --git a/apps/desktop/src/components/ConfiguredServer.tsx b/apps/desktop/src/components/ConfiguredServer.tsx index 2bf2473b36..8fe84d94cf 100644 --- a/apps/desktop/src/components/ConfiguredServer.tsx +++ b/apps/desktop/src/components/ConfiguredServer.tsx @@ -43,7 +43,7 @@ export default function ConfiguredServer({ return (
@@ -51,23 +51,20 @@ export default function ConfiguredServer({ className="flex grow cursor-pointer flex-col" onClick={isReachable ? onSwitch : undefined} > - + {server.name} {isActive && ( )} {isReachable === false && ( - + )} @@ -76,7 +73,7 @@ export default function ConfiguredServer({
-
+
{/* {!isActive && ( diff --git a/apps/desktop/src/components/RemoveAllTokensSection.tsx b/apps/desktop/src/components/RemoveAllTokensSection.tsx index c9756a01fc..ffab3bab03 100644 --- a/apps/desktop/src/components/RemoveAllTokensSection.tsx +++ b/apps/desktop/src/components/RemoveAllTokensSection.tsx @@ -11,7 +11,7 @@ export default function RemoveAllTokensSection({ onConfirmClear }: Props) { const { t } = useLocaleContext() return ( -
+
{t(getKey('label'))} diff --git a/apps/desktop/src/components/createOrUpdate/CreateOrUpdateSavedServerForm.tsx b/apps/desktop/src/components/createOrUpdate/CreateOrUpdateSavedServerForm.tsx index 4de7e36774..58f28ceaf5 100644 --- a/apps/desktop/src/components/createOrUpdate/CreateOrUpdateSavedServerForm.tsx +++ b/apps/desktop/src/components/createOrUpdate/CreateOrUpdateSavedServerForm.tsx @@ -84,7 +84,7 @@ export default function CreateOrUpdateSavedServerForm({ errorMessage={errors.url?.message} /> -
+
+
You will occasionally be prompted to log in when you connect to this server diff --git a/apps/desktop/src/splash-screen.html b/apps/desktop/src/splash-screen.html index d5db76da20..68bc612e94 100644 --- a/apps/desktop/src/splash-screen.html +++ b/apps/desktop/src/splash-screen.html @@ -20,11 +20,6 @@