Skip to content

Releases: peek-travel/swift-currency

Currency 0.2.0

15 Jan 22:06
Compare
Choose a tag to compare
Currency 0.2.0 Pre-release
Pre-release

Major

  • Money was renamed to AnyCurrency
    • The currency property was renamed to metadata

Minor

  • AnyCurrency now has a static property named metadata as well
    • Any type that conforms to both AnyCurrency and CurrencyMetadata will have this requirement met by default
  • Sequence types with AnyCurrency elements now have a sum() and sum(where:) method for aggregating values

Misc

  • Carthage is now supported as a dependency manager

Currency 0.1.1: Carthage Support

15 Jan 00:43
Compare
Choose a tag to compare
Pre-release
Add support for Carthage installation

Motivation:

While SPM is the preferred method for pulling in Swift-only libraries, it's support and capabilities are still sometimes short compared to other dependency managers such as Carthage.

Modifications:

- Add shared Xcode project scheme and file.
- Add github action to verify Carthage builds fine
- Rename `swift.yml` workflow to `tests.yml` to properly break up different github action workflows

Result:

Developers should now be able to use either SPM or Carthage to install swift-currency

0.1.0: Merge pull request #1 from peek-travel/initial-implementation

13 Jan 18:03
bfba7b1
Compare
Choose a tag to compare
Initial implementation