Skip to content

Releases: GeNyaa/USPS-php-api

2.0.3

18 Apr 17:19
Compare
Choose a tag to compare
  • Fixed Cannot assign string to property USPS\USPSBase::$errorCode of type int by sending integer only and allowing integer only to be send #11

2.0.2

11 Apr 19:20
Compare
Choose a tag to compare
  • Fix setResponse when response is false, will now set an empty string instead of erroring. issue: #9

2.0.1

08 Mar 18:17
8bb19fd
Compare
Choose a tag to compare
  • Fixed wrong return type in USPS\Rate #6

2.0.0

14 Feb 20:01
Compare
Choose a tag to compare
  • Upgraded PHP requirement to >=8.1
  • Moved some of USPS\RatePackage constants into their own respective Enums USPS\Enum\MailType and USPS\Enum\ServiceType
  • Added typing to all returns and params
  • Added strict_typing to all files
  • USPSBase->getValueByKey('value') now returns null if nothing is found

v1.2.1

08 Sep 21:48
Compare
Choose a tag to compare
  • Added time-out support to rate

v1.1.1

15 Apr 14:46
Compare
Choose a tag to compare
  • PHP8 compatibility fix
  • Renamed package name to allow packagist