Skip to content

Bump version to 9.6.166 for Plinth 1.66 - #25

Merged
hsyl20 merged 1 commit into
ghc-9.6-plinthfrom
bump-version-9.6.166
Aug 3, 2026
Merged

Bump version to 9.6.166 for Plinth 1.66#25
hsyl20 merged 1 commit into
ghc-9.6-plinthfrom
bump-version-9.6.166

Conversation

@hsyl20

@hsyl20 hsyl20 commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

The third component of the version now encodes the Plinth version the compiler targets (1.66 -> 166) rather than being an opaque marker, so that users can tell which plutus-tx a given uplc-ghc has to be used with. Nothing else in the version conveyed that, and the coupling is strict: uplc-ghc only compiles Plinth code against the plutus-tx it was built against, which plinth-test.cabal pins to ^>=1.66.0.0.

Re-releases of the same Plinth version are distinguished by the fourth component (9.6.166.X for RELEASE=YES, 9.6.166.DATE otherwise), so the trailing release counter that the old 1501 carried in the third component is dropped.

Also document the scheme in configure.ac, which recorded neither the meaning of 1501 nor that the minor is written with two digits -- a future Plinth 1.7 must map to 170, not 17, or the version silently goes backwards.

Note that 166 is numerically below 1501. Nothing was ever published as 1501 (there are no tags yet), so no public version regresses; doing this before the first release keeps the numbering coherent from v1 onward.

Since the version is part of the package unit-ids and keys cabal's store directory (ghc-9.6.166-plinth), this invalidates existing _build trees and any dependencies previously built against 9.6.1501.

The third component of the version now encodes the Plinth version the
compiler targets (1.66 -> 166) rather than being an opaque marker, so that
users can tell which plutus-tx a given uplc-ghc has to be used with. Nothing
else in the version conveyed that, and the coupling is strict: uplc-ghc only
compiles Plinth code against the plutus-tx it was built against, which
plinth-test.cabal pins to ^>=1.66.0.0.

Re-releases of the same Plinth version are distinguished by the fourth
component (9.6.166.X for RELEASE=YES, 9.6.166.DATE otherwise), so the
trailing release counter that the old 1501 carried in the third component is
dropped.

Also document the scheme in configure.ac, which recorded neither the meaning
of 1501 nor that the minor is written with two digits -- a future Plinth 1.7
must map to 170, not 17, or the version silently goes backwards.

Note that 166 is numerically below 1501. Nothing was ever published as 1501
(there are no tags yet), so no public version regresses; doing this before
the first release keeps the numbering coherent from v1 onward.

Since the version is part of the package unit-ids and keys cabal's store
directory (ghc-9.6.166-plinth), this invalidates existing _build trees and
any dependencies previously built against 9.6.1501.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@hsyl20
hsyl20 requested a review from angerman as a code owner August 1, 2026 20:07
@hsyl20
hsyl20 merged commit f6ca7db into ghc-9.6-plinth Aug 3, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant