Repository navigation
Releases
Releases · FahimFBA/StudentBook
StudentBook v2.8.0 - 2026-08-04
Security
- Bumped
postcssinclientto^8.5.18(resolved to 8.5.25), fixing path traversal via malicious previous source map auto-loading (sourceMappingURL). - Added
postcssoverride inclient/VideoPortalto pin the transitive dep (pulled in viavite) to^8.5.18, applying the same path traversal fix. - Bumped
react-router-domfrom7.17.0to7.18.2inclientandclient/VideoPortal, fixing four Dependabot alerts: open redirect via backslash in<Link>anduseNavigate(CVE-2025-68470 bypass), arbitrary constructor injection viadeserializeErrors()in SSR hydration, unauthenticated DoS via inefficient route matching, and XSS via missing protocol validation inRSCErrorHandler. - Fixed
brace-expansionDoS (GHSA-rgw5-rvv9-x895) inclientvianpm audit fix. - Regenerated
client/package-lock.jsonandclient/VideoPortal/package-lock.jsonto lock in the patched dependency tree.
Known
react-routerCSRF bypass in RSC mode (GHSA-qwww-vcr4-c8h2) requires upgrading toreact-router-domv8.3.0+, a breaking major-version change. Both apps are SPAs with no RSC actions — this vulnerability is not exploitable in the current setup.
StudentBook v2.7.0 - 2026-07-23
Security
- Bumped
axiosinclientto^1.18.0, fixing 5 Dependabot alerts (GHSA-gcfj-64vw-6mp9,GHSA-hcpx-6fm6-wx23,GHSA-f4gw-2p7v-4548,GHSA-xj6q-8x83-jv6g,GHSA-mwf2-3pr3-8698): SSRF via crafted redirect, ReDoS in URL parsing, and an HTTP/2 uploadmaxBodyLengthbypass. - Bumped
multerinapito^2.2.0, fixing 2 Dependabot alerts (GHSA-72gw-mp4g-v24j,GHSA-3p4h-7m6x-2hcm): unhandled exception and DoS on malformed multipart requests. - Updated transitive
body-parser(api), andbrace-expansion,form-data,immutable(client) vianpm audit fix, resolving the remaining Dependabot alerts: DoS from a silently disabled size limit (GHSA-v422-hmwv-36x6), ReDoS in brace expansion (GHSA-3jxr-9vmj-r5cp), and CRLF injection in multipart field/filename encoding (GHSA-hmw2-7cc7-3qxx). - Regenerated
api/package-lock.jsonandclient/package-lock.jsonto lock in the patched dependency tree.
Verified
npm auditreports 0 vulnerabilities inapi,client, andclient/VideoPortal.
StudentBook v2.6.0 - 2026-06-13
Added
- Added Docker Compose support for running the MySQL database, Express API, and Vite frontend together.
- Added production Dockerfiles for the API and main client.
- Added nginx configuration for serving the built client, proxying
/api, and serving uploaded files from/upload. - Added Docker documentation to the README, including startup, health check, reset, and upload volume notes.
Changed
- Updated the API to support environment-based port, CORS origins, and upload directory configuration.
- Updated the API startup path to create the configured upload directory automatically.
- Added an
/api/healthendpoint for container and deployment checks. - Updated release documentation to use the new
2.6.0Docker release version.
Verified
npm run buildpasses inclient.node --check api\index.jspasses.docker compose configpasses.docker compose buildpasses.docker compose up -d dbinitializes the MySQL schema and reaches healthy status.
StudentBook v2.5.0 - 2026-06-13
Added
- Added DB-backed Video Portal support in the main app through
/api/videos. - Added authenticated video create, list, and delete API endpoints.
- Added a
videotableschema definition andschema/add_videotable.sqlmigration for existing databases. - Added a main app video submission form for user-posted YouTube videos.
- Added README documentation for the completed DB-backed Video Portal and existing-database migration path.
Changed
- Updated the integrated
/videospage to load videos from the app API/database instead of a static hardcoded list. - Kept the static demo video portal browser-local so GitHub Pages builds still work without a database.
- Updated the static demo storage key so demo video seed data refreshes.
- Updated release documentation to use the new
2.5.0Video Portal release version.
Verified
npm run lintpasses inclient.npm run buildpasses inclient.npm run build:demopasses inclient.VITE_BASE_PATH=/StudentBook/ npm run build:demopasses inclient.node --check api\controllers\video.jspasses.node --check api\routes\videos.jspasses.node --check api\index.jspasses.
StudentBook v2.3.0 - 2026-06-13
Added
- Added refreshed static demo seed data with American student, faculty, staff, and alumni profiles.
- Added richer demo content, including 18 posts, 10 articles, 10 jobs, 6 announcements, likes, comments, and relationships.
- Added role-specific demo login hints for student, faculty, and staff accounts.
- Added browser-local image persistence for static demo uploads by converting uploaded images to cached data URLs.
Changed
- Updated the static demo storage key so old demo users and old seed data are replaced by the refreshed demo dataset.
- Updated demo images to load from remote Unsplash image URLs instead of the old local upload filenames.
- Updated demo login so seeded role accounts use the visible demo credentials while locally registered demo accounts remain browser-only.
Verified
npm run lintpasses inclient.npm run build:demopasses inclient.VITE_BASE_PATH=/StudentBook/ npm run build:demopasses inclient.
StudentBook v2.2.0 - 2026-06-13
Added
- Added a GitHub Pages workflow that builds and deploys the StudentBook client as a static demo site.
- Added a Vite demo build mode with mocked browser-local data for profiles, posts, likes, comments, articles, jobs, announcements, and search.
- Added static demo publishing instructions to the README.
Changed
- Switched demo builds to hash routing so static GitHub Pages URLs work without server rewrites.
- Updated public upload image URL handling so assets resolve correctly under a GitHub Pages repository subpath.
- Kept normal local builds connected to the Express API while demo builds run without MySQL or the backend.
Verified
npm run lintpasses inclient.npm run build:demopasses inclient.VITE_BASE_PATH=/StudentBook/ npm run build:demopasses inclient.
StudentBook v2.1.1 - 2026-06-13
Changed
- Reworked mobile logout into a dedicated mobile navigation action and normalized logout colors for light and dark themes.
- Updated the navbar search experience from a passive datalist to an in-app student result dropdown that links directly to profiles.
- Improved student search matching to support fullname, username, and CGPA substring searches.
Fixed
- Fixed navbar/search overlap on narrower screens.
- Fixed post like, comment, and share buttons so their spacing, states, and mobile layout are consistent.
- Fixed login and signup cards so they remain vertically centered on mobile screens.
- Fixed search result avatars so large uploaded profile images cannot expand and break the UI.
- Fixed logout state handling so the client user is cleared after a successful logout.
Verified
npm run lintpasses inclient.npm run buildpasses inclient.node --check api\controllers\search.jspasses.