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.
1.2.1 - 2024-01-03
- PHP 8.3 Support.
- Updated copyright year.
- Simplify the code making it more concise and readable.
- Refactor code for improved readability and consistency.
- PHP 8.1 Support.
1.2.0 2023-02-23
- Support for PHP version 8.1 and 8.2.
- Rector configuration for easy refactoring.
- Added PHP Mutation Testing.
- Contribution Guidelines and Code of Conduct.
- Security document explaining policy around security vulnerabilities and supported PHP versions.
- Split GitHub Actions in separate workflow steps (mutation testing, code checks, testing, etc.).
- Updated copyright year.
- Upgraded Psalm to version 5.7.
- Upgraded Guzzle to version 7.4.
- Upgraded PHPStan to version 1.4.
- Various code style improvements and fixes.
- PHP 7.4 Support.
1.1.0 2022-01-16
- New function to get the reading observation by geolocation (latitude and longitude) . #4 (mohdizzudin)
- Check that the response body contains a 'data' element. In certain situations this element is not always returned by the AQI API.
- Exception handling for the situation the station name is given but empty. An empty station name would result in an invalid call to the AQI API.
- Upgrade to PHPUnit 8.
- Updated external dependencies.
- Introduced new PHP CS Fixer settings with upgraded PHP CS Fixer v3.
- Copyright year and e-mail address.
- Renamed the script for formatting code to a more concise name.
- Replaced FQN by use of imports.
- Dropped unnecessary arguments in some functions as they are the same as the default.
- Included conversion from
StreamInterface
to string when receiving the response from the HTTP client. - Removed the 'Exception' part of the exception class names as it is superfluous.
- Replaced deprecated
Psr7\str
andPsr7\copy_to_string
function calls.
- Travis CI and Style CI in favour of GitHub Actions.
- Support for PHP 7.3.
- Throwing an exception as methods allows for a null value parameter.
1.0.1 2018-10-31
- Added missing catch clause for
GuzzleException
.
- The variables Temperature, Humidity and Barometric Pressure may now return a possible null value in case the monitoring station doesn't measure these.
- Minimum requirement for PHP to 7.1.0
- Updated package versions for PHPStan, Mockery and PHPUnit.
- Updated in-line documentation (various).
- Adjustment to the name of the monitoring station in case html entities are used.
- Removed type casting as variables are already of proper data type.
- Removed invalid
syntaxCheck
parameter from the PHPUnit XML configuration.
1.0.0 2017-02-15
- Initial release