v1.1.0 - Multi-Day Vacation Events
What's New
Added
- Multi-Day Vacation Events: Added support for vacation periods spanning multiple days
- New event_end_date field in events table for defining vacation date ranges
- Events form now includes Event End Date field with validation
- Single-day events work as before (leave end date empty)
- Payment Integration: Vacation periods now integrate with subscription payment calculations
- Helper functions to retrieve vacation periods within date ranges
- Automatic payment date extension based on vacation overlap
- Detailed logging for vacation adjustments
Technical Improvements
- Database migration to version 1.2.0
- Added event_end_date DATE column to smc_events table
- Added index on event_end_date for query performance
- New helper functions: smc_get_vacation_periods() and smc_calculate_next_payment_date()
- Automatic migration on plugin activation for existing installations
Documentation
- Added vacation-aware payments documentation in main plugin
Installation
This update is available through the WordPress automatic updater.
Note: After updating, deactivate and reactivate the plugin to apply database changes if needed.
Full Changelog: v1.0.2...v1.1.0