Release 4.5.3
4.5.3 (2023-01-22)
- #607: Apply 'Support sabre/xml v4' and needed code changes to 4.5 branch (@phil-davis)
Release 4.5.2 was accidentally done from master branch, which had other changes that have various backward-compatibility issues and may not work with older PHP before 7.4.
This release 4.5.3 is from the 4.5 branch. It includes the dependency change from PR #603 to allow using sabre/xml v3 or v4 as well as v2.
To do that, a couple of return types had to be declared - xmlSerialize returns void and xmlDeserialize returns array. Those declarations are supported from PHP 7.1 onward, so that is fine for the 4.5 release series.
If you start using sabre/xml major version 3 or 4 and are redeclaring/inheriting these in your code, then you may also need to make the matching return-type declarations. But this small thing is a lot better than the large amount of code changes that were accidentally released as 4.5.2.