Skip to content

0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@gdotdesign gdotdesign released this 09 Sep 09:05
· 1417 commits to master since this release
66277c0

Breaking changes

  • do has been removed
  • Variable shadowing are not allowed and will result in a type error

Language features

  • Added sequence and parallel for better asynchronous task handling
  • Enums now can have parameters and can now be destructured in case statements (essentially they become type ADTs) #71
  • else if can be written now #72
  • Added empty catch to catch all errors #69
  • Added version command to the CLI #80
  • Added type checks for case branches
  • Added support for encoding and decoding Map
  • Added initial support for progressive web apps (PWA) by caching all files for offline use
  • encode can now encode records which have no associated type

Smaller features / bug fixes

  • Fixed typo in build command
  • Block comment improvements #89
  • Fix error on project initialization #87
  • Allow specifing dependencies without the .git extension #77
  • Generate icons in more sizes
  • Correctly format empty fragments <></>
  • Break function arguments into separate lines if they would result in long lines
  • Don't raise initial parsing error when running the development server
  • Fix incorrect resolving of function type
  • Removed Void type restriction from route

Misc

  • Crystal 0.26 support
  • Use underscores to avoid style name conflicts
  • Added contributing guide