Skip to content

Releases: rzk-lang/rzk

v0.7.5

18 Aug 06:40
25dd17a
Compare
Choose a tag to compare

Minor changes:

  • Suport syntax sugar for nested Σ-types (see #183) by @geffk2
  • Improve error reporting (see #176 and #179)

Fixes:

  • Support newer lsp (specifically, lsp-2.7.0.0, see #188)
  • Fix CI (see #184)
  • Fix build of nix flake on aarch64-darwin (see #181)
  • Small documentation fixes (see #178)

v0.7.4

01 Apr 18:26
0ac6736
Compare
Choose a tag to compare

Fixes:

  • Fix caching in Rzk Language Server, especially in presence of errors (see #167)
  • Fix CI for the Rzk Playground (see #174)

This release also contains minor refactoring (see #165)
and a typo fix (see #171).

v0.7.3

16 Dec 11:06
8e0af0c
Compare
Choose a tag to compare

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

12 Dec 10:37
4adb752
Compare
Choose a tag to compare

Fixes:

  • Fixes for rzk format:
    • Fix extra space after open parens in formatter (see #155);
    • Replace line string content with tokens when checking open parens (see #156);
  • Throw an error when rzk.yaml's include is empty (see #154);

Changes to the Rzk website:

v0.7.1

08 Dec 14:07
eabfe3c
Compare
Choose a tag to compare
  • Fix default build to include Rzk Language Server (rzk lsp) (see 9b78a15);
  • Apply formatting to recId.rzk.md example (see 4032724);

v0.7.0

08 Dec 12:57
372328b
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

⚠️ Broken: does not contain the Rzk Language Server (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.

Minor changes:

  • Fix "latest" Rzk Playground link (see #137);
  • Add more badges to README (see #136);

v0.6.7

07 Oct 20:08
f05581c
Compare
Choose a tag to compare
  • Fix build on some systems (fix BNFC:bnfc executable dependency, see #125)
  • Improve Rzk Playground (see #124 by @deemp):
    • Add snippet_url parameter
    • Migrated from NextJS to Vite
    • Use setText on params attribute
  • Slightly improve documentation:
    • Add links to Rzk Zulip (see #131)
    • Add cabal update to instructions (see 3aa8fd3)

v0.6.6

01 Oct 23:46
9acf9bd
Compare
Choose a tag to compare
  • Fix builds on Windows (and macOS) (see #121)

v0.6.5

01 Oct 19:21
793417e
Compare
Choose a tag to compare
v0.6.5 Pre-release
Pre-release

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} or code={code} param (see #118)
      • Support for snippet_url={URL} is temporarily dropped
  • 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)

v0.6.4

27 Sep 16:27
d5611bc
Compare
Choose a tag to compare

This version improves the stucture of the project, in particular w.r.t dependencies:

  • Add custom snapshot and explicit lower bounds (see #108)