✨ New Features
Read-Only Mode
- Added read-only instance option for deploying separate public/protected instances
- Read-only mode disables secret creation endpoints while keeping retrieval active
- Allows sharing database between authenticated creation instance and public retrieval instance
- Frontend displays dedicated read-only landing page when enabled
- Enable with --read-only flag
Health Check Endpoint
- Added /health endpoint for health checks
- Added /ready endpoint for readiness checks (separate from health)
- Includes dedicated yopass-server health command for monitoring
- Separate health and readiness checks for better container orchestration support
Configurable Default Expiry
- Added configurable default expiration time for secrets and file uploads
- Allows customizing the default TTL per deployment
- Comprehensive Playwright test coverage for expiry configuration
🐛 Bug Fixes & Improvements
Error Handling
- Improved error handling in upload functionality
- Added rendering fallback for upload component
- Better handling of nil database scenarios
UI/UX Enhancements
- Added visual feedback to copy buttons in Result component
- Code formatting improvements across the codebase
Testing
- Added Playwright E2E tests for read-only mode
- Added comprehensive tests for default expiry configuration
- Fixed configuration handling for non-boolean config values
- Improved Viper config reset in test suite
📦 Dependency Updates
Multiple dependency updates including i18next, react-i18next, TypeScript ESLint, Node types, and various build tools to keep the project secure and up-to-date.