• Release 0.11.3
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m8s
    Stable

    magdev released this 2026-02-03 22:40:11 +00:00 | 0 commits to main since this release

    Changed

    • Calendar filters now display side by side instead of stacked rows
    Downloads
  • Release 0.11.2
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m1s
    Stable

    magdev released this 2026-02-03 22:31:50 +00:00 | 1 commits to main since this release

    Changed

    • 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
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m7s
    Stable

    magdev released this 2026-02-03 22:21:27 +00:00 | 2 commits to main since this release

    Added

    • Internationalization (i18n) support:
      • Translation template file languages/wp-bnb.pot with 1,140 translatable strings
      • German (Switzerland) translation languages/wp-bnb-de_CH.po with 77% coverage (875 strings)
      • Compiled binary languages/wp-bnb-de_CH.mo for WordPress use
      • Coverage includes: admin UI, post types, taxonomies, settings, dashboard, reports, REST API, WooCommerce, CF7, widgets, blocks, shortcodes

    Changed

    • README.md updated with comprehensive WooCommerce integration documentation
    • Added REST API to key features list in README
    Downloads
  • Release 0.11.0
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m11s
    Stable

    magdev released this 2026-02-03 21:40:47 +00:00 | 6 commits to main since this release

    Added

    • WooCommerce Integration System:
      • New src/Integration/WooCommerce/ directory with complete integration
      • Manager.php - Core integration manager with HPOS compatibility declaration
      • ProductSync.php - Room-to-WooCommerce-product synchronization
      • CartHandler.php - Cart item data, availability validation, dynamic pricing
      • CheckoutHandler.php - Checkout field customization and pre-fill
      • OrderHandler.php - Booking creation on payment completion
      • InvoiceGenerator.php - PDF invoice generation using mPDF
      • RefundHandler.php - Booking cancellation on full refund
      • AdminColumns.php - Admin list cross-links between bookings and orders
    • 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)
    • 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)
    • 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_refund filter 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 styles
      • assets/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
  • Release 0.10.1
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m4s
    Stable

    magdev released this 2026-02-03 20:52:07 +00:00 | 10 commits to main since this release

    Added

    • 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
  • Release 0.10.0
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m10s
    Stable

    magdev released this 2026-02-03 20:24:50 +00:00 | 13 commits to main since this release

    Added

    • 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 limits
      • Controllers/AbstractController.php - Base controller with common functionality
      • RestApi.php - Main registration class with namespace wp-bnb/v1
    • Buildings API:
      • GET /wp-bnb/v1/buildings - List buildings with pagination and search
      • GET /wp-bnb/v1/buildings/{id} - Get single building with address, contact, details
      • GET /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, amenities
      • GET /wp-bnb/v1/rooms/{id}/availability - Check availability with price calculation
      • GET /wp-bnb/v1/rooms/{id}/calendar - Get monthly calendar data
      • POST /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 pagination
      • GET /wp-bnb/v1/guests/{id} - Get guest details (excludes encrypted ID numbers)
      • GET /wp-bnb/v1/guests/search - Search guests by name/email
      • GET /wp-bnb/v1/guests/{id}/bookings - Get guest's booking history
    • Services API:
      • GET /wp-bnb/v1/services - List active services with categories
      • GET /wp-bnb/v1/services/{id} - Get service details with pricing info
      • POST /wp-bnb/v1/services/{id}/calculate - Calculate service price for booking
    • Pricing API:
      • POST /wp-bnb/v1/pricing/calculate - Full price calculation with services
      • GET /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_init hook
    • 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_posts capability
    • 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
  • v0.9.0 13fd25f84c

    Release 0.9.0
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m8s
    Stable

    magdev released this 2026-02-03 19:41:05 +00:00 | 15 commits to main since this release

    Added

    • Prometheus Metrics Integration:
      • New src/Integration/Prometheus.php class for metrics collection
      • Integration with wp-prometheus plugin via wp_prometheus_collect_metrics hook
      • 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
    • 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
    • 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
  • v0.8.0 b6d7eeb5ec

    Release 0.8.0
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m9s
    Stable

    magdev released this 2026-02-03 19:23:10 +00:00 | 16 commits to main since this release

    Added

    • 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.php class
    • Admin menu now includes Reports submenu item
    • Asset enqueuing conditionally loads Chart.js on dashboard page
    Downloads
  • v0.7.2 992d961066

    Release 0.7.2
    All checks were successful
    Create Release Package / build-release (push) Successful in 56s
    Stable

    magdev released this 2026-02-03 16:18:53 +00:00 | 18 commits to main since this release

    Fixed

    • 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_init hook
    Downloads
  • v0.7.1 a784d92cc9

    Release 0.7.1
    All checks were successful
    Create Release Package / build-release (push) Successful in 59s
    Stable

    magdev released this 2026-02-03 16:00:36 +00:00 | 20 commits to main since this release

    Added

    • 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