0.8.0
π₯ Breaking changes
- Minimum PHP version is now 8.0
- Due to Croatia's adoption of the Euro on January 1st, 2023:
- the
HRK
currency (Kuna) has been removed from the ISO currency provider - the
HR
country (Croatia) is now mapped toEUR
(Euro)
- the
PDOProviderConfiguration
now has a proper constructor, and its properties are no longer publicPDOProviderConfiguration
now throws exceptions in the constructor when configuration is invalid- All documented union types are now strongly typed:
- If you have a custom
ExchangeRateProvider
implementation, you will need to update yourgetExchangeRate()
method signature - If you were passing
Stringable
objects toof()
or any of the methods internally callingof()
, and havestrict_types
enabled, you will need to explicitly cast these objects tostring
first
- If you have a custom