# CHANGELOG

## 2.2.2 - 2021-02-05
- Add deprecation messages for next major releases 3, 4 and 5

## 2.2.1 - 2021-01-28
- Fix Travis settings

## 2.2.0 - 2020-09-11
- Issue #31 - Add output headers to SoapClient in order to be able to store them

## 2.1.0 - 2020-05-14
- Pull request #29 - Transform HTTP headers from stream context options to array
- Update Travis CI PHP Matrix
- Use better Docker configuration
- Introduce StructEnumInterface and AbstractStructEnumBase from which generated Enum classes should inherit
- Add __toString method to AbstractStructBase and AbstractSoapClientBase classes

## 2.0.3 - 2019-01-10
- Issue #25 - Enhancement: Improve output from running php-cs-fixer
- Issue #26 - Enhancement: Keep packages sorted in composer.json
- Issue #28 - Add the URI as an option in the soapClient parameters


## 2.0.2 - 2018-07-23
- Issue #22 / Pull request #23 - Add support to invoke getLastRequest without throwing an InvalidArgumentException if the request is not executed

## 2.0.1 - 2018-05-08
- Issue #19 - WSDL_CACHE_WSDL does not work!
    - Code reviewed as it was not complete, default options were not taken into account properly too, it's working right from now on!

## 2.0.0 - 2018-04-17
- Issue #15 - AbstractSoapClientBase should not define static SoapClient instance

## 1.0.11
- Issue #19 - WSDL_CACHE_WSDL does not work!
- Merged pull request #20 - Fix WSDL_CACHE_WSDL not working

## 1.0.10
- Issue #10 - Improve AbstractStructArrayBase class
- Issue #13 - Feature request: AbstractStructBase implement JsonSerializable
- Add Code of Conduct and Contributing files

## 1.0.9
- Improve code, remove @ usage in generic __set_State method, add SensioLabs Insight badge

## 1.0.8
- Issue #7 - Missing SoapClient location option

## 1.0.7
- Issue #3 - More than one SoapClient in Project

## 1.0.6
- Pull request #4: Rename $optioName to $optionName

## 1.0.5
- Update readme

## 1.0.4
- Issue #2 - Var name change request from $methoName to $methodName

## 1.0.3
- Add utility methods **getStreamContext()** and **getStreamContextOptions()** to AbstractSoapClientbase class

## 1.0.2
- Remove AbstractStructArrayBase::getAttributeName() method due to fatal error on PHP <= 5.3

## 1.0.1
- Interfaces' methods has been well declared as public
- Minor readme typo updates

## 1.0.0
- First major release, code coverage improved to reach 100% from the 1.0.0RC02 release.

## 1.0.0RC02
- Major: update source code structure, put all classes under ```src``` folder, rename Tests to tests, update composer and phpunit accordingly

## 1.0.0RC01
- Update Readme
- Define interfaces that must be used as interfaces in order to be able to define a usable top class for any generated ServiceType/StructType/ArrayType class by the [PackageGenerator](https://github.com/WsdlToPhp/PackageGenerator)

## 0.0.3
- Update dependency badge

## 0.0.2
- use top level namespace for SoapHeader class

## 0.0.1
- Initial version
