Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
DHLEX-65: Update version number, CHANGELOG; remove branch alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Melzer committed Dec 5, 2019
1 parent c203544 commit fe973ea
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 2.0.0 - 2019-12-05

### Added

- Support for PHP 7.3
- Improved logged information for errors during rates request

### Changed

- Changed public API to always require a \DateTime object when
handling date/time information to avoid timezone bugs
- Cleaned up missing or incorrect public API annotations

## 1.2.0 - 2019-08-26

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DHL Express Shipping API SDK for PHP

* version: 1.2.0
* version: 2.0.0

## Description

Expand All @@ -10,7 +10,7 @@ data.

## Requirements

* PHP >= 5.6.5
* PHP >= 5.6.5 <= 7.3
* DHL Express customer account able to access the production endpoints (optionally sandpit too)

## Installation Instructions
Expand Down Expand Up @@ -56,7 +56,7 @@ The library's components suitable for consumption comprise of
$logger = new \Psr\Log\NullLogger();

$serviceFactory = new SoapServiceFactory();
$service = $serviceFactory->createRateService('api-user', 'api-pass', $logger)
$service = $serviceFactory->createRateService('api-user', 'api-pass', $logger);

$requestBuilder = new RateRequestBuilder()
$requestBuilder->setIsUnscheduledPickup($isUnscheduledPickup);
Expand Down Expand Up @@ -99,7 +99,7 @@ The library's components suitable for consumption comprise of
$logger = new \Psr\Log\NullLogger();

$serviceFactory = new SoapServiceFactory();
$service = $serviceFactory->createShipmentService('api-user', 'api-pass', $logger)
$service = $serviceFactory->createShipmentService('api-user', 'api-pass', $logger);

$requestBuilder = new ShipmentRequestBuilder()
$requestBuilder->setIsUnscheduledPickup($unscheduledPickup);
Expand Down
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,5 @@
"psr-4": {
"Dhl\\Express\\Test\\": "test/"
}
},
"extra": {
"branch-alias": {
"dev-develop": "1.3.x-dev"
}
}
}

0 comments on commit fe973ea

Please sign in to comment.