Skip to content

Releases: ash-jc-allen/laravel-exchange-rates

v6.1.0

10 Feb 16:09
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.0...v6.1.0

v6.0.0

08 Feb 22:37
Compare
Choose a tag to compare

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 the src/Classes/CacheRepository.php file. #106
  • Removed validateIsStringOrArray method from the src/Classes/Validation file. #106
  • Removed the validation that ensured a date wasn't before the 4th January 1999. #117

New Contributors

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

11 Jan 23:23
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.1.0...v5.2.0

v5.1.0

12 Sep 13:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.1...v5.1.0

v5.0.1

11 Feb 11:04
Compare
Choose a tag to compare

Changes

  • Used Carbon::now() instead of the now() helper to provide support for Lumen. #77

v5.0.0

26 Jan 14:31
13a4bb0
Compare
Choose a tag to compare

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

03 May 18:06
Compare
Choose a tag to compare

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

12 Apr 17:31
Compare
Choose a tag to compare

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

01 Apr 13:48
Compare
Choose a tag to compare

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

06 Dec 00:42
Compare
Choose a tag to compare

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.