Skip to content

0.20.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@gdotdesign gdotdesign released this 18 Oct 09:54
· 41 commits to master since this release

Big Refactors

  • Proper exhaustiveness checking (same implementation as Gleam). Deep destrucutrings will be property checked and reported.

  • The formatter has been rewritten to use a pretty printing algorithm. This means that it now properly honors line length and breaks things when necessary.

  • References tracker has been refactored, this means bundles will be calculated more precisely.

  • Rewritten the documentation generator, it is now HTML by default.

  • Refactored how mint.json are parsed, which results in better error messages.

  • Refactored how workspaces work internally and unified it across the board (development server, test runner, language server, etc...)

Standard Library

  • Added native CSV parser and generator.
  • Fix runtime error in HTTP module.

Language

  • Added signal which is a new kind of self updating state.
  • Added dbg to print better debug messages.

Type Checker

  • Fix an issue with multiple parenthesized if conditions.
  • Properly detect global name conflicts of Main.
  • Added discard pattern _ for destructurings.
  • Allow destructuring in for expressions.
  • Allow Number as HTML content.
  • Allow await anywhere (in pipes as well).
  • Added checks for the children property.

Installer

  • Allow installing packages with extra semver information.