Release V1.1.11#532
Merged
Merged
Conversation
- Remove 17 unused packages (antd, sequelize, passport, passport-jwt, github-api, axios-cache-interceptor, http-proxy-middleware, config, dns-cache, dottie, randomcolor, semver, react-scripts, check-valid-url, dottie, and @testing-library/* leftovers from CRA template) - Replace github-api (abandoned, bundled [email protected] CVE) with direct axios call to GitHub Contents API — resolves 1 high severity vulnerability - Upgrade to Vite 8 + @vitejs/plugin-react-swc@4, rewrite vite.config.js with rolldown-compatible manualChunks function and loadEnv for JS_BASE_URL - Update Dockerfile to node:26-bookworm-slim with apt-get upgrade, reducing image CVEs from 3 high to 2 high - Drop CRA boilerplate: App.test.jsx, setupTests.js, eslintConfig block
Was previously pulled in transitively via passport-jwt; removing that package left it missing at runtime.
rebase unstable from main
added proxy to env.js file thats served from the api with dynamic env variables minor css fix that th compiler wasc omplaining about
- Rename variables.module.css → variables.css: Vite 8/rolldown handled .module.css @imports differently, causing :root variables to not apply globally in production builds → broken colors and backgrounds - Import variables.css, width_breakpoint_css and radius_breakpoint_css directly in index.jsx so they are guaranteed in the main bundle - Use html body selector instead of body for dark theme to out-specificate Bootstrap without !important - Scope navbar .active → .navitem.active to prevent purple bleed-through onto Bootstrap tab components in settings - Improve vite.config.js manualChunks: split @mui/icons-material and @mui/x-* into separate chunks to reduce vendor-mui chunk size
revert upstream changes
- Remove recharts from manualChunks: splitting recharts into its own
chunk caused a TDZ error ("Cannot access 'S' before initialization")
due to circular D3 dependencies across chunk boundaries
- Use optional chaining (window.env?.JS_GEOLITE_*) in both session-card
components to prevent TypeError crash when window.env is undefined
in local dev environments without the backend-served env.js
chore: remove unused dependencies, upgrade tooling, and fix Dockerfile
dropped arm/v7 support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.