Skip to content

Releases

StudentBook v2.8.0 - 2026-08-04

Choose a tag to compare

@github-actions github-actions released this 04 Aug 07:12
4218254

Security

  • Bumped postcss in client to ^8.5.18 (resolved to 8.5.25), fixing path traversal via malicious previous source map auto-loading (sourceMappingURL).
  • Added postcss override in client/VideoPortal to pin the transitive dep (pulled in via vite) to ^8.5.18, applying the same path traversal fix.
  • Bumped react-router-dom from 7.17.0 to 7.18.2 in client and client/VideoPortal, fixing four Dependabot alerts: open redirect via backslash in <Link> and useNavigate (CVE-2025-68470 bypass), arbitrary constructor injection via deserializeErrors() in SSR hydration, unauthenticated DoS via inefficient route matching, and XSS via missing protocol validation in RSCErrorHandler.
  • Fixed brace-expansion DoS (GHSA-rgw5-rvv9-x895) in client via npm audit fix.
  • Regenerated client/package-lock.json and client/VideoPortal/package-lock.json to lock in the patched dependency tree.

Known

  • react-router CSRF bypass in RSC mode (GHSA-qwww-vcr4-c8h2) requires upgrading to react-router-dom v8.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

Choose a tag to compare

@github-actions github-actions released this 23 Jul 16:11
f18159a

Security

  • Bumped axios in client to ^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 upload maxBodyLength bypass.
  • Bumped multer in api to ^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), and brace-expansion, form-data, immutable (client) via npm 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.json and client/package-lock.json to lock in the patched dependency tree.

Verified

  • npm audit reports 0 vulnerabilities in api, client, and client/VideoPortal.

StudentBook v2.6.0 - 2026-06-13

Choose a tag to compare

@github-actions github-actions released this 13 Jun 05:41
79073f8

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/health endpoint for container and deployment checks.
  • Updated release documentation to use the new 2.6.0 Docker release version.

Verified

  • npm run build passes in client.
  • node --check api\index.js passes.
  • docker compose config passes.
  • docker compose build passes.
  • docker compose up -d db initializes the MySQL schema and reaches healthy status.

StudentBook v2.5.0 - 2026-06-13

Choose a tag to compare

@github-actions github-actions released this 12 Jun 20:52

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 videotable schema definition and schema/add_videotable.sql migration 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 /videos page 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.0 Video Portal release version.

Verified

  • npm run lint passes in client.
  • npm run build passes in client.
  • npm run build:demo passes in client.
  • VITE_BASE_PATH=/StudentBook/ npm run build:demo passes in client.
  • node --check api\controllers\video.js passes.
  • node --check api\routes\videos.js passes.
  • node --check api\index.js passes.

StudentBook v2.3.0 - 2026-06-13

Choose a tag to compare

@github-actions github-actions released this 12 Jun 20:30

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 lint passes in client.
  • npm run build:demo passes in client.
  • VITE_BASE_PATH=/StudentBook/ npm run build:demo passes in client.

StudentBook v2.2.0 - 2026-06-13

Choose a tag to compare

@github-actions github-actions released this 12 Jun 19:50

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 lint passes in client.
  • npm run build:demo passes in client.
  • VITE_BASE_PATH=/StudentBook/ npm run build:demo passes in client.

StudentBook v2.1.1 - 2026-06-13

Choose a tag to compare

@github-actions github-actions released this 12 Jun 19:08
f3a33e4

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 lint passes in client.
  • npm run build passes in client.
  • node --check api\controllers\search.js passes.