Skip to content

♻️ Rational config versions (backport #429 to v0.4) #430

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

Merged
merged 3 commits into from
Apr 18, 2025

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Apr 18, 2025

Backports #429 to v0.4-stable

nevans added 3 commits April 17, 2025 20:56
Using Rational internally, with aliases for Float and Integer versions.

Fixes #428.
This enables more flexible lookups.  So we can now use something like
`Config["0.4.11"]` (I do _not_ intend to store version defaults for
`x.y.z` releases).  I had to add a special-case for zero, to avoid
`Config["missing"] == Config[0r]`
@nevans nevans force-pushed the backport/v0.4-GH429-rational-config-version branch from 5658a08 to 417abc4 Compare April 18, 2025 01:05
@nevans nevans merged commit 1e0a872 into v0.4-stable Apr 18, 2025
30 checks passed
@nevans nevans deleted the backport/v0.4-GH429-rational-config-version branch April 18, 2025 01:07
@nevans nevans added backport This issue or PR is for a stable release branch enhancement New feature or request labels Apr 18, 2025
@nevans nevans changed the title ♻️ Rational config version (backport #429 to v0.4) ♻️ Rational config versions (backport #429 to v0.4) Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This issue or PR is for a stable release branch enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant