Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Releases: danthorpe/Money

1.4.1

25 Nov 00:07
Compare
Choose a tag to compare

1.4.1

  1. [MNY-28]: Documentation is now hosted at docs.danthorpe.me.

1.4.0

24 Nov 19:35
Compare
Choose a tag to compare

1.4.0

  1. [MNY-25]: Adds convenience initializers to DecimalNumberType for Int (including all the variants) and Double parameters. Although not technically needed, (as it’s integer and float convertible) this makes it a lot easier to construct Money types.
  2. [MNY-24]: Refactors the localized string formatting APIs. Fixed a few bugs which may have rendered string incorrectly formatted in some locales. Also added the ability to format MoneyType values using specific language and country locales. See the README for more info.
  3. [MNY-27]: Finally got Jazzy to generate the documentation, and have created a config for the project. Hopefully now CocoaDocs will correctly parse the framework and generate docs. Documentation coverage is 96%.

1.3.0

19 Nov 19:46
Compare
Choose a tag to compare

1.3.0

  1. [MNY-21, MNY-22]: Adds support for initializing MoneyTypes with minor units. Thanks to @jlalvarez18.
  2. [MNY-23]: Adds some convenience extensions to create Pay payment requests using an array of PaymentSummaryItem which is a new type generic over MoneyType. This is only available on iOS, and it allows consumers to use Money directly with Pay APIs.

1.2.1

14 Nov 13:19
Compare
Choose a tag to compare

1.2.1

  1. [MNY-19]: Fixes a bunch of miscellaneous spelling mistakes in the README and code documentation.
  2. [MNY-20]: Fixes a mistake where DVR, which is only needed for the test suite, was not in a private Cartfile. Also switches to the official @venmo DVR after recent merges in their project. Thanks to @dasmer for this.

1.2.0

08 Nov 23:52
Compare
Choose a tag to compare

1.2.0

  1. [MNY-18]: Adds Bitcoin currency types and support for % commission with FX.
    • Creates BTC and XBT types.
    • Refactors FXQuote into a struct (no longer subclass-able) but with a percentage commission property. Commission defaults to 0%.
    • FX method quote, now returns FXTransaction as the value of the Result. This new value type composes the original base money, commission (in the same base money currency), the exchange rate, and the counter money. The type supports ValueCoding.
    • A new FX provider, CEX.IO get support for buying and selling bitcoin using USD, EUR and RUB.

1.1.0

06 Nov 14:46
Compare
Choose a tag to compare

1.1.0

  1. [MNY-16]: Grab bag of minor issues post 1.0 release.
    • Cleans up some minor mistakes (spelling etc).
    • Adds NSCoding conformance to FXQuote - so it can be persisted if needed.
    • Adds FXRemoteProviderType.quote(: BaseMoney, completion: Result<(BaseMoney, FXQuote, CounterMoney), FXError> -> Void) -> NSURLSessionDataTask API. This is the nuts and bolts of the FX provider now. It returns as its result, the base money (i.e. the input), the quote (which includes the rate), and the counter money (i.e. the output). The fx method still exists, and it just unwraps the tuple to return the counter money. See the updated README.
  2. [MNY-17]: There was an oversight in the functions in DecimalNumberType which accepts NSDecimalNumberBehaviors as an argument. These were unnecessary so I’ve removed them. Hence the minor version bump.

1.0.0

05 Nov 21:07
Compare
Choose a tag to compare

1.0.0

🎉🐝 Initial release of Money.

  • DecimalNumberType with full support for mathematics operators
  • Strongly typed ISO currencies
  • Strongly typed ISO money type which conforms to DecimalNumberType
  • Generic Foreign Exchange APIs
  • Yahoo FX provider
  • OpenExchangeRates.org FX provider
  • 100% of code covered by tests