Release v0.6.1 - Bug fixes and enhancements
All checks were successful
Create Release Package / build-release (push) Successful in 1m1s
All checks were successful
Create Release Package / build-release (push) Successful in 1m1s
New Features: - Auto-update system with configurable check frequency - Updates tab in settings with manual check button - Localhost development mode bypasses license validation - Extended general settings (address, contact, social media) - Pricing settings split into subtabs - Guest ID/passport encryption using AES-256-CBC - Guest auto-creation from booking form Bug Fixes: - Fixed Booking admin issues with auto-draft status - Fixed guest dropdown loading in booking form - Fixed booking history display on Guest edit page - Fixed service pricing meta box (Gutenberg hiding meta boxes) Changes: - Admin submenu reordered for better organization - Booking title shows guest name and dates (room removed) - Service, Guest, Booking use classic editor (not Gutenberg) - Settings tabs flush with content (no gap) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
69
CHANGELOG.md
69
CHANGELOG.md
@@ -5,6 +5,74 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.6.1] - 2026-02-03
|
||||
|
||||
### Added
|
||||
|
||||
- Auto-Update System:
|
||||
- New `src/License/Updater.php` class for WordPress update integration
|
||||
- Hooks into `pre_set_site_transient_update_plugins` for update detection
|
||||
- Plugin info modal via `plugins_api` filter
|
||||
- Configurable update check frequency (1-168 hours)
|
||||
- Option to enable/disable update notifications
|
||||
- Option to enable/disable automatic updates
|
||||
- AJAX endpoint for manual update check
|
||||
- Automatic cache clearing when license settings change
|
||||
- Updates Tab in Settings:
|
||||
- Enable/disable update notifications toggle
|
||||
- Enable/disable automatic updates toggle
|
||||
- Update check frequency setting
|
||||
- Manual "Check for Updates" button
|
||||
- Display of last check timestamp and current version
|
||||
- Localhost Development Mode:
|
||||
- License bypass for local development environments
|
||||
- Detects: localhost, 127.0.0.1, ::1, .local/.test/.localhost/.dev/.ddev.site domains
|
||||
- Private IP range detection (10.x.x.x, 172.16-31.x.x, 192.168.x.x)
|
||||
- "Development Mode" notice on Dashboard and License settings page
|
||||
- Extended General Settings:
|
||||
- Business address fields (street, city, postal code, country)
|
||||
- Contact fields (email, phone, website)
|
||||
- Social media fields (Facebook, Instagram, X/Twitter, LinkedIn, TripAdvisor)
|
||||
- Pricing Settings Subtabs:
|
||||
- Split into three subtabs: Pricing Tiers, Weekend Days, Seasons
|
||||
- Each subtab has its own save button
|
||||
- Seasons subtab shows priority column and link to Seasons Manager
|
||||
- Guest Data Encryption:
|
||||
- AES-256-CBC encryption for sensitive data (ID/passport numbers)
|
||||
- Uses WordPress AUTH_KEY for encryption key derivation
|
||||
- `encrypt()` and `decrypt()` methods in Guest class
|
||||
- Backward compatible with legacy unencrypted data
|
||||
- Security notice displayed in Identification meta box
|
||||
- Guest Auto-Creation from Booking:
|
||||
- When new guest data is entered in booking form, guest record is automatically created
|
||||
- Links booking to the new guest via guest_id meta
|
||||
- Prevents duplicate guest entries
|
||||
|
||||
### Changed
|
||||
|
||||
- Admin submenu reordered for better organization:
|
||||
- Dashboard at top, Settings at bottom
|
||||
- Logical grouping: Buildings, Rooms, Bookings, Guests, Services, Calendar, Seasons
|
||||
- Booking title auto-generates with guest name and dates (room number removed)
|
||||
- Disabled Gutenberg block editor for form-based post types:
|
||||
- Service, Guest, and Booking now use classic editor
|
||||
- Meta boxes display properly instead of being hidden at bottom
|
||||
- Form-based interfaces more appropriate than block editor for data entry
|
||||
- Settings tabs now flush with tab content (no gap)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed Booking admin issues with auto-draft status causing type errors
|
||||
- Fixed guest dropdown to always load existing guests
|
||||
- Fixed booking history display on Guest edit page
|
||||
- Fixed service pricing meta box not displaying radio buttons (Gutenberg hiding meta boxes)
|
||||
|
||||
### Security
|
||||
|
||||
- Guest ID/passport numbers encrypted at rest using AES-256-CBC
|
||||
- Random IV generation for each encryption operation
|
||||
- Secure key derivation from WordPress AUTH_KEY
|
||||
|
||||
## [0.6.0] - 2026-02-02
|
||||
|
||||
### Added
|
||||
@@ -358,6 +426,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Input sanitization and output escaping
|
||||
- Server secret masking in license settings
|
||||
|
||||
[0.6.1]: https://src.bundespruefstelle.ch/magdev/wp-bnb/releases/tag/v0.6.1
|
||||
[0.6.0]: https://src.bundespruefstelle.ch/magdev/wp-bnb/releases/tag/v0.6.0
|
||||
[0.5.0]: https://src.bundespruefstelle.ch/magdev/wp-bnb/releases/tag/v0.5.0
|
||||
[0.4.0]: https://src.bundespruefstelle.ch/magdev/wp-bnb/releases/tag/v0.4.0
|
||||
|
||||
Reference in New Issue
Block a user