doc: update RELEASES.md for rename of getConst? (#2482)

This commit is contained in:
Scott Morrison 2023-08-30 14:44:23 +10:00 committed by GitHub
parent f1f9dc0f2f
commit b8084d54e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,11 @@ Please check the [releases](https://github.com/leanprover/lean4/releases) page f
v4.0.0
---------
* [`Lean.Meta.getConst?` has been renamed](https://github.com/leanprover/lean4/pull/2454).
We have renamed `getConst?` to `getUnfoldableConst?` (and `getConstNoEx?` to `getUnfoldableConstNoEx?`).
These were not intended to be part of the public API, but downstream projects had been using them
(sometimes expecting different behaviour) incorrectly instead of `Lean.getConstInfo`.
* [`dsimp` / `simp` / `simp_all` now fail by default if they make no progress](https://github.com/leanprover/lean4/pull/2336).
This can be overriden with the `(config := { failIfUnchanged := false })` option.