Releases: rzk-lang/rzk
Releases · rzk-lang/rzk
v0.7.5
v0.7.4
v0.7.3
Fixes:
- Fix overlapping edits in the formatter, hopefully making it idempotent (see #160);
- Fix formatter crashing the language server (see #161);
- Avoid unnecessary typechecking when semantics of a file has not changed (see #159);
- Stop typechecking after the first parse error (avoid invalid cache) (see
68ab0b4
);
Other:
- Add unit tests for the formatter (see #157);
v0.7.2
Fixes:
- Fixes for
rzk format
: - Throw an error when
rzk.yaml
'sinclude
is empty (see #154);
Changes to the Rzk website:
- Support multiple languages in the documentation (see #150);
- English is the default;
- Russian documentation is partially translated and is available at http://rzk-lang.github.io/rzk/ru/;
- Add a blog (see #153 and
e438820
);- The blog is not versioned and is always available at https://rzk-lang.github.io/rzk/en/blog/;
- Add a new Other proof assistants for HoTT page (also in Russian);
- Add a new Introduction to Dependent Types page (also in Russian)
- Add (default) social cards
- Integrate ToC on the left
- Use Inria Sans for English, PT Sans for Russian
v0.7.1
v0.7.0
rzk lsp
).
Major changes:
- Add an experimental
rzk format
command (by Abdelrahman Abounegm @aabounegm, with feedback by Fredrik Bakke (see sHoTT#142) and Nikolai Kudasov):- Automatically format files, partially automating the Code Style of the sHoTT project
- Notable features:
- Adds a space after the opening parenthesis to help with the code tree structure
- Puts the definition conclusion (type, starting with
:
) and construction (body, starting with:=
) on new lines - Adds a space after the
\
of a lambda term and around binary operators (like,
) - Moves binary operators to the beginning of the next line if they appear at the end of the previous one.
- Replaces common ASCII sequences with their Unicode equivalent
- A CLI subcommand (
rzk format
) with--check
and--write
options
- Known limitations
- The 80 character line limit is currently not enforced due to the difficulty of determining where to add line breaks (for reference, check out this post by a Dart
fmt
engineer) - Fixing indentation is not yet implemented due to the need for more semantics than the lexer provides to determine indentation level.
- There may be rare edge cases in which applying the formatter twice could result in additional edits that were not detected the first time.
- The 80 character line limit is currently not enforced due to the difficulty of determining where to add line breaks (for reference, check out this post by a Dart
Minor changes:
v0.6.7
v0.6.6
v0.6.5
This version contains mostly intrastructure improvements:
- Typecheck using
rzk.yaml
if it exists (see #119) - Update Rzk Playground and Nix Flake (see #84)
- Rzk Playground now uses CodeMirror 6 and NextJS
miso
dependency is dropped- GHCJS 9.6 is now used
- Support
snippet={code}
orcode={code}
param (see #118)- Support for
snippet_url={URL}
is temporarily dropped
- Support for
- Update to GHC 9.6, latest Stackage Nightly, improve Rzk setup, and GitHub Actions (see #116)
- Add logging for Rzk Language Server (see #114)
Fixes:
- Fix error messages in Rzk Playground (see #115)