Releases: Salamek/PplMyApi
Releases · Salamek/PplMyApi
New version v1.2.1
News
- PPL Zpl labels support by @samuelszabo
New version v1.2.0
This release have code changes to prevent/solve #23 and solves #20 in more proper way, there are some important changes which require your attention to prevent future compatibility break with your code, thats why we are jumped to v1.2.0 details below.
There should be NO BC break, but it will throw E_USER_DEPRECATED when deprecated functionality is used!
News
- All models in Model namespace have Iterfaces now (so you can implement your own, like Doctrine entities etc.)
- Removed deprecated method
Api::getLabels
Model\ISender
parameter forModel\Package::__constructor
is now optional and default value isnull
, its position is changed from 6th to 7th parameter (6th isIRecipient
now). It will work OK with old parameter order, but it will throw E_USER_DEPRECATED when used in old way.Model\EmptySender
is deprecated by previous change OFC, if used it will work OK but it will throw E_USER_DEPRECATED when used.- First parameter for
Model\Package::__constructor
is now$packageNumber
(solves #23 ), so you should pass full package number in full format like40950000114
,$numberSeriesId
was removed fromModel\Package
, if you wish to continue using$numberSeriesId
... well you can! just callTools::generatePackageNumber(new Model\PackageNumberInfo(114, Product::PPL_PARCEL_CZ_PRIVATE, Depo::CODE_09));
and you will get your40950000114
as before. Passing$numberSeriesId
as first parameter ofModel\Package::__constructor
will also work for now, but throws E_USER_DEPRECATED
All deprecated and backward compatibility code will be slowly removed in future relases!
But i will keep all backward compatibility code in place for at least one month to give you guys (and girls[hopefully]) time to do necessary changes.
New version v1.1.7
Merge pull request #22 from unzeitigm/specDeliveryNullables Changed SpecialDelivery getters return types
New version v1.1.6
Merge pull request #21 from unzeitigm/emptySender implemented interface ISender, Sender -> ISender
Fixing release
Check if MyApiPackageOut exists Prevents error when no package is found
New release
Merge pull request #19 from JanGalek/dev-parcel-connect Product: Added PPL Parcel Connect
Fixing release
Merge pull request #14 from JanGalek/master Fixed: Flags list
New release
v1.1.2 Remove PHP 5.4 and PHP 5.5 from tests, they are obsolete and i dont h…
Fixing release
Merge pull request #7 from JanGalek/master Fixed: Pallet collies
Removed SSL hack
Removed SSL hack for issue #4