Skip to content

Latest commit

 

History

History
executable file
·
713 lines (601 loc) · 35 KB

CHANGELOG.md

File metadata and controls

executable file
·
713 lines (601 loc) · 35 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Added

  • Added support for new options from documentation v1.999 (2024-07-30)
    • Added country_reference attributes
    • Added country_reference_type attributes
  • Added CP_NV service type
  • Added ZASILKOVNA_IT_POST_PP service type
  • Added ZASILKOVNA_IT_POST_HD service type
  • Added FEDEX_FIRST service type
  • Added FEDEX_PRIORITY_EXPRESS service type
  • Added FEDEX_PRIORITY service type
  • Added FEDEX_REGIONAL_EXPRESS_FREIGHT service type
  • Added FEDEX_REGIONAL_REIGHT service type
  • Added SAMEDAY_CROSSBORDER_24H_HD service type
  • Added SAMEDAY_CROSSBORDER_LOCKER_HD service type

Changed

  • Use list collections

Added

  • Added ZASILKOVNA_GR_ELTA_COURIER_HD service type
  • Added ZASILKOVNA_GR_ELTA_COURIER_PP service type
  • Added ZASILKOVNA_IT_BARTOLINI_BOX service type
  • Added PBH_SI service type
  • Added DACHSER_ONSITE_FIX service type

Added

  • Added support for new options from documentation v1.991 (2024-01-04)
    • Added customs_indicator attributes
  • Added ZASILKOVNA_EE_VENIPAK_HD service type
  • Added ZASILKOVNA_EE_VENIPAK_PP service type
  • Added ZASILKOVNA_EE_VENIPAK_BOX service type
  • Added ZASILKOVNA_FI_MATKAHUOLTO_HD service type
  • Added ZASILKOVNA_FI_MATKAHUOLTO_PP service type
  • Added ZASILKOVNA_FI_MATKAHUOLTO_BOX service type
  • Added ZASILKOVNA_LV_VENIPAK_HD service type
  • Added ZASILKOVNA_LV_VENIPAK_PP service type
  • Added ZASILKOVNA_LV_VENIPAK_BOX service type
  • Added ZASILKOVNA_LT_VENIPAK_HD service type
  • Added ZASILKOVNA_LT_VENIPAK_PP service type
  • Added ZASILKOVNA_LT_VENIPAK_BOX service type

Changed

  • Changed ZASILKOVNA_HU_EXPRESS_ONE_HD service type value

Added

  • Added ZASILKOVNA_HU_POST_PP service type
  • Added ZASILKOVNA_HU_POST_BOX service type

Added

  • Added support for new options from documentation v1.986 (2023-09-13)
    • Added eori, gb_eori and eu_eori attributes
  • Added support for new options from documentation v1.989 (2023-11-27)
    • Added shipper_account_number attributes
  • Added support for new options from documentation v1.990 (2023-11-30)
    • Added SDS carrier

Fixed

  • Update readme

Changed

  • Adjusted guzzlehttp/psr7 version constraint to ^1.5 || ^2.0
  • Adjusted psr/http-message version constraint to ^1.1 || ^2.0

Fixed

  • Fixed ORDERPICKUP request datetime format (#20)

Added

Added

  • Added support for new options from documentation v1.979 (2023-04-17)
    • Added return_barcode attribute
    • Added new method Package getBarcode()

Fixed

  • Fixed API URL API::V2V1 for TRACK_STATUS request (#19)

Added

  • Added support for new options from documentation v1.974 (2023-01-09)
    • Updated PBH_UPS service type value
    • Added PBH_SPS service type

Fixed

  • Fixed removing KM prefix for branchId for PPL carrier (#18)

Added

  • Added support for PHP 8.2
  • Added support for new options from documentation v1.972 (2022-12-07)
    • Added FEDEX_INTERNATIONAL_FIRST service type
    • Added FEDEX_INTERNATIONAL_PRIORITY_EXPRESS service type
    • Added FEDEX_INTERNATIONAL_PRIORITY service type
    • Added FEDEX_REGIONAL_ECONOMY service type
    • Added FEDEX_INTERNATIONAL_PRIORITY_FREIGHT service type
    • Added FEDEX_INTERNATIONAL_ECONOMY_FREIGHT service type
    • Added FEDEX_REGIONAL_ECONOMY_FREIGHT service type
    • Added FEDEX_INTERNATIONAL_CONNECT_PLUS service type
    • Added FEDEX_PRIORITY_OVERNIGHT service type

Added

  • Added support for new options from documentation v1.966 (2022-08-23)
    • Added region to ZipCode as #6 parameter
  • Added support for new options from documentation v1.967 (2022-09-22)
    • Added invoice_type attribute
  • Added ZASILKOVNA_FR_MONDIAL_RELAY_PP service type
  • Added ZASILKOVNA_FR_COLIS_PRIVE_DIRECT_HD service type
  • Added ZASILKOVNA_GR_SPEEDEX_HD service type
  • Added ZASILKOVNA_GR_BOXNOW_BOX service type
  • Added ZASILKOVNA_HU_FAMA_FUTAR_HD service type
  • Added ZASILKOVNA_IT_HR_PARCEL_HD service type
  • Added ZASILKOVNA_PL_POST_PP service type

Changed

  • Changed order of ZipCode parameters (moved country from #6 to #7, moved morningDelivery from #7 to #8)

Added

  • Major refactor for all package (final classes with interface, split logic to separate classes)
  • Added support for new options from documentation v1.957 (2022-04-14)
    • Added CHECKB2A, CHECKB2C request
  • Added support for new options from documentation v1.958 and v1.959 (2022-04-20)
    • Added INFO/CARRIERS request
  • Added support for new options from documentation v1.962 (2022-07-17)
    • Added bank_name attribute
    • Added bank_account_holder attribute
    • Added iban attribute
    • Added swift attribute
  • Added support for new options from documentation v1.963 (2022-07-27)
    • Added dcl_pdf attribute
  • Added support for new options from documentation v1.964 (2022-08-02)
    • Added SAMEDAY carrier
  • Added support for new options from documentation v1.965 (2022-08-10)
    • Added note_invoice attribute

Changed

  • Support only PHP 8.1+
  • Changed classnames and namespaces for most of the code base
  • Changed service type values
    • Changed ZASILKOVNA_GR_ACS_HD service type value
    • Changed ZASILKOVNA_GR_ACS_PP service type value
    • Changed ZASILKOVNA_US_FEDEX_PRIORITY_HD service type value
    • Changed ZASILKOVNA_US_FEDEX_ECONOMY_HD service type value
    • Changed ZASILKOVNA_BG_ECONT_HD service type value
    • Changed ZASILKOVNA_BG_ECONT_BOX service type value
    • Changed ZASILKOVNA_BG_ECONT_PP service type value
    • Changed ZASILKOVNA_SI_POST_HD service type value
    • Changed ZASILKOVNA_SI_POST_PP service type value
    • Changed ZASILKOVNA_SI_POST_BOX service type value
    • Changed ZASILKOVNA_CZ_EXPRESS_PRAHA_HD service type value

Fixed

  • Added missing options from documentation
    • Added B2C request
    • Added ZASILKOVNA_TR_FEDEX_ECONOMY_HD service type
    • Added ZASILKOVNA_TR_FEDEX_PRIORITY_HD service type
    • Added ZASILKOVNA_IL_FEDEX_PRIORITY_HD service type
    • Added ZASILKOVNA_IL_FEDEX_ECONOMY_HD service type
    • Added ZASILKOVNA_IL_FEDEX_ECONOMY_HD service type
    • Added ZASILKOVNA_EE_LT_POST_HD service type
    • Added ZASILKOVNA_LV_LT_POST_HD service type
    • Added ZASILKOVNA_LT_POST_HD service type
    • Added ZASILKOVNA_LT_POST_BOX service type
    • Added DHL_MEDICAL_EXPRESS service type
    • Added GEIS_B2B service type
    • Added PBH_EXPRESS_ONE service type
    • Added MESSENGER_ECONOMY_BRNO service type
    • Added sen_name attribute
    • Added sen_firm attribute
    • Added sen_street attribute
    • Added sen_city attribute
    • Added sen_zip attribute
    • Added sen_country attribute
    • Added sen_street_append attribute
    • Added sen_email attribute
    • Added sen_phone attribute
    • Added neutralize attribute
    • Added neutralize_name attribute
    • Added neutralize_firm attribute
    • Added neutralize_street attribute
    • Added neutralize_city attribute
    • Added neutralize_zip attribute
    • Added neutralize_country attribute
    • Added neutralize_region attribute
    • Added neutralize_phone attribute
    • Added neutralize_email attribute
    • Added neutralize_account_number attribute
    • Added date_delivery attribute
    • Added delivery_time_from attribute
    • Added delivery_time_to attribute
    • Added size attribute
    • Added date_delivery attribute
    • Added branch_type attribute
    • Added content_type attribute
    • Added content_place_of_commital attribute
    • Added content_additional_fee attribute
    • Added content_type_description attribute
    • Added generate_invoice attribute
    • Added loading_length_pallets attribute
    • Added transform_temp_to attribute
    • Added transform_temp_from attribute
    • Added content_produce_code attribute
    • Added shipper_vat attribute
    • Added terms_of_trade_location attribute

Removed

Added

  • Added support for new options from documentation v1.944 (2021-12-07)
    • Added LIFTAGO carrier
  • Added support for new options from documentation v1.949 (2022-02-04)
    • Added MAGYARPOSTA carrier
  • Added support for new options from documentation v1.952 (2022-03-09)
    • Added FULLADRUNITS request
  • Added support for new options from documentation v1.955 (2022-03-24)
    • Added CARRIERS/MY request
  • Added DBSCHENKER_LPA service type

Changed

  • Added support for carrier_id with a integer value type for ordered package

Added

  • Added support for new options from documentation v1.940 (2021-11-05)
    • Added WHOAMI request

Changed

  • Added support for new options from documentation v1.941 (2021-11-09)
    • Change response format for B2A/SERVICES request

Added

  • Added support for new options from documentation v1.935 (2021-10-15)
    • Added JAPO carrier
  • Added support for new options from documentation v1.937 (2021-10-25)
    • Add 405 response status error code

Changed

  • Throw exception for ORDERPICKUP request response with additional message #17

Added

  • Added support for new options from documentation v1.934 (2021-08-07)
    • Added del_exworks_country_code attribute
  • Added ZASILKOVNA_DK_DAO_HD service type
  • Added ZASILKOVNA_DK_DAO_PP service type
  • Added ZASILKOVNA_ES_MRW_PP service type
  • Added ZASILKOVNA_HR_OVERSEAS_PP service type
  • Added ZASILKOVNA_IT_BARTOLINI_PP service type
  • Added ZASILKOVNA_PT_MRW_PP service type

Added

  • Added support for new options from documentation v1.931 (2021-07-20)
    • Added option to get compressed response in GZIP (by parameter ?gzip=1)
    • Added new optional parameter #6 gzip to method RequesterInterface call() (and Requester)
    • Added new optional parameter #5 gzip to method Client getBranches()
  • Enable strict types (declare(strict_types=1))
  • Added Status helper methods for status determinations

Changed

  • Support only PHP 8.0+
  • Changed option to Requester SSL verification to opt-out (enabled by default) #14
  • Changed order of Client getBranches() method (switch #3 fullBranchesRequest and #4 country parameters)

Removed

  • Removed deprecated GEIS_* service type constants

Added

  • Added support for new options from documentation v1.933 (2021-07-29)
    • Added AIRWAY carrier
  • Added opt-in option to Requester SSL verification #14

Added

  • Added support for new options from documentation v1.929 (2021-07-13)
    • Added KURIER carrier
  • Added support for new options from documentation v1.930 (2021-07-16)
    • Added DBSCHENKER carrier

Fixed

  • Fixed TRACK request response when API returns states as string instead of array (#15)

Fixed

  • Fixed ADDSERVICEOPTIONS request response without specific service (#13)

Added

  • Added support for new options from documentation v1.925 (2021-06-30)
    • Added DHLFREIGHTEC carrier
  • Added support for new options from documentation v1.926 (2021-06-30)
    • Added PPL_PRIVATE_SMART_CZ service type
    • Added PPL_PRIVATE_SMART_EU service type

Fixed

  • Fixed branches filter by countries if service type is null (and carrier does not support filter by both) (#12)
    • Added Shipper hasBranchCountryFilterSupport() #2 serviceCode optional parameter

Added

  • Added support for new options from documentation v1.924 (2021-06-18)
    • Added DSV carrier
  • Added support for new options from documentation v1.921 (2021-06-03)
    • Added content_issue_date attribute
    • Added content_invoice_number attribute
    • Added content_ead attribute
    • Added content_mrn attribute
    • Added ead_pdf attribute
  • Added support for new options from documentation v1.919 (2021-05-11)
    • Added SPRING carrier

Added

  • Added Status constants
  • Added support for new options from documentation v1.918 (2021-04-29)
    • Added RABEN carrier
  • Added support for new options from documentation v1.915 (2021-04-19)
    • Added DHLPARCEL carrier
  • Added support for new options from documentation v1.914 (2021-04-19)
    • Added DACHSER carrier
  • Added support for new options from documentation v1.913 (2021-04-08)
    • Added PPL_BUSINESS_EU service type
  • Added support for new options from documentation v1.912 (2021-04-06)
    • Added INTIME_BOX_CZ service type
    • Added INTIME_BOX_SK service type
  • Added support for new options from documentation v1.911 (2021-03-29)
    • Added ADDATTRIBUTES request
  • Added support for new options from documentation v1.908 (2021-03-23)
    • Added ADDSERVICEOPTIONS request

Added

  • Added support for new options from documentation v1.902 (2021-02-10)
    • Added declaration_comments attribute
    • Added declaration_charges_discount attribute
    • Added declaration_insurance_charges attribute
    • Added declaration_other_charges attribute
    • Added declaration_transport_charges attribute
    • Added is_alcohol attribute
  • Added ZASILKOVNA_FR_COLISSIMO_PP service type
  • Added support for new options from documentation v1.905 (2021-03-09)
    • Added TNT_DIRECT_INFEED service type
  • Added ZASILKOVNA_FR_COLIS_PRIVE_HD service type
  • Added FOFR_PALETTE service type

Deprecated

  • Deprecated some GEIS_* service type constants

This release (^5.0) uses new refactored API v2

Added

Changed

  • Updated default API URL to API::V2V1 (apiv2.balikobot.cz)

Fixed

  • Fixed Country #4 phonePrefix parameter to array type
  • Fixed OrderedPackage #1 packageId parameter to string type
  • Fixed Client getOrder() method #2 orderId parameter from int to string type

Removed

  • Removed parameter #3 version from Client addPackages() method
  • Removed parameter #2 country from Client getServices() method
  • Removed parameter #3 version from Client getServices() method
  • Removed parameter #5 version from Client getBranches() method
  • Removed Shipper resolveAddRequestVersion() method
  • Removed Shipper resolveServicesRequestVersion() method
  • Removed Shipper resolveBranchesRequestVersion() method
  • Removed parameter #2 country from Balikobot getServices() method
  • Removed ZASILKOVNA_* service type constants

Added

  • Added error messages from package data validation to exception message as newlines (inspired by #7)

Added

  • Added support for new options from documentation v1.901 (2021-01-18)
    • Added GEIS_PARCEL_HD_STANDARD service type
    • Added GEIS_PARCEL_HD_PREMIUM service type
  • Added max_weight to branches

Added

  • Added support for new options from documentation v1.896 (2020-11-18)
    • Added PACKAGE request filtered by carrier_id
  • Added support for new options from documentation v1.897 (2020-11-30)
    • Added FOFR carrier
  • Added support for new options from documentation v1.898 (2020-12-01)
    • Added CHANGELOG request

Added

  • Added support for new options from documentation v1.897 (2020-11-30)
    • Added FEDEX carrier
  • Added multiple ZASILKOVNA_* service types

Added

  • Added support for new options from documentation v1.894 (2020-10-20)
    • Added DHLDE carrier
  • Added support for new options from documentation v1.895 (2020-10-29)
    • Added PBH_123_KURIER service type

Added

  • Added support for new options from documentation v1.892 (2020-09-14)
    • Added GETCOUNTRIESDATA request
  • Added support for new options from documentation v1.893 (2020-09-17)
    • Added TRACK v3 request
    • Added TRACK_STATUS v2 request
  • Added optional fullData parameter for ADDRUNIT, MANIPULATIONUNITS, ACTIVATEDMANIPULATIONUNITS methods

Changed

  • Updated PackageStatus to support data from TRACK v3
    • Method getId return float instead of int (attribute status_id_v2)
    • Method getName return new internal status name (attribute name_balikobot)
    • Added method getGroupId (attribute status_id)
    • Added method getDescription (attribute name)
    • Added method getType (attribute type)
  • Renamed Package method setHeigth to setHeight

Removed

  • Removed ZASILKOVNA_* service type constants
  • Removed TOP_TRANS_* service type constants
  • Removed ACTIVATEDSERVICES request constant

Added

  • Added support for new options from documentation v1.889 (2020-07-22)
    • Added CP_OLZ service type
  • Added support for new options from documentation v1.890 (2020-08-26)
    • Added PBH_ACS service type
    • Added PBH_CORREOS service type
  • Added multiple ZASILKOVNA_* service types

Changed

  • Normalized service type constants, change to ZASILKOVNA_*_HD, ZASILKOVNA_*_PP, ZASILKOVNA_*_BOX

Deprecated

  • Deprecated multiple ZASILKOVNA_* service type constants

Changed

  • Normalized service type constants, change TOP_TRANS_* to TOPTRANS_*

Deprecated

  • Deprecated TOP_TRANS_* service type constants

Fixes

  • Fixed branch street house/orientation number for CP carrier

Added

  • Added support for new options from documentation v1.886 (2020-05-29)
    • Added TRANSPORTCOSTS request
  • Added support for new options from documentation v1.887 (2020-06-09)
    • Added MESSENGER (Messenger) carrier

Added

  • Added support for new options from documentation v1.885 (2020-05-14)
    • Added PBH_ECONT service type
  • Added support for new options from documentation v1.884 (2020-05-07)
    • Added ACTIVATEDMANIPULATIONUNITS request
  • Added ZASILKOVNA_DE_HERMES_HOME service type
  • Added ZASILKOVNA_DE_HERMES_PICKUP service type
  • Added ZASILKOVNA_LT_HOME service type

Changed

  • Normalized request constants, change ACTIVATEDSERVICES to ACTIVATED_SERVICES

Fixed

  • Fixed bug that API returns only last package statuses for GLS carrier (#3)

Deprecated

  • Deprecated ACTIVATEDSERVICES request constant

Added

  • Added support for new options from documentation v1.882 (2020-04-15)
    • Added ADD v2 request for TOPTRANS carrier
  • Added support for new options from documentation v1.881 (2020-04-09)
    • Added country parameter to SERVICES v2 request
    • Added ADD v2 request for ZASILKOVNA carrier
    • Added BRANCHES v2 request for ZASILKOVNA carrier
    • Added SERVICES v2 request for ZASILKOVNA carrier
    • Added ZASILKOVNA services type
    • Added full_age_minimum attribute

Changed

  • Normalized carrier constants, change TOP_TRANS to TOPTRANS

Fixed

  • Set branch country to CZ if missing (for CP carrier with NP service)

Added

Changed

Removed

  • Deprecated date and note parameters from ORDER request
  • Removed DHLSK carrier support

Added

  • Added support for new options from documentation v1.879 (2020-03-13)
    • Added GWCZ (Gebrüder Weiss Česká republika) carrier
  • Added support for new options from documentation v1.878 (2020-01-30)
    • Added B2A/SERVICES request

Fixed

  • Fixed bug with bad formatted latitude/longitude in branch import

Deprecated

  • Deprecated date and note parameters from ORDER request
  • Deprecated DHLSK carrier support

Fixed

  • Fixed bug with empty string in latitude/longitude in branch import

Added

  • Added helper method for information if carrier support filtering branches by country code

Fixed

  • Fixed branch filtering by country code(s)

Removed

  • Removed country parameter from method that list branches

Added

  • Added methods for track multiple packages
  • Added methods to get branches filtered by country codes
  • Added support for new options from documentation v1.873 (2019-11-15)
    • Added country parameter to BRANCHES request
    • Added ADD v2 request for DHL carrier
    • Added ADD v2 request for TNT carrier
    • Added bank_code attribute
  • Added support for new options from documentation v1.872 (2019-10-24)
    • Added ADD v2 request for UPS carrier
  • Added support for new options from documentation v1.872 (2019-10-22)
    • Added POD request
    • Added GLS_GUARANTEED24 service type
    • Added GLS_GUARANTEED24_EXPRESS service type
    • Added GLS_GUARANTEED24_SHOP service type
    • Added GW_DOMESTIC service type
    • Added GW_EXPORT service type
    • Added reference attribute
    • Added sm1_service attribute
    • Added sm1_text attribute
    • Added sm1_text attribute
    • Added sm2_service attribute

Added

  • Added support for new options from documentation v1.870 (2019-09-05)
    • Added GW (Gebrüder Weiss) carrier
  • Added support for new options from documentation v1.869 (2019-08-19)
    • Added del_exworks_account_number attribute
    • Added del_exworks_zip attribute
  • Added support for new options from documentation v1.867 (2019-07-23)
    • Added INTIME_PARCEL_EU service type
    • Added INTIME_PARCEL_EU_PLUS service type
    • Added ins_currency attribute
  • Added support for new options from documentation v1.866 (2019-07-10)
    • Added B2A request
  • Added support for new options from documentation v1.865 (2019-07-01)
    • Added rec_id attribute
  • Added support for new options from documentation v1.864 (2019-06-26)
    • Added type parameter to BRANCHLOCATOR request

Added

  • Added support for new options from documentation v1.861 (2019-05-28)
    • Added ACTIVATEDSERVICES request
  • Added support for new options from documentation v1.859 (2019-05-07)
    • Added SPS_INTERNATIONAL service type (Export (mezinárodní zásilky))

Fixed

  • Fixed bug that TRACK request does not require status attribute in response data

Added

  • Added support for new options from documentation v1.857 (2019-04-26)
    • Added delivery_costs attribute
    • Added delivery_costs_eur attribute
  • Added support for new options from documentation v1.856 (2019-04-10)
    • Added SPS (Slovak Parcel Service) carrier
    • Added ULOZENKA_EXPRESS_COURRIER service type (Expres Kurýr SK for Ulozenka)
    • Added ULOZENKA_EXPRESS_SK service type (Expres na poštu SK for Ulozenka)
    • Added ULOZENKA_BALIKOBOX_SK service type (BalíkoBOX SK for Ulozenka)
    • Added ULOZENKA_DEPO_SK service type (Depo SK for Ulozenka)

Added

  • Added support for new options from documentation v1.855 (2019-03-19)
    • Added DHLSK carrier
  • Added support for new options from documentation v1.854 (2019-03-13)
    • Added COD4SERVICES request
  • Added support for new options from documentation v1.853 (2019-02-28)
    • Added BRANCHLOCATOR request
  • Added support for new options from documentation v1.852 (2019-02-26)
    • Added TNT carrier
  • Added support for new options from documentation v1.851 (2019-02-19)
    • Added new definitons for regions
  • Added support for new options from documentation v1.847 (2019-01-22)
    • Added PBH_NOBA_POSHTA service type (Nova Poshta (UA) for PbH)
    • Added rec_name_patronymum attribute
    • Added rec_locale_id attribute

Added

  • Added support for new options from documentation v1.846 (2019-01-08)
    • Added rec_house_number attribute
    • Added rec_block attribute
    • Added rec_enterance attribute
    • Added rec_floor attribute
    • Added rec_flat_number attribute

Changed

Fixed

  • Fixed links url

Changed

  • Changed composer package name to inspirum/balikobot

Fixed

  • Fixed tests

v1.0.0 (2018-12-27)

Added

  • Added support for all requests and options in documentation v1.845 (2018-11-29)