Skip to content

Releases: leanprover/lean4

v4.22.0-rc3

04 Jul 03:02
Compare
Choose a tag to compare
v4.22.0-rc3 Pre-release
Pre-release
chore: fix test

v4.22.0-rc2

30 Jun 20:10
Compare
Choose a tag to compare
v4.22.0-rc2 Pre-release
Pre-release
fix: lake: source file not in module input trace & some logs dropped …

v4.22.0-rc1

30 Jun 09:53
Compare
Choose a tag to compare
v4.22.0-rc1 Pre-release
Pre-release
chore: set LEAN_VERSION_IS_RELEASE 1

v4.21.0

30 Jun 00:14
Compare
Choose a tag to compare
fix: remove global `NatCast (Fin n)` instance (#8620)

This PR removes the `NatCast (Fin n)` global instance (both the direct
instance, and the indirect one via `Lean.Grind.Semiring`), as that
instance causes causes `x < n` (for `x : Fin k`, `n : Nat`) to be
elaborated as `x < ↑n` rather than `↑x < n`, which is undesirable. Note
however that in Mathlib this happens anyway!

v4.21.0-rc3

04 Jun 09:40
Compare
Choose a tag to compare
v4.21.0-rc3 Pre-release
Pre-release
fix: remove global `NatCast (Fin n)` instance (#8620)

This PR removes the `NatCast (Fin n)` global instance (both the direct
instance, and the indirect one via `Lean.Grind.Semiring`), as that
instance causes causes `x < n` (for `x : Fin k`, `n : Nat`) to be
elaborated as `x < ↑n` rather than `↑x < n`, which is undesirable. Note
however that in Mathlib this happens anyway!

v4.20.1

04 Jun 13:06
Compare
Choose a tag to compare
chore: revise environment constant addition details (#8610)

* Move constant registration with elab env from `Lean.addDecl` to
`Lean.Environment.addDeclCore` for compatibility
* Make module system behavior independent of `Elab.async` value

v4.20.1-rc1

04 Jun 03:02
Compare
Choose a tag to compare
v4.20.1-rc1 Pre-release
Pre-release
chore: revise environment constant addition details (#8610)

* Move constant registration with elab env from `Lean.addDecl` to
`Lean.Environment.addDeclCore` for compatibility
* Make module system behavior independent of `Elab.async` value

v4.21.0-rc2

03 Jun 14:02
Compare
Choose a tag to compare
v4.21.0-rc2 Pre-release
Pre-release
Empty commit to re-randomize the hash.

Lake uses the first characters of the Lean commit hash in its version
number. When this accidentally is an all-numeric string starting with a
0, some tools expecting SemVer break. We encountered that issue on
v4.21.0-rc1. This empty commit rerolls the dice on the commit hash,
so we hopefully do not start with a 0 or have some non-numeric characters.

v4.21.0-rc1

02 Jun 13:32
Compare
Choose a tag to compare
v4.21.0-rc1 Pre-release
Pre-release
chore: set release flag

v4.20.0

02 Jun 13:53
Compare
Choose a tag to compare
fix: exponential compilation times due to inlined instances (#8254)

This PR fixes unintended inlining of `ToJson`, `FromJson`, and `Repr`
instances, which was causing exponential compilation times in `deriving`
clauses for large structures.