Releases: azuyalabs/waqi
v1.2.1
A minor release addressing small issues and improvements. Note that only active versions of PHP are supported, meaning support for PHP 8.1 has been removed in this release.
Added
- PHP 8.3 Support.
Changed
- Updated copyright year.
- Simplify the code making it more concise and readable.
- Refactor code for improved readability and consistency.
Removed
- PHP 8.1 Support.
Full Changelog: https://github.com/azuyalabs/waqi/blob/master/CHANGELOG.md
v1.2.0
A minor release addressing small issues and improvements. Note that only active versions of PHP are supported, meaning support for PHP7.4 has been removed in this release.
Added
- 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.
Changed
- 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.
Fixed
- Various code style improvements and fixes.
Removed
- PHP 7.4 Support.
Full Changelog: https://github.com/azuyalabs/waqi/blob/master/CHANGELOG.md
v1.1.0
A minor release addressing small issues, improvements and a new function to get your AQI by latitude/longitude. Note that only active versions of PHP are supported, meaning support for PHP7.3 has been removed in this release.
Added
- New function to get the reading observation by geo-location (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.
Changed
- 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.
Fixed
Removed
- Travis CI and StyleCI in favour of GitHub Actions.
- Support for PHP 7.3.
- Throwing an exception as methods allows for a null value parameter.
New Contributors
- @peter279k made their first contribution in #2
- @mohdizzudin made their first contribution in #4
Full Changelog: https://github.com/azuyalabs/waqi/blob/master/CHANGELOG.md
v1.0.1
Release 1.0.1 is just a minor release covering some smaller issues and a few enhancements.
Added
- Added missing catch clause for GuzzleException.
Changed
- 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 inline documentation (various).
Fixed
- Adjustment to the name of the monitoring station in case html entities are used.
Removed
- Removed type casting as variables are already of proper data type.
- Removed invalid syntaxCheck parameter from the PHPUnit XML configuration.
v1.0.0
Initial release.