Skip to content

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

Merged
nevans merged 3 commits into
v0.4-stablefrom
backport/v0.4-GH429-rational-config-version
Apr 18, 2025
Merged

♻️ Rational config versions (backport #429 to v0.4)#430
nevans merged 3 commits into
v0.4-stablefrom
backport/v0.4-GH429-rational-config-version

Conversation

@nevans

@nevans nevans commented Apr 18, 2025

Copy link
Copy Markdown
Collaborator

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
@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