The Lean Language Reference

Lean 4.3.0 (2023-11-30)🔗

Lake:

  • Sensible defaults for lake new MyProject math

  • Changed postUpdate? configuration option to a post_update declaration. See the post_update syntax docstring for more information on the new syntax.

  • A manifest is automatically created on workspace load if one does not exists..

  • The := syntax for configuration declarations (i.e., package, lean_lib, and lean_exe) has been deprecated. For example, package foo := {...} is deprecated.

  • support for overriding package URLs via LAKE_PKG_URL_MAP

  • Moved the default build directory (e.g., build), default packages directory (e.g., lake-packages), and the compiled configuration (e.g., lakefile.olean) into a new dedicated directory for Lake outputs, .lake. The cloud release build archives are also stored here, fixing #2713.

  • Update manifest format to version 7 (see lean4#2801 for details on the changes).

  • Deprecate the manifestFile field of a package configuration.

  • There is now a more rigorous check on lakefile.olean compatibility (see #2842 for more details).