All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Move package to
bookingsuedtirol
namespace
- Fix changelog heading level
- Adjust PHP version requirement in composer.json
- Drop support for PHP < 8.1
- Update dependencies
- Remove the
getSeoTexts
method (which has been removed from MSS).
- Add
check_restrictions
property toSchema\Request\Options
- Add
typ
property toSchema\Request\SearchAvailability
- Add
informal_mail
property toSchema\Response\Hotel
- Use easychannel.it, not www.easychannel.it
- Add getHotelList example
- Change MSS call URL from https://www.easymailing.eu/mss/mss_service.php to https://www.easychannel.it/mss/mss_service.php
- Change images domain from www.bookingsuedtirol.com to www.easychannel.it
- Fix test case whitespace
- Automated tests with phpunit
- Compatibility with PHP 8.0
- BREAKING: All type annotations which use double/float are now always
float
in the output array instead ofint
.
- BREAKING: Minimum supported PHP version increased to
7.2
. - Update
jms/serializer
to v3 - Refactor custom date handler
- Remove the conversion to JSON and transform the deserializer output directly into an array.
- Update the development Dockerfile to PHP 8.0 and apply and fix the mounted volume permission issues.
- Trim whitespace in descriptions
- Add the follwing properties to
Schema\Response\Hotel
available_from
prices_changed_at
availability_changed_at
bookable_until
- Add new
arrival
,departure
properties toSchema\Request\Search
.
- Fix a warning message in previous release.
- Add
result_id
property toSchema\Request\Header
.
- Fix a bug where
MssException
returned 2xx status codes in theResponse
object. - Fix a bug where
MssException@getCode()
returned the HTTP status code instead of the Mss Error Code.
- Change distance type from integer to double.
- Add dimension properties to
Schema\Response\Picture
.
- Add coupon service data to hotel response.
- Add missing coupon request/response properties in
prepareBooking
method.
- Change
Schema\Request\SearchHotel@type
to an array of integers.
- Backport every v1.x feature update, including the following methods:
getMasterpackagesList
getThemeList
validateCoupon
getSeoTexts
- Replace unsafe
getenv
calls with$_ENV
.
- Fix a bug with gzip encoded content.
- Replace
guzzlehttp/guzzle
with anyPSR-18
compatible http-client. MssException
inherits fromHttp\Client\Exception\HttpException
instead ofGuzzleHttp\Exception\ServerException
.- Minimum supported PHP version increased to
7.1
.