chore(deps): bump next from 14.2.35 to 16.1.6 - #89
Closed
dependabot[bot] wants to merge 419 commits into
Closed
Conversation
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
Co-Authored-By: G <butaeff@gmail.com>
- Delete lib/hooks/useFormSubmit.ts (never imported) - Delete lib/utils/error.ts (never imported) - Remove unused exports from lib/hooks/index.ts: - NAV_COLOR_CLASSES (only used internally) - NavColorClasses type (never imported) - useFormSubmit exports Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update app/documents/page.tsx to use formatBytes from lib/format - Update app/my-data/page.tsx to use formatBytes from lib/format - Update components/shared/demo/DemoFileUpload.tsx to use formatBytes - Update workspaceUtils.ts to re-export formatBytes as formatFileSize DRY: 4 duplicate formatFileSize implementations → 1 SSOT (lib/format.ts) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove swiss-german-teacher/components/shared/ (unused DemoModeOverlay, DemoPopup, Navigation) - Remove swiss-german-teacher/components/navigation/ (unused Navigation) - Remove medical-expert/components/navigation/ (unused Navigation) - Remove product-manager/components/navigation/ (unused Navigation) - Remove research-assistant/components/navigation/ (unused Navigation) - Fix test to use valid ErrorCode type All bots now use BotPageTemplate's shared navigation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove unused InfoBox.tsx (140 lines) - Remove unused ProfileTabs.tsx (40 lines) - Update governance/index.ts to only export ProfileHeader (which is used) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove packages that were installed but never imported: - @heroicons/react (using custom Icons instead) - framer-motion (no animations used) - nodemailer (email handled differently) - @mdx-js/loader, @mdx-js/react, @next/mdx (using next-mdx-remote) - @eslint/eslintrc, @eslint/js (using old .eslintrc.json format) - @testing-library/react (tests use Jest only) Reduces bundle size and maintenance surface. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove empty stub files (mdx-provider.tsx, events.ts, route.d.ts) - Remove orphaned components/auth/ folder (EmailVerificationBanner never imported) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/next-16.1.6
branch
from
January 28, 2026 15:00
1466b1e to
d472ae1
Compare
- Remove swiss-german-teacher/styles/ (CSS file not imported anywhere) - Remove empty lib/models/ directory Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Removed dead code: - components/ErrorBoundary.tsx (108 lines, Next.js error.tsx exists) - components/CollaborationForm.tsx (190 lines, never imported) - types/solutions.ts (24 lines, never imported) - data/botsmann-knowledge.ts (215 lines, never imported) - data/demo/swiss-german-knowledge.json (never imported) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Removed dead code: - lib/rag/ folder (149 lines, never imported - demo/chat has inline impl) - lib/schemas/search.ts (10 lines, never used) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Removed dead code that was never imported: - hooks/useDemoMode.ts (101 lines) - data/conversation.ts (28 lines) - types/index.ts (44 lines) - utils/constants.ts (34 lines) - utils/navigation.ts (22 lines) - utils/validation.ts (8 lines) Total: 237 lines removed Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Removed orphaned files: - app/bots/medical-expert/types/index.ts (92 lines, never imported) - app/bots/product-manager/metadata.ts (18 lines, never used) Restored utils needed by swiss-german-teacher components: - utils/constants.ts (used by EmailGenerator, TextGenerator, SwissContentSection) - utils/navigation.ts (used by EmailGenerator) Note: Previous commit incorrectly removed these as orphaned. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Previously, createClientComponentClient() was called at module load time, causing the app to crash when Supabase environment variables weren't configured. This prevented pages from rendering even when they didn't need authentication. Changes: - Made Supabase client lazy-loaded via getSupabaseClient() function - Check isSupabaseConfigured() before creating the client - Return early from useEffect if Supabase is not configured - Added optional chaining for all Supabase method calls Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace individual static bot pages with a single dynamic [slug]/page.tsx that renders from centralized configuration. This makes adding new bots a matter of editing config files only - no new page files needed. Architecture changes: - Add lib/config/bot-pages.ts as SSOT for all bot page content - Add components/shared/sections/ with generic section components - Add app/bots/[slug]/page.tsx as single dynamic page - Remove 100+ files from individual bot directories New section components: - DisclaimerSection, FeaturesSection, HowItWorksSection - BenefitsSection, TestimonialsSection, VisionSection - TechnologySection, CTASection, DemoSectionWrapper To add a new bot now: 1. Add entry to lib/config/bot-pages.ts (sections + content) 2. Add hero config to data/botHeroConfigs.ts 3. Add demo config to lib/demo/botDemoConfigs.ts 4. Add basic info to data/bots.ts Done - no new page.tsx files needed! Files deleted: ~100+ (bot-specific pages/components) Files added: 11 (config + generic sections) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The artistic-advisor page was missing its hero section because the hero configuration was not defined in botHeroConfigs.ts. This adds the complete hero config including title, badge, chat preview, and key benefits. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Reduces files needed to add a new bot from 7-8 to 3-4 by eliminating hardcoded bot lists in multiple locations: - Add `display` field to Bot interface for bots list page metadata - Footer.tsx: Generate AI Assistants links from bots array - app/bots/page.tsx: Remove 100-line botDetails Record, derive from bot.display - menuItems.ts: Generate Professionals menu children from bots array Adding a new bot now automatically updates the footer, navigation menu, and bots list page without any additional code changes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add model visibility and switching UI for AI professionals: - ModelIndicator: shows current model with icon in chat header - ModelSelector: dropdown to switch models (auth-gated for guests) - PrivacyTierInfo: expandable Cloud vs Self-Hosted comparison - ChatAuthCTA: dismissible guest conversion banner Config files (SSOT): - privacy-tiers.ts: tier definitions, model display config - auth-cta.ts: CTA content for guest/authenticated users Also increases quick-chat maxTokens from 256 to 1024 to prevent response cutoff. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Port features from legacy codebase: - Add DocumentCategory type with 7 categories (legal, health, research, etc.) - Add PROFESSIONAL_DOCUMENT_ACCESS mapping for category-based access - Add CategoryBadge and CategorySelector components - Add professional-chat API with document context integration - Add ErrorBoundary component for error handling - Add professionals layout with metadata - Add useRateLimitCountdown hook Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add comprehensive prompt sanitization to prevent LLM prompt injection: - Create lib/prompt-sanitizer.ts with detection and filtering - Detect injection patterns (instruction overrides, role manipulation, jailbreaks) - Escape delimiter sequences that could break prompt structure - Wrap user-provided context in XML-like tags with data-not-instructions note - Apply sanitization to all 4 chat API routes: - /api/quick-chat - /api/professional-chat - /api/demo/chat - /api/demo/document-chat Security measures: - Length limits on all user inputs - Injection pattern detection with filtering - Control character removal - Clear separation between instructions and user data Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Cache-Control header support to API response utilities: - NONE: no-store for mutations and sensitive data - PRIVATE_SHORT: 1 minute for user-specific data - PRIVATE_MEDIUM: 5 minutes for less frequent user data - PUBLIC_SHORT: 5 minutes for public data - PUBLIC_MEDIUM: 1 hour for semi-static data - IMMUTABLE: 1 day for truly static data Apply caching to key routes: - GET /api/settings: private, 1 min cache - GET /api/health: public, 5 min cache - GET /api/documents: private, 1 min cache - GET /api/stats: private, 1 min cache - GET /api/conversations: private, 1 min cache - All mutations (POST/PUT/DELETE): no-store - All errors: no-store (automatic) Expected impact: 2-3x reduction in database queries for repeated requests within cache window. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Security fixes: - Add npm override for fast-xml-parser@^5.3.4 to fix RangeError DoS - Update @aws-sdk/client-ses to 3.980.0 - Reduces vulnerabilities from 25 to 8 (fixed 17 high severity) Code improvements (prep for future Next.js 15): - Replace <a> tags with <Link> components for internal navigation - Create ConsultationFormLoader client wrapper for dynamic imports - Use direct Analytics import instead of dynamic with ssr:false - Add eslint-disable for global-error.tsx (intentional <a> usage) Remaining vulnerabilities (require breaking changes): - 7 moderate: eslint circular reference stack overflow - 1 high: Next.js DoS (specific conditions, low practical risk) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Bumps [next](https://github.com/vercel/next.js) from 14.2.35 to 16.1.6. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](vercel/next.js@v14.2.35...v16.1.6) --- updated-dependencies: - dependency-name: next dependency-version: 16.1.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/next-16.1.6
branch
from
February 2, 2026 11:55
d472ae1 to
4da6d3e
Compare
Collaborator
|
Closing stale automated PR — cleaning up repo. |
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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.
Bumps next from 14.2.35 to 16.1.6.
Release notes
Sourced from next's releases.
... (truncated)
Commits
adf8c61v16.1.6098c0c0[backport][ci] Make gh auth status optional when triggering a release (#89100)a43df32Backport/docs fixes jan 25 16.1.x (#89124)d6d5734tweak LRU sentinel cache key (#89123)4324698backport: implement LRU cache with invocation ID scoping for minimal mode res...23c4649[backport] Upgrade to swc 54 (#88207) (#89103)acba4a6v16.1.5e1d1fc6Add maximum size limit for postponed body parsing (#88175)500ec83fetch(next/image): reduce maximumResponseBody from 300MB to 50MB (#88588)1caaca3feat(next/image)!: addimages.maximumResponseBodyconfig (#88183)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.