All notable changes to katanox-php
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Remove date format from person birth date
- Upgraded sdk to our API v2
- The source code will now be generated with
openapi-generator
based on ourswagger.yaml
file.
- The expiry year should now be a 4 digit number
- Resource url is now a variable instead of const
- Include parameters of AvailabilityQuery are now used as expected in query string
- Change
post_code
topostcode
in query string when searching availability
- Validation removed from following fields:
- Payment.type
- Resevation.rate_plan_id
- Resevation.unit_id
- KatanoxRequest uses
static::BASE_URL
instead ofself::BASE_URL
- Booking.price is a
Price
object instead offloat
- Property Ids in AvailabilityQuery are now properly used as query parameters
- Lat and Lng are not required if Property Ids are set in AvailabilityQuery
- The KatanoxAPI class doesn't need the isSandbox boolean in its constructor since there is no need for a separate endpoint anymore.
- The Booking Resource now sends the bookings via the PCI Proxy url to ensure PCI Compliance
- Github Actions workflow
- Minimum PHP version to 7.4
- Models now use getters and setters instead of publicly accessible fields
- Availability Resource
- Booking Resource
- Property Resource