Skip to content

Commit

Permalink
docs: update RELEASES.md for #2502 (#2606) (#2613)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8c0f0b5)

Co-authored-by: thorimur <68410468+thorimur@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and thorimur authored Oct 2, 2023
1 parent a62d2fd commit b557561
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ v4.2.0
---------

No breaking changes at present.
* Improvements to Lake startup time ([#2572](https://github.com/leanprover/lean4/pull/2572), [#2573](https://github.com/leanprover/lean4/pull/2573))
* `refine e` now replaces the main goal with metavariables which were created during elaboration of `e` and no longer captures pre-existing metavariables that occur in `e` ([#2502](https://github.com/leanprover/lean4/pull/2502)).
* This is accomplished via changes to `withCollectingNewGoalsFrom`, which also affects `elabTermWithHoles`, `refine'`, `calc` (tactic), and `specialize`. Likewise, all of these now only include newly-created metavariables in their output.
* Previously, both newly-created and pre-existing metavariables occurring in `e` were returned inconsistently in different edge cases, causing duplicated goals in the infoview (issue [#2495](https://github.com/leanprover/lean4/issues/2495)), erroneously closed goals (issue [#2434](https://github.com/leanprover/lean4/issues/2434)), and unintuitive behavior due to `refine e` capturing previously-created goals appearing unexpectedly in `e` (no issue; see PR).

v4.1.0
---------
Expand Down

0 comments on commit b557561

Please sign in to comment.