Skip to content

Latest commit

 

History

History
executable file
·
319 lines (259 loc) · 14.4 KB

CHANGELOG.md

File metadata and controls

executable file
·
319 lines (259 loc) · 14.4 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.

This release (^5.0) uses new refactored API v2

Added

Changed

  • Update 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)
    • Add GEIS_PARCEL_HD_STANDARD service type
    • Add GEIS_PARCEL_HD_PREMIUM service type
  • Added max_weight to branches

Added

  • Added support for new options from documentation v1.896 (2020-11-18)
    • Add PACKAGE request filtered by carrier_id
  • Added support for new options from documentation v1.897 (2020-11-30)
    • Add FOFR shipper
  • 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)
    • Add FEDEX shipper
  • Added multiple ZASILKOVNA_* service types

Added

  • Added support for new options from documentation v1.894 (2020-10-20)
    • Add DHLDE shipper
  • Added support for new options from documentation v1.895 (2020-10-29)
    • Add 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)
    • Add TRACK v3 request
    • Add TRACK_STATUS v2 request
  • Added optional fullData parameter for ADDRUNIT, MANIPULATIONUNITS, ACTIVATEDMANIPULATIONUNITS methods

Changed

  • Update 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)
    • Add method getGroupId (attribute status_id)
    • Add method getDescription (attribute name)
    • Add method getType (attribute type)
  • Rename 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)
    • Add CP_OLZ service type
  • Added support for new options from documentation v1.890 (2020-08-26)
    • Add PBH_ACS service type
    • Add PBH_CORREOS service type
  • Added multiple ZASILKOVNA_* service types

Changed

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

Deprecated

  • Deprecated multiple ZASILKOVNA_* service type constants

Changed

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

Deprecated

  • Deprecated TOP_TRANS_* service type constants

Fixes

  • Fixed branch street house/orientation number for CP shipper

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)
    • Add MESSENGER (Messenger) shipper

Added

  • Added support for new options from documentation v1.885 (2020-05-14)
    • Add 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

  • Normalize request constants, change ACTIVATEDSERVICES to ACTIVATED_SERVICES

Fixed

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

Deprecated

  • Deprecated ACTIVATEDSERVICES request constant

Added

  • Added support for new options from documentation v1.882 (2020-04-15)
    • Add ADD v2 request for TOPTRANS shipper
  • 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 shipper
    • Added BRANCHES v2 request for ZASILKOVNA shipper
    • Added SERVICES v2 request for ZASILKOVNA shipper
    • Added ZASILKOVNA services type
    • Added full_age_minimum attribute

Changed

  • Normalized shipper constants, change TOP_TRANS to TOPTRANS

Fixed

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

Added

Changed

Removed

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

Added

  • Added support for new options from documentation v1.879 (2020-03-13)
    • Add GWCZ (Gebrüder Weiss Česká republika) shipper
  • 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 shipper support

Fixed

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

Added

  • Added helper method for information if shipper 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 shipper
    • Added ADD v2 request for TNT shipper
    • Added bank_code attribute
  • Added support for new options from documentation v1.872 (2019-10-24)
    • Add ADD v2 request for UPS shipper
  • 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) shipper
  • 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

  • Add support for new options from documentation v1.861 (2019-05-28)
    • Add ACTIVATEDSERVICES request
  • Add support for new options from documentation v1.859 (2019-05-07)
    • Add 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)
    • Add delivery_costs attribute
    • Add delivery_costs_eur attribute
  • Added support for new options from documentation v1.856 (2019-04-10)
    • Added SPS (Slovak Parcel Service) shipper
    • 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 shipper
  • 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 shipper
  • 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)