Skip to content

Commit

Permalink
DHLGW-1341: release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mam08ixo authored and Sebastian80 committed Jun 30, 2023
1 parent 48bf9b4 commit be55d2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 2.0.0

### Added

- Connect to DHL REST API.
- Choose a delivery type service (_Premium_, _Economy_, _CDP_).
- Configure shipment order parameters such as paper size (compare PR [#2](https://github.com/netresearch/dhl-sdk-api-bcs/pull/2)).
- Connect to DHL Parcel DE Shipping REST API with additional features:
- Book _Signed for by recipient_ (Empfängerunterschrift) service
- Book shipments with P.O. Box destination address
- Book _Postal Delivery Duty Paid_ (PDDP) service
- Choose a delivery type service (_Premium_, _Economy_, _CDP_)

### Changed

- Update documentation of possible request builder arguments, expose via constants.
- Premium service is now booked via `ShipmentOrderRequestBuilderInterface::setDeliveryType`.
- The method `ShipmentOrderRequestBuilderInterface::setPrintOnlyIfCodeable` per order item
- The method `ShipmentOrderRequestBuilderInterface::setPrintOnlyIfCodeable` per shipment item
was removed. Set the `mustEncode` flag via `OrderConfigurationInterface` for the entire
order instead.

Expand Down
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
"Dhl\\Sdk\\Paket\\Bcs\\Test\\": "test/"
}
},
"extra": {
"branch-alias": {
"dev-DHLGW-1275": "3.0.0.x-dev"
}
},
"config": {
"allow-plugins": {
"php-http/discovery": false
Expand Down
2 changes: 1 addition & 1 deletion src/Service/ServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function createSoapService(
LoggerInterface $logger,
bool $sandboxMode = false
): ShipmentServiceInterface {
// fixme(nr): update to 3.3.2 once it becomes publicly available
// the last publicly available WSDL version is 3.1.2, later features can only be booked via REST API
$wsdl = sprintf(
'%s/%s/%s',
'https://cig.dhl.de/cig-wsdls/com/dpdhl/wsdl/geschaeftskundenversand-api',
Expand Down

0 comments on commit be55d2f

Please sign in to comment.