This file contains work-in-progress notes for the upcoming release, as well as previous releases. Please check the releases page for the build artifacts.
- Generalized
GraphDisplay.Vertex.radius
toGraphDisplay.Vertex.boundingShape
. - Added demo of metavariable graph display in tactic proofs.
- Renamed
DigraphDisplay
toGraphDisplay
. Undirected graphs can be rendered by turning off arrowheads. - Added support for edge labels and more customization to
GraphDisplay
.
- Updated Lean to v4.14.0-rc1.
- Added
DigraphDisplay
component. It uses d3-force for layout and can accommodate a variety of display styles. SeeDemos/Digraph.lean
for more. - Added
MarkdownDisplay
component to display Markdown (including LaTeX). - Fixed cloud release issue (see Zulip).
- Moved the toolchain to
leanprover/lean4:v4.7.0-rc1
. - Performance improvements for widgets using
mk_rpc_widget%
. Redundant, duplicate calls were previously made to the underlying RPC method; this has been fixed. Furthermore, serverside execution of the RPC method gets cancelled by the infoview as long as its results are no longer needed (for example because the user moved the cursor elsewhere). To opt into this mechanism, use@[server_rpc_method_cancellable]
instead of@[server_rpc_method]
. RPC methods using that attribute can check whether they have been cancelled using IO.checkCanceled, and immediately return with an error or a partial result.
- Moved the toolchain to
leanprover/lean4:v4.6.0
. - Exposed
theme.background
to Penrose style programs.
- Toolchain bumps and associated tweaks.
- Build the demos in CI.
- Moved the toolchain to
leanprover/lean4:v4.5.0-rc1
. This brings changes to the user widget API described here. - Removed
ProofWidgets.savePanelWidgetInfo
. For now you should useLean.Widget.savePanelWidgetInfo
instead. An example migration can be found here. - The
with_panel_widgets
tactic now optionally accepts props for each listed widget. - Several components now use
mk_rpc_widget%
instead of JavaScript string literals. - Fixes and improvements in the
PenroseDiagram
component and theEuclidean
demo.