Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace AnyCurrency, CurrencyProtocol with new Currency implementation #42

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

Mordil
Copy link
Collaborator

@Mordil Mordil commented Dec 27, 2024

Motivation:

The new implementation has been proven to work, and the old implementation is ready to be replaced.

Modifications:

  • Add: Usage examples of Currency as an existential
  • Change: ISO Currency type codegen to drop _New_ prefix on new Currency conformances
  • Remove: AnyCurrency, CurrencyProtocol protocols and the codegen conformances
  • Remove: Unused Decimal extensions

Result:

The new Currency implementation is now the canonical representation in the library.

@Mordil Mordil added enhancement New feature or request semver-major Require SemVer Major bump labels Dec 27, 2024
Base automatically changed from update-mint to 0.7.0 January 6, 2025 17:06
Motivation:

The new implementation has been proven to work, and the old implementation is ready to be replaced.

Modifications:

- Add: Usage examples of Currency as an existential
- Change: ISO Currency type codegen to drop `_New_` prefix on new `Currency` conformances
- Remove: `AnyCurrency`, `CurrencyProtocol` protocols and the codegen conformances
- Remove: Unused `Decimal` extensions

Result:

The new `Currency` implementation is now the canonical representation in the library.
@Mordil
Copy link
Collaborator Author

Mordil commented Jan 6, 2025

Latest push was a rebase with the target branch

@Mordil Mordil merged commit 55018d5 into 0.7.0 Jan 6, 2025
0 of 12 checks passed
@Mordil Mordil deleted the remove-old-impl branch January 6, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-major Require SemVer Major bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants