- Added `CalcolaCodiceFiscale` function to calculate Italian fiscal code based on name, surname, birth date, gender, and municipality code.
- Introduced utility functions for generating parts of the fiscal code, including handling special cases for names and surnames.
- Created tests for the fiscal code calculation covering various scenarios.
- Updated forms to enforce a maximum length for the fiscal code input.
- Added `vitest` for testing and configured it with Vite.
- Updated package dependencies to include testing libraries and Vite plugins.
- Updated @stripe/react-stripe-js from ^5.4.1 to ^5.6.0
- Updated @stripe/stripe-js from ^8.6.1 to ^8.8.0
- Updated stripe from ^20.2.0 to ^20.4.0
- Removed dynamic imports for TimeserieBarChart and TimeserieBarChartStacked in AdminDashboard
- Deleted TimeserieBarChart and TimeserieBarChartStacked components
- Deleted Chart component and related utilities
- Updated @react-email/components from 1.0.6 to 1.0.8
- Updated @tiptap packages from 3.16.0 to 3.20.0
- Updated pg from 8.17.1 to 8.17.2
- Updated puppeteer-core from 24.36.1 to 24.37.5
- Updated react-email from 5.2.5 to 5.2.8
- Updated kanel from 3.16.0 to 3.16.1
- Updated knip from 5.82.1 to 5.85.0
- Removed dependencies on html2canvas-pro and jsPDF.
- Added puppeteer-core for PDF generation.
- Created a new API endpoint for generating PDFs.
- Updated SchedaAnnuncioStampabile component to use the new PDF generation API.
- Enhanced error handling and user feedback during PDF generation.
- Added browserless service to docker-compose for Puppeteer.
- Updated environment variables to include BROWSER_WS_URL.
- Refactored code to improve readability and maintainability.
- Removed old middleware files and replaced them with new proxy implementations for auth, API, password change, test redirection, and updater functionalities.
- Introduced a new proxy handler to streamline request processing through a chain of proxies.
- Updated package.json and package-lock.json to reflect dependency changes and ensure compatibility with the latest versions of Next.js, React, and related packages.
- Enhanced error handling and response management in the new proxy implementations.
- upgraded @react-email/components from 0.5.0 to ^1.0.4
- upgraded @react-email/render from ^1.1.4 to ^2.0.2
- upgraded react-email from ^4.2.8 to ^5.2.3
- upgraded @react-email/preview-server from ^4.2.8 to ^5.2.3
- updated cookies-next from ^6.1.0 to ^6.1.1
- updated lucide-react from ^0.536.0 to ^0.562.0
- updated nodemailer from ^7.0.5 to ^7.0.12
- updated sharp from ^0.34.3 to ^0.34.5
- updated @types/nodemailer from ^6.4.17 to ^7.0.5
- updated cross-env from ^10.0.0 to ^10.1.0
- updated knip from ^5.62.0 to ^5.81.0
- Added user_invites table to manage invitation tokens.
- Created invite router with procedures for sending, verifying, and accepting invites.
- Implemented email sending functionality for invites.
- Updated user controller to handle password setting during invite acceptance.
- Introduced mustChangePassword flag in user schema and related logic.
- Added middleware to enforce password change requirement.
- Created forms for accepting invites and changing passwords.
- Updated database migrations to reflect new user invite structure and fields.
- Updated package.json to include html2canvas-pro and jsPDF for PDF generation.
- Enhanced SchedaAnnuncioStampabile component to generate a PDF from HTML and send it via email.
- Implemented new API endpoint for sending the generated PDF as an email attachment.
- Refactored existing email sending logic across various controllers to use a unified template structure.
- Improved error handling and logging for email sending processes.