{"ecosystem":"swift","package":"Peek-Travel/swift-currency","from_version":null,"to_version":null,"changes":[{"from_version":"0.6.1","to_version":"0.7.0","change_type":"breaking","description":"The minimum Swift version is now 5.7","migration_hint":null},{"from_version":"0.6.1","to_version":"0.7.0","change_type":"breaking","description":"The package has been renamed to `swift-currency`","migration_hint":null},{"from_version":"0.6.1","to_version":"0.7.0","change_type":"breaking","description":"`CurrencyProcotol` and `AnyCurrency` have been removed and replaced with an almost drop-in replacement of `CurrencyValue`","migration_hint":null},{"from_version":"0.6.1","to_version":"0.7.0","change_type":"breaking","description":"The biggest change is from `minorUnits` being the stored property to `exactAmount`","migration_hint":null},{"from_version":"0.6.1","to_version":"0.7.0","change_type":"breaking","description":"`CurrencyMetadata` has been renamed to `CurrencyDescriptor`","migration_hint":null},{"from_version":"0.5.0","to_version":"0.6.0","change_type":"breaking","description":"Currency localization is now easier to use with `localizedString` methods on `AnyCurrency` that reflect the String interpolation API (#34)","migration_hint":null},{"from_version":"0.5.0","to_version":"0.6.0","change_type":"breaking","description":"The String interpolation methods `(localize:forLocale:nilDescription:)` and `(localize:withFormatter:nilDescription:)` have had their 2nd parameters renamed to `for:` and `with:` respectively.","migration_hint":null},{"from_version":"0.4.1","to_version":"0.5.0","change_type":"breaking","description":"CurrencyMint has been refactored to be more flexible for 3rd party currencies (#21)","migration_hint":null},{"from_version":"0.3.1","to_version":"0.4.0","change_type":"breaking","description":"The protocol hierarchy implementation of `AnyCurrency` and `CurrencyProtocol` has been reimplemented to resolve incorrect Swift semantics (#25)","migration_hint":null},{"from_version":"0.3.1","to_version":"0.4.0","change_type":"breaking","description":"The most notable breaking changes are to initializers:","migration_hint":null},{"from_version":"0.3.1","to_version":"0.4.0","change_type":"breaking","description":"`init(minorUnits)` is now generic on `BinaryInteger`","migration_hint":null},{"from_version":"0.3.1","to_version":"0.4.0","change_type":"breaking","description":"`init(_:)` is now failable and requires the `amount:` label","migration_hint":null},{"from_version":"0.3.1","to_version":"0.4.0","change_type":"breaking","description":"The `inverseAmount` computed property is now a method named `negated()`","migration_hint":null},{"from_version":"0.2.0","to_version":"0.3.0","change_type":"breaking","description":"`AnyCurrency` storage is now \"minorUnits\" https://github.com/peek-travel/swift-currency/commit/44425d8fee78044797419525cf25b19860e7b7d8","migration_hint":null},{"from_version":"0.2.0","to_version":"0.3.0","change_type":"breaking","description":"`AnyCurrency` now uses `Int64` \"minorUnits\" as the underlying storage instead of `Foundation.Decimal` \"exactAmount\"","migration_hint":null},{"from_version":"0.2.0","to_version":"0.3.0","change_type":"breaking","description":"`AnyCurrency.roundedAmount` is now `amount`","migration_hint":null},{"from_version":"0.2.0","to_version":"0.3.0","change_type":"breaking","description":"`AnyCurrency.init(minorUnits:)` is now `.init(exactly:)`","migration_hint":null},{"from_version":"0.2.0","to_version":"0.3.0","change_type":"breaking","description":"This is now required by the `AnyCurrency` protocol","migration_hint":null},{"from_version":"0.1.1","to_version":"0.2.0","change_type":"breaking","description":"`Money` was renamed to `AnyCurrency`","migration_hint":null},{"from_version":"0.1.1","to_version":"0.2.0","change_type":"breaking","description":"The `currency` property was renamed to `metadata`","migration_hint":null}],"total":20,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}