Skip to content

0.21.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Dec 10:41
· 2 commits to master since this release

Standard Library

  • Added layerX, layerY, offsetX and offsetY to Html.Event. (#705)
  • Added Dom.offsetLeft and Dom.offsetTop. (#705)
  • Added Debug.inspect which returns the pretty printed version. (#704)
  • Fields that dont have a value in Html.Event return 0 instead of -1.

Language

  • Allow comments in arrays, tuples and between operators. (#714)
  • Allow referencing assets from the root of the project. (#707)
  • Allow referencing HTML elements and components in tests. (#715)
  • Allow global components in tests. (#715)
  • Whitespace is not needed around operators. (#706)
  • Use relative path for error messages. (#708)
  • dbg now prints the pretty printed version. (#704)
  • dbg! prints the raw version. (#704)
  • Fix parsing of parenthesized expression and inline function. (#718)
  • Make sure we try destructure the right thing when there are multiple entites with the same name. (#720)

Compiler

  • Allow generating source maps. (#702)

Documentation Server

  • Fix paths in documentation server.

Installer

  • Fix mint start dependency installation answer detection. (#711)
  • Provide a hint for the user to run a cleanup to avoid the errors. (#712)
  • Use a hash for repository directory instead of its URL. (#710)

Fixes

  • URI decode the request path when serving files. (#719)
  • Highlight single character errors. (#721)

Housekeeping

  • Refactor how location of nodes are calculated. (#703)
  • Format runtime source files.
  • Update dependencies. (#713)
  • Tweak build workflow.