Skip to content

Commit b8084d5

Browse files
authored
doc: update RELEASES.md for rename of getConst? (leanprover#2482)
1 parent f1f9dc0 commit b8084d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RELEASES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Please check the [releases](https://github.com/leanprover/lean4/releases) page f
1010
v4.0.0
1111
---------
1212

13+
* [`Lean.Meta.getConst?` has been renamed](https://github.com/leanprover/lean4/pull/2454).
14+
We have renamed `getConst?` to `getUnfoldableConst?` (and `getConstNoEx?` to `getUnfoldableConstNoEx?`).
15+
These were not intended to be part of the public API, but downstream projects had been using them
16+
(sometimes expecting different behaviour) incorrectly instead of `Lean.getConstInfo`.
17+
1318
* [`dsimp` / `simp` / `simp_all` now fail by default if they make no progress](https://github.com/leanprover/lean4/pull/2336).
1419

1520
This can be overriden with the `(config := { failIfUnchanged := false })` option.

0 commit comments

Comments
 (0)