mint-lang v0.3.0 Release Notes

Release Date: 2018-09-09 // over 5 years ago
  • ๐Ÿ’ฅ 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