Skip to content

Latest commit

 

History

History
101 lines (70 loc) · 2.75 KB

CHANGELOG.md

File metadata and controls

101 lines (70 loc) · 2.75 KB

Changelog

3.5.1

  • fix: API returns xml-namespaces v3 instead of v5
  • fix: Some options were not prefixed (xml-namespace)
  • feat: bpost API URL is now : https://shm-rest.bpost.cloud/services/shm
  • tests: update E2E tests (tests which called the bpost API)

3.5.0

  • Externalize creation of HTTP requests in new classes (HttpRequestBuilder*)
  • Minimize duplication of code
  • Move tests in a specific (PHP) namespace and apply PHP-CS rules
  • Rename class Insurance->Insured to avoid exception during xml parsing
  • Update HTTP headers and XML namespace for api v5 #32
  • Add CustomsInfo#currency and CustomsInfo#amtPostagePaidByAddresse
  • Rename class Signature->Signed to avoid exception during xml parsing
  • Add parcelContents for International

3.4.11

  • Fix previously broken unit tests
  • Add github-actions
  • Format code by following PSR-12

3.4.10

  • throw BpostInvalidXmlResponseException if XML response if not a valid XML

3.4.9

  • Geo6.php supports Country
  • Fix string/int comparison in ApiCaller Add PHP7.1 -> 8.0 to travis CI job

3.4.8

  • Update version of some composer packages

3.4.7

  • Endpoint change for Geo6/Pudo

3.4.6

  • For National, option Insured must call class Insurance
  • Fixed the parcel locker 'unregistered', UnregisteredParceLockerMember is deprecated #16

3.4.5

  • Fix PHP signatures

3.4.1

  • Refactoring
  • Fix issues

3.4.0

  • Add retro-compatibility with tijsverkoyen library (namespace changes)
  • Complete the README (examples, broken links, ...)
  • Change API URL (api.bpost.be -> api-parcel.bpost.be)
  • Labels features
    • Possibility to append field "order reference"
    • Possibility to force printing
  • Geo6 features
    • Geo6 is now called via HTTPS
    • Send data to API via POST
    • Add Geo6::getPointType() to calculate point types
  • Products features
    • Add "bpack World Easy Return" to international products
    • Box At247 can contain a product bpack 24/7

3.3.0

  • Use bpost API version 3.3 (yet, bpack part only)
  • Change namespace TijsVerkoyen\Bpost to Bpost\BpostApiClient
  • Add more unit tests to perform code coverage
  • Begin to based the unit tests on XML examples given by bpost
  • Add CONTRIBUTING.md

3.0.1

3.0.0

1.0.1

  • Made the classes compliant with PSR
  • Using Namespaces
  • From now on we will follow the versionnumbers that bpost is using, so we will skip a major version
  • Introduction of the GEO-services
  • Introduction of the Bpack24/7-services
  • Composer support
  • Decent objects