Skip to content

Releases: OpenBuildings/monetary

PHP version upgrade

21 Feb 09:16
430b988

Choose a tag to compare

Upgrade php version to ^7.1
Upgrade phpunit version to ^7

0.4.1

29 Oct 13:56

Choose a tag to compare

Move Monetary::$currency_templates to static property so serializatio…

0.4.0

28 Oct 10:38

Choose a tag to compare

Allow negative templates for currency formatting

0.3.2: Introduce Cache_None for unit tests

28 Oct 10:34

Choose a tag to compare

Cache_None is used in Source_RemoteTest.
When the functionality of caching should is not the essential thing
being tested in a unit test it should not be used.

Also it allows the Source_RemoteTest::test_serialize test to be run
multiple times on the same system without failing.

0.3.1

23 Aug 13:34

Choose a tag to compare

Moved the serialization implementation up in the chain of sources

Sourceable::rate instead of Sourceable::exchange_rates

23 Aug 08:22

Choose a tag to compare

0.3.0

Added Source::rate method instead. Tests and formatting.

0.2.2

22 Aug 20:59

Choose a tag to compare

Source is Serializable and Source_Static accepts arrays

Allow setting default currency and precision

22 Aug 13:30

Choose a tag to compare

0.2.1

Fixed code in usage example

Requestable interface, full test coverage

21 Aug 21:58

Choose a tag to compare

Added Remoteable and CURL driver for Source_Remote

  • Added Remoteable interface
    • It is used in Source_Remote similar to Cacheable
    • It could be set via the constructor.
    • It could be get or set via the request_driver method.
    • When making a request $this->request_driver()->request() is used.
  • Added CURL class implementing the Remoteable interface
    • It is the default request driver for Source_Remote.
  • Other improvements like more static:: usage.

100% test coverage

More test coverage and better extensibility

21 Aug 21:39

Choose a tag to compare

0.1.1

Add Coveralls and Composer badges