📋 Authentication System Changelog Complete version history and changes for APIDoc's dual authentication system, including new features, improvements, and migration guides.
Version 4.0.5 (Current) Released: September 28, 2024
🆕 New Features
Custom Markdown Integration : Seamless integration with custom markdown content system
Enhanced Session Management : Improved session persistence and validation
Role-based Content : Different content based on user roles
Multi-language Support : Authentication UI in multiple languages
🔧 Improvements
Performance : 40% faster authentication response times
Security : Enhanced CSRF protection and session security
UX : Improved login form design and error messages
Logging : More detailed authentication audit logs
🐛 Bug Fixes
Fixed session timeout issues in long-running documentation sessions
Resolved redirect loops when using custom login pages
Fixed CORS issues with remote authentication endpoints
Corrected session cleanup on logout
🔄 Changes
Updated default session timeout from 1 hour to 2 hours
Changed minimum password length requirement to 8 characters
Modified rate limiting to be more permissive for legitimate users
Version 4.0.4 Released: August 15, 2024
🆕 New Features
MQTT Authentication : Added authentication support for MQTT protocol documentation
Template Customization : Advanced login page customization options
Dark Mode Support : Authentication UI now supports dark/light themes
🔧 Improvements
Mobile Responsiveness : Better mobile experience for authentication
Error Handling : More descriptive error messages for failed authentications
Configuration : Simplified configuration file structure
🐛 Bug Fixes
Fixed memory leaks in session management
Resolved issues with special characters in usernames
Fixed logout not clearing all session data
Version 4.0.3 Released: July 22, 2024
🆕 New Features
Remember Me : Optional persistent login sessions
Password Strength : Real-time password strength validation
Account Lockout : Automatic account lockout after failed attempts
🔧 Improvements
Security : Enhanced password hashing with bcrypt
Performance : Optimized database queries for user authentication
Logging : Structured logging for better debugging
🐛 Bug Fixes
Fixed timezone issues in session expiration
Resolved conflict with some reverse proxy configurations
Fixed issues with special characters in passwords
Version 4.0.2 Released: June 18, 2024
🆕 New Features
Remote Authentication : Support for external authentication services
LDAP Integration : Enterprise LDAP authentication support
Custom User Providers : Pluggable authentication backends
🔧 Improvements
Configuration : Environment variable support for all settings
Documentation : Comprehensive authentication setup guide
Testing : Added comprehensive test suite for authentication
🐛 Bug Fixes
Fixed issues with URL encoding in redirect parameters
Resolved problems with concurrent login attempts
Fixed session persistence across browser restarts
Version 4.0.1 Released: May 25, 2024
🆕 New Features
Local File Authentication : Simple file-based user management
Session Management : Secure session handling with configurable timeouts
Rate Limiting : Brute force protection with configurable limits
🔧 Improvements
Security : Implemented secure session cookies
UX : Clean, responsive login interface
Performance : Minimal overhead for authenticated requests
🐛 Bug Fixes
Initial release bug fixes
Resolved configuration validation issues
Fixed logout redirect problems
Version 4.0.0 Released: May 1, 2024
🎉 Initial Release
Dual Authentication System : Support for both local and remote authentication
Configurable Security : Customizable security policies and rate limiting
Professional UI : Modern, responsive authentication interface
Enterprise Ready : Production-ready security features
Migration Guides Migrating from v4.0.4 to v4.0.5 Configuration Changes { "authentication" : { "enabled" : true , "type" : "local" , "session" : { "timeout" : 7200 , // Changed from 3600 to 7200 (2 hours) "secure" : true , "sameSite" : "strict" // New security option }, "security" : { "minPasswordLength" : 8 , // Changed from 6 to 8 "maxAttempts" : 5 , "csrfProtection" : true // New security feature } } }
Copy
Breaking Changes
Session Timeout : Default timeout increased to 2 hours
Password Requirements : Minimum length now 8 characters
CSRF Protection : Now enabled by default (may require token headers)
Migration Steps
Update your apidoc.json
configuration
Test authentication with new session timeout
Update any automated tools to include CSRF tokens if needed
Regenerate documentation with new version
Migrating from v4.0.3 to v4.0.4 New Features Available
MQTT authentication support
Enhanced template customization
Dark mode compatibility
Migration Steps
No breaking changes - update is seamless
Optionally enable new features in configuration
Regenerate documentation to get latest UI improvements
Migrating from v4.0.2 to v4.0.3 New Security Features { "authentication" : { "session" : { "rememberMe" : true , // New feature "maxAge" : 2592000 // 30 days for remember me }, "security" : { "passwordStrength" : { "enabled" : true , "minScore" : 3 }, "accountLockout" : { "enabled" : true , "maxAttempts" : 5 , "lockoutDuration" : 900 } } } }
Copy
Migration Steps
Update configuration to enable new features
Consider enabling password strength requirements
Configure account lockout policies
Test remember me functionality
Migrating from v4.0.1 to v4.0.2 Remote Authentication Setup { "authentication" : { "type" : "remote" , // Changed from "local" "endpoint" : "https://auth.company.com/api/validate" , "headers" : { "Authorization" : "Bearer YOUR_API_TOKEN" } } }
Copy
Migration Steps
Decide between local and remote authentication
If using remote auth, configure endpoint and credentials
Test authentication with your remote service
Update user management processes
Feature Comparison
Feature
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5
Local Authentication
✅
✅
✅
✅
✅
Remote Authentication
❌
✅
✅
✅
✅
LDAP Support
❌
✅
✅
✅
✅
Remember Me
❌
❌
✅
✅
✅
Password Strength
❌
❌
✅
✅
✅
Account Lockout
❌
❌
✅
✅
✅
MQTT Auth
❌
❌
❌
✅
✅
Dark Mode
❌
❌
❌
✅
✅
CSRF Protection
❌
❌
❌
❌
✅
Custom Markdown
❌
❌
❌
❌
✅
Upcoming Features Version 4.1.0 (Planned)
Single Sign-On (SSO) : SAML and OAuth 2.0 support
Multi-Factor Authentication : 2FA/MFA integration
Advanced Permissions : Granular permission system
API Key Authentication : Alternative to session-based auth
Version 4.2.0 (Planned)
Social Login : GitHub, Google, Microsoft authentication
Advanced Auditing : Comprehensive audit trails
User Management UI : Built-in user administration interface
Custom Authentication Flows : Pluggable authentication workflows
Support and Resources Documentation
GitHub Issues : Report bugs and request features
Discord : Real-time community support
Stack Overflow : Tagged questions with apidoc-auth
Enterprise Support
Email : enterprise@apidoc.com
Slack : Dedicated enterprise support channel
Phone : Priority phone support for enterprise customers
Note : This changelog follows Semantic Versioning principles. Major version changes indicate breaking changes, minor versions add new features, and patch versions include bug fixes and improvements.