Skip to content

Releases: Salamek/PplMyApi

New version v1.2.1

02 Dec 23:32
f2e8521
Compare
Choose a tag to compare

News

New version v1.2.0

02 Nov 18:34
Compare
Choose a tag to compare

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 for Model\Package::__constructor is now optional and default value is null, its position is changed from 6th to 7th parameter (6th is IRecipient 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 like 40950000114, $numberSeriesId was removed from Model\Package, if you wish to continue using $numberSeriesId... well you can! just call Tools::generatePackageNumber(new Model\PackageNumberInfo(114, Product::PPL_PARCEL_CZ_PRIVATE, Depo::CODE_09)); and you will get your 40950000114 as before. Passing $numberSeriesId as first parameter of Model\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

13 Oct 12:38
Compare
Choose a tag to compare
Merge pull request #22 from unzeitigm/specDeliveryNullables

Changed SpecialDelivery getters return types

New version v1.1.6

10 Oct 16:54
Compare
Choose a tag to compare
Merge pull request #21 from unzeitigm/emptySender

implemented interface ISender, Sender -> ISender

Fixing release

19 Sep 15:29
Compare
Choose a tag to compare
Check if MyApiPackageOut exists

Prevents error when no package is found

New release

19 Sep 15:13
Compare
Choose a tag to compare
Merge pull request #19 from JanGalek/dev-parcel-connect

Product: Added PPL Parcel Connect

Fixing release

12 Sep 19:00
Compare
Choose a tag to compare
Merge pull request #14 from JanGalek/master

Fixed: Flags list

New release

04 Aug 14:26
Compare
Choose a tag to compare
v1.1.2

Remove PHP 5.4 and PHP 5.5 from tests, they are obsolete and i dont h…

Fixing release

28 Jun 14:28
Compare
Choose a tag to compare
Merge pull request #7 from JanGalek/master

Fixed: Pallet collies

Removed SSL hack

28 Jun 01:25
Compare
Choose a tag to compare

Removed SSL hack for issue #4