Releases: Salamek/zasilkovna
Releases · Salamek/zasilkovna
3.4.1
3.3.1
3.3
What's Changed
- createShipment: packetId -> packetIds by @radimvaculik in #31
New Contributors
- @radimvaculik made their first contribution in #31
Full Changelog: 3.2...3.3
New release
What is new
- Fixed some issues with v4 branch api compatibility (Undefined index & co.)
- Implemented new properties provided by v4 branch api (
BranchStatus
,displayFrontend
,creditCardPayment
) ZasilkovnaBranch::getNameStreet()
is now deprecated, useZasilkovnaBranch::getName()
instead
3.1.4
What is new
- Fixed compatibility with PHP 7.4
- Uses v4 of zasilkovna branch
Full Changelog: 3.1.3...3.1.4
Fixing release
Fixing release
Fixes
- Fixes crash when using supported PHP version due to usage of mixed type (PHP 8 only)
3.1.1
What's Changed
- Handling return value in post method by @walusiacisko in #23
New Contributors
- @walusiacisko made their first contribution in #23
Full Changelog: 3.1...3.1.1
Fixing release (BC Break)
Fixes
- Fixes inconsistency in ApiRest::packetsLabelsPdf (#7), array $packetIds is now array of strings (same as SoapRest::packetsLabelsPdf):
Simply put, change your code from:
$packetIds = ['id' => [
"ID1",
"ID2"
]];
ApiRest::packetsLabelsPdf($packetIds, ...);
To
$packetIds =[
"ID1",
"ID2"
];
ApiRest::packetsLabelsPdf($packetIds, ...);
This fix is OFC a BC break
New release (BC break)
Features
- $packetId is now
string
(or string[] in functions where it makes sense). This is BC break in parameter type! - Add native support for find nearest branches. (@janbarasek)
- API Key validation. (@janbarasek)
- Storage is now optional for Branch (@janbarasek)
- Lazy load branches for better performance. (@janbarasek)
- Email and phone checks in PacketAttributes (@Salamek @janbarasek)
Fixes
- Fix finding branch by int id. (@janbarasek)
- Support for array response when string is expected. (@janbarasek)
- Fix in error parsing in PacketAttributesFault (@MikyWoW)
- Fix phpstan/lint errors (@MikyWoW @janbarasek @Salamek)
- Github Actions are now passing (@Salamek)