-
Release 0.11.3
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m8sreleased this
2026-02-03 22:40:11 +00:00 | 0 commits to main since this releaseChanged
- Calendar filters now display side by side instead of stacked rows
Downloads
-
Release 0.11.2
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m1sreleased this
2026-02-03 22:31:50 +00:00 | 1 commits to main since this releaseChanged
- Calendar page room column now wider (200px) with proper left alignment
- Room column displays building name on second row for better identification
- Changed calendar table layout from fixed to auto for flexible column widths
Downloads
-
Release 0.11.1
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m7sreleased this
2026-02-03 22:21:27 +00:00 | 2 commits to main since this releaseAdded
- Internationalization (i18n) support:
- Translation template file
languages/wp-bnb.potwith 1,140 translatable strings - German (Switzerland) translation
languages/wp-bnb-de_CH.powith 77% coverage (875 strings) - Compiled binary
languages/wp-bnb-de_CH.mofor WordPress use - Coverage includes: admin UI, post types, taxonomies, settings, dashboard, reports, REST API, WooCommerce, CF7, widgets, blocks, shortcodes
- Translation template file
Changed
- README.md updated with comprehensive WooCommerce integration documentation
- Added REST API to key features list in README
Downloads
- Internationalization (i18n) support:
-
Release 0.11.0
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m11sreleased this
2026-02-03 21:40:47 +00:00 | 6 commits to main since this releaseAdded
- WooCommerce Integration System:
- New
src/Integration/WooCommerce/directory with complete integration Manager.php- Core integration manager with HPOS compatibility declarationProductSync.php- Room-to-WooCommerce-product synchronizationCartHandler.php- Cart item data, availability validation, dynamic pricingCheckoutHandler.php- Checkout field customization and pre-fillOrderHandler.php- Booking creation on payment completionInvoiceGenerator.php- PDF invoice generation using mPDFRefundHandler.php- Booking cancellation on full refundAdminColumns.php- Admin list cross-links between bookings and orders
- New
- Product Synchronization:
- Virtual WooCommerce products created for rooms (SKU:
bnb-room-{id}) - Auto-sync on room save, delete on room deletion
- Manual "Sync All Rooms" button in settings
- Bidirectional meta linking (room ↔ product)
- Virtual WooCommerce products created for rooms (SKU:
- Cart & Checkout:
- Booking data stored in cart items (room, dates, guests, services)
- Availability validation before add-to-cart and at checkout
- Dynamic price calculation based on dates and services
- Cart item display shows booking details (dates, guests, nights)
- Special requests and arrival time fields at checkout
- Booking summary display in checkout and order received page
- Order & Booking Integration:
- Automatic booking creation on
woocommerce_payment_complete - Guest record creation from order billing info
- Bidirectional order-booking links via meta keys
- Status synchronization (WC status → Booking status mapping)
- Booking reference generation (BNB-YYYY-NNNNN)
- Automatic booking creation on
- Invoice Generation:
- PDF invoices using existing mPDF dependency
- Invoice numbering with configurable prefix and start number
- Auto-attach invoices to WooCommerce order emails
- Download invoice button in admin order actions
- Secure storage in
wp-content/uploads/wp-bnb-invoices/
- Refund Handling:
- Full refund triggers booking cancellation
- Partial refund stores amount in booking meta without cancellation
- Refund info displayed in booking admin
wp_bnb_wc_should_cancel_on_refundfilter for customization
- Admin Enhancements:
- "WC Order" column in bookings list with order link and status
- "Booking" column in WC orders list with dates and status
- Row actions for cross-navigation between bookings and orders
- HPOS (High-Performance Order Storage) support
- WooCommerce Settings Tab with Subtabs:
- General: Enable integration, auto-confirm on payment, WC status indicator
- Products: Auto-sync toggle, product category selection, sync button
- Orders: Status mapping reference table
- Invoices: Auto-attach, prefix, starting number, logo, footer text
- Frontend Assets:
assets/css/wc-integration.css- Cart, checkout, and booking form stylesassets/js/wc-integration.js- Booking form handler, AJAX operations
Changed
- Plugin.php updated to initialize WooCommerce integration when WC is active
- Settings page now has eight tabs: General, Pricing, License, Updates, Metrics, API, WooCommerce
- HPOS compatibility declared via
FeaturesUtil::declare_compatibility()
Security
- Invoice storage protected with .htaccess (deny all)
- Nonce verification on all AJAX operations
- Capability checks for admin actions
- HPOS-compatible meta access using
$order->get_meta()/$order->update_meta_data()
Downloads
- WooCommerce Integration System:
-
Release 0.10.1
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m4sreleased this
2026-02-03 20:52:07 +00:00 | 10 commits to main since this releaseAdded
- API Settings subtabs for better organization:
- General subtab: Enable/disable REST API, rate limiting toggle, API information
- Rate Limits subtab: Configurable time window and endpoint-specific limits
- Endpoints subtab: Full endpoint documentation with HTTP method badges
- Configurable rate limiting:
- Time window setting (10-300 seconds, default 60)
- Per-endpoint-type limits (public, availability, booking, admin)
- Settings stored in WordPress options with fallback defaults
Changed
- RateLimiter class now loads limits from WordPress options
- README updated with configurable rate limiting documentation
Downloads
- API Settings subtabs for better organization:
-
Release 0.10.0
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m10sreleased this
2026-02-03 20:24:50 +00:00 | 13 commits to main since this releaseAdded
- REST API Infrastructure:
- New
src/Api/directory with complete REST API implementation ResponseFormatter.php- Standardized response formatting (success, collection, error responses)RateLimiter.php- Transient-based rate limiting with tiered limitsControllers/AbstractController.php- Base controller with common functionalityRestApi.php- Main registration class with namespacewp-bnb/v1
- New
- Buildings API:
GET /wp-bnb/v1/buildings- List buildings with pagination and searchGET /wp-bnb/v1/buildings/{id}- Get single building with address, contact, detailsGET /wp-bnb/v1/buildings/{id}/rooms- Get rooms in a building with status filter
- Rooms API:
GET /wp-bnb/v1/rooms- List rooms with filters (building, room_type, amenities, capacity, status)GET /wp-bnb/v1/rooms/{id}- Get room details with gallery, pricing, amenitiesGET /wp-bnb/v1/rooms/{id}/availability- Check availability with price calculationGET /wp-bnb/v1/rooms/{id}/calendar- Get monthly calendar dataPOST /wp-bnb/v1/availability/search- Search available rooms by date range and criteria
- Bookings API:
POST /wp-bnb/v1/bookings- Create booking (public, creates pending status)GET /wp-bnb/v1/bookings- List bookings with filters (admin)GET /wp-bnb/v1/bookings/{id}- Get booking details (admin)PATCH /wp-bnb/v1/bookings/{id}- Update booking (admin)DELETE /wp-bnb/v1/bookings/{id}- Cancel booking (admin)POST /wp-bnb/v1/bookings/{id}/confirm- Confirm pending booking (admin)POST /wp-bnb/v1/bookings/{id}/check-in- Check in guest (admin)POST /wp-bnb/v1/bookings/{id}/check-out- Check out guest (admin)
- Guests API (admin only):
GET /wp-bnb/v1/guests- List guests with paginationGET /wp-bnb/v1/guests/{id}- Get guest details (excludes encrypted ID numbers)GET /wp-bnb/v1/guests/search- Search guests by name/emailGET /wp-bnb/v1/guests/{id}/bookings- Get guest's booking history
- Services API:
GET /wp-bnb/v1/services- List active services with categoriesGET /wp-bnb/v1/services/{id}- Get service details with pricing infoPOST /wp-bnb/v1/services/{id}/calculate- Calculate service price for booking
- Pricing API:
POST /wp-bnb/v1/pricing/calculate- Full price calculation with servicesGET /wp-bnb/v1/pricing/seasons- Get configured seasons and pricing modifiers
- API Settings tab in plugin settings:
- Enable/disable REST API toggle
- Enable/disable rate limiting toggle
- Endpoint documentation table
- Authentication instructions
Changed
- Plugin.php updated to initialize REST API on
rest_api_inithook - Settings page now has seven tabs: General, Pricing, License, Updates, Metrics, API
- README.md updated with comprehensive REST API documentation
Security
- Rate limiting: public (60/min), availability (30/min), booking (10/min), admin (120/min)
- Admin endpoints require
edit_postscapability - Supports WordPress Application Passwords for external API access
- Client identification by user ID (authenticated) or IP address (anonymous)
- Proxy/Cloudflare IP detection via X-Forwarded-For and CF-Connecting-IP headers
Downloads
- REST API Infrastructure:
-
Release 0.9.0
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m8sreleased this
2026-02-03 19:41:05 +00:00 | 15 commits to main since this releaseAdded
- Prometheus Metrics Integration:
- New
src/Integration/Prometheus.phpclass for metrics collection - Integration with wp-prometheus plugin via
wp_prometheus_collect_metricshook - Inventory metrics: buildings total, rooms by status, services by status
- Booking metrics: bookings by status, check-ins/check-outs today, upcoming 7 days, avg duration
- Guest metrics: total guests, guests by status, repeat guests, new guests this month
- Occupancy metrics: current rate, monthly rate, occupied rooms, total bed capacity
- Revenue metrics: this month, YTD, average booking value, services revenue
- New
- Grafana Dashboard:
- Pre-configured dashboard at
assets/grafana/wp-bnb-dashboard.json - Automatic registration with wp-prometheus dashboard provider
- Occupancy gauges with color-coded thresholds
- Pie charts for bookings, rooms, and guests by status
- Revenue and guest statistics panels
- Responsive grid layout with 24 panels
- Pre-configured dashboard at
- Settings page Metrics tab:
- Enable/disable metrics collection toggle
- WP Prometheus detection with status indicator
- Complete metrics reference table
- Dashboard file location and export info
Changed
- Plugin.php updated to initialize Prometheus integration
- Settings page now has six tabs: General, Pricing, License, Updates, Metrics
Downloads
- Prometheus Metrics Integration:
-
Release 0.8.0
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 1m9sreleased this
2026-02-03 19:23:10 +00:00 | 16 commits to main since this releaseAdded
- Admin Dashboard with comprehensive statistics:
- Occupancy overview card with current rate and comparison to last month
- Revenue summary card with this month, YTD, and comparison
- Bookings stat card with pending/confirmed counts
- Guests stat card with total, new, and repeat counts
- Today's Activity widget showing check-ins and check-outs
- Upcoming Bookings widget (next 7 days)
- Quick Actions widget for common tasks
- Chart.js integration for visual trend charts:
- Occupancy trend line chart (30 days)
- Revenue trend bar chart (6 months)
- Reports page with three report types:
- Occupancy Report: by room, by building, with progress bars
- Revenue Report: by room, by pricing tier, with averages
- Guest Statistics: top guests, nationality breakdown
- Date range filters (this month, last month, this year, custom)
- Export functionality:
- CSV export for all report types (native PHP)
- PDF export using mPDF library with professional styling
- New Composer dependency: mpdf/mpdf ^8.2 for PDF generation
- Dashboard and Reports CSS styles in admin.css (~350 lines)
- JavaScript chart initialization and report page handlers
Changed
- Dashboard now uses dedicated
src/Admin/Dashboard.phpclass - Admin menu now includes Reports submenu item
- Asset enqueuing conditionally loads Chart.js on dashboard page
Downloads
- Admin Dashboard with comprehensive statistics:
-
Release 0.7.2
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 56sreleased this
2026-02-03 16:18:53 +00:00 | 18 commits to main since this releaseFixed
- CF7 tag generator buttons not appearing in admin form editor
- Moved CF7 initialization from frontend-only to run in both admin and frontend contexts
- Tag generators now properly register via
wpcf7_admin_inithook
Downloads
- CF7 tag generator buttons not appearing in admin form editor
-
Release 0.7.1
StableAll checks were successfulCreate Release Package / build-release (push) Successful in 59sreleased this
2026-02-03 16:00:36 +00:00 | 20 commits to main since this releaseAdded
- CF7 Admin Tag Generator buttons:
- Tag generator buttons appear in CF7 form editor for all WP BnB custom tags
- BnB Building select with first option label configuration
- BnB Room select with building field linking and price display options
- BnB Check-in date with min/max advance booking days
- BnB Check-out date with check-in field linking and min/max nights
- BnB Guests count with room field linking and min/max/default values
- All generators support id and class attribute configuration
Downloads
- CF7 Admin Tag Generator buttons: