Releases: ash-jc-allen/laravel-exchange-rates
v6.1.0
v6.0.0
What's Changed
- Added concept of "drivers" so the package can support multiple APIs. #84
- Added support for API Layer's "Exchange Rates Data API". #89
- Added a new
driver
config option. #84 - Added type hints and return types. #106
- Added
declare(strict_types=1);
to all files. #106 - Added specific Larastan configuration for Laravel 8. #113
- Added more tests. #106
- Refactored method signatures to remove unneeded arrays. #113
- Updated documentation. #103
- Run CI workflows for PHP 8.1 and Laravel 10. #90
- Removed the
api_url
config option. #84 - Removed
existsInCache
method from thesrc/Classes/CacheRepository.php
file. #106 - Removed
validateIsStringOrArray
method from thesrc/Classes/Validation
file. #106 - Removed the validation that ensured a date wasn't before the 4th January 1999. #117
New Contributors
- @A-Lawrence made their first contribution in #115
Full Changelog: v5.2.0...v6.0.0
Upgrade guide: https://github.com/ash-jc-allen/laravel-exchange-rates/blob/master/UPGRADE.md
v5.2.0
What's Changed
- Updated the PHPUnit config to the newer format by @ash-jc-allen and @tammytee in #80
- Add support for Laravel 10 by @ash-jc-allen in #81
Full Changelog: v5.1.0...v5.2.0
v5.1.0
v5.0.1
v5.0.0
Changes
- Added PHPStan workflow for GitHub Actions. #72
- Migrated tests workflow from Travis CI to GitHub Actions. #69
- Added support for Laravel 9.*. #69
- Dropped support for Laravel 6.* and 7.*. #69
- Dropped support for PHP 7.2, 7.3 and 7.4. #69
- Dropped support for
guzzlehttp/guzzle
6.*. #69 - Dropped support for
orchestra/testbench
3.* , 4.* , and 5.*. #69 - Dropped support for
phpunit/phpunit
8.*. #69 - Added FUNDING.yml.
v4.1.0
Changes
Updated the list of allowed currencies (#66)
As part of the API migrating to the newer format and version, there are now many more currencies than in the past. All of the new currencies can be seen in the documentation in the README. Thanks, @martyn-v for contributing and updating the list!
Updated Dependabot to GitHub-native version (#64)
Dependabot has now been updated to use the GitHub-native version rather than the preview version that has been used up until now.
Laravel Exchange Rates v4.0.1
New Features
Fixed the parameters that are sent to the timeseries
endpoint. (#63)
This release fixed a bug that was still sending the older start_at
and end_at
parameters that were expected in the older version of the API. The requests now use the newer start_date
and end_date
parameters.
Laravel Exchange Rates v4.0.0
New Features
Added config file and support for new API changes (#57)
As of 1st April 2021, the exchangeratesapi.io now requires an API key to use the service. To get an API key, head over to
https://exchangeratesapi.io/pricing. You can sign up for free or use the paid tiers.
Please note that at the time of writing this, you will need to be on at least the 'Basic' plan to make request via HTTPS. You
will also be required to have at least the 'Professional' plan to use the convertBetweenDateRange()
and exchangeRateBetweenDateRange()
that this package offers.
You will also be required to have at least the 'Basic' paid plan to use exchangeRate()
and convert()
methods offered by
this package due to the fact that the free plan does not allow setting a base currency when converting.
After you've got your API key, you can add the following fields to your .env
file:
EXCHANGE_RATES_API_URL=https://api.exchangeratesapi.io/v1/
EXCHANGE_RATES_API_KEY={Your-API-Key-Here}
Laravel Exchange Rates v3.3.0
New Features
Added support for PHP 8 (#50)
As of Laravel Exchange Rates v3.3.0, the package can now be run using PHP 8.