Skip to content

Latest commit

 

History

History
108 lines (72 loc) · 2.23 KB

CHANGELOG.md

File metadata and controls

108 lines (72 loc) · 2.23 KB

Changelog

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Unreleased

v1.4.1

Fix:

  • Add an expiry to Rails cache store entries.

v1.4.0

Changes:

  • Support the money-open-exchange-rates gem.
  • Drop support for Rails < 6.1.
  • Database transaction when saving rates.
  • Add named argument for the list of currencies.
  • Add multiplier option.

Fix:

  • A nil bank defaults to EuCentralBank.
  • Do not require the eu_central_bank when using a different bank.

v1.3.0

Changes:

  • Drop support for Rails < 4.2.

Fixes:

  • Reversible migration.
  • Migration injects through database tasks.

v1.2.1

Fix:

  • Fix migrations export to host application

v1.2.0

Features:

  • Store all combination of rates between all currencies by defaulting to going through the first currency.
  • value_for accepts any currency format accepted by Money::Currency.
  • value_for returns 1 if asking for the same from and to.

v1.1.0

Features:

  • ActiveCurrency::AddRates accepts a custom bank argument.
  • Use the first currency given to AddRates as the default currency instead of EUR.
  • When given a custom bank, use its inverse rates if available.

v1.0.2

Fix:

  • Fix migrations under Rails 4.2.

v1.0.1

Fix:

  • Do not require the migration class while loading the app.

v1.0.0

Nothing new, just released for the Paris.rb meetup! 🎉

v0.5.0

Breaking change:

  • Remove ActiveCurrency::MemoryRateStore prefer Money::RatesStore::Memory.

Features:

  • Add ActiveCurrency::Bank to simplify app's initializer.
  • Add .call to ActiveCurrency::AddRates to simplify app's calls.

Fix:

  • Remove migration that adds rates automatically.

v0.4.0

Fix:

  • Allow adding rates without setting the default store.

v0.3.0

Breaking changes:

  • Move the list of currencies to AddRate.
  • Remove current_value_for that was deprecated in v0.2.0.
  • Add eu_central_bank dependency condition.

Fix:

  • Allow lowercase currencies when adding rates.

v0.2.0

Features:

  • Support for Rails 3.2.
  • Prefer value_for to current_value_for.
  • Add a ActiveCurrency::MemoryRateStore, useful in test mode.

v0.1.0

First Release \o/