diff --git a/CHANGELOG.md b/CHANGELOG.md index efbd19e..ebd293f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.0] - 2026-01-14 + +### Added +- CTA button to empty state notebook list for better onboarding (#408) +- Offline deployment support for Docker containers (#414) + +### Fixed +- Large file uploads (>10MB) by upgrading to Next.js 16 (#423) +- Orphaned uploaded files when sources are removed (#421) +- Broken documentation links to ai-providers.md (#419) +- ZIP support indication removed from UI (#418) +- Duplicate Claude Code workflow runs on PRs (#417) +- Claude Code review workflow now runs on PRs from forks (#416) + +### Changed +- Upgraded Next.js from 15.4.10 to 16.1.1 (#423) +- Upgraded React from 19.1.0 to 19.2.3 (#423) +- Renamed `middleware.ts` to `proxy.ts` for Next.js 16 compatibility (#423) + +### Dependencies +- next: 15.4.10 → 16.1.1 +- react: 19.1.0 → 19.2.3 +- react-dom: 19.1.0 → 19.2.3 + ## [1.2.4] - 2025-12-14 ### Added diff --git a/Dockerfile b/Dockerfile index e6564b2..ab6aeb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,6 +74,7 @@ ENV VIRTUAL_ENV=/app/.venv COPY --from=builder /app/frontend/.next/standalone /app/frontend/ COPY --from=builder /app/frontend/.next/static /app/frontend/.next/static COPY --from=builder /app/frontend/public /app/frontend/public +COPY --from=builder /app/frontend/start-server.js /app/frontend/start-server.js # Expose ports for Frontend and API EXPOSE 8502 5055 diff --git a/frontend/package.json b/frontend/package.json index 0de5611..5f9cbcc 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "start": "next start -p ${PORT:-8502}", + "start": "node start-server.js", "lint": "next lint" }, "dependencies": { diff --git a/frontend/start-server.js b/frontend/start-server.js new file mode 100644 index 0000000..737e8b6 --- /dev/null +++ b/frontend/start-server.js @@ -0,0 +1,9 @@ +#!/usr/bin/env node + +// Set default PORT if not already set +if (!process.env.PORT) { + process.env.PORT = '8502'; +} + +// Start the Next.js standalone server +require('./.next/standalone/server.js'); diff --git a/supervisord.conf b/supervisord.conf index 14bbb64..6bc872b 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -26,7 +26,7 @@ autostart=true startsecs=3 [program:frontend] -command=bash -c "/app/scripts/wait-for-api.sh && npm run start" +command=bash -c "/app/scripts/wait-for-api.sh && node server.js" directory=/app/frontend environment=NODE_ENV="production",PORT="8502" passenv=API_URL,NEXT_PUBLIC_API_URL,INTERNAL_API_URL diff --git a/supervisord.single.conf b/supervisord.single.conf index 345d37b..786dbbf 100644 --- a/supervisord.single.conf +++ b/supervisord.single.conf @@ -38,7 +38,7 @@ autostart=true startsecs=3 [program:frontend] -command=bash -c "/app/scripts/wait-for-api.sh && npm run start" +command=bash -c "/app/scripts/wait-for-api.sh && node server.js" directory=/app/frontend environment=NODE_ENV="production",PORT="8502" passenv=API_URL,NEXT_PUBLIC_API_URL,INTERNAL_API_URL