mint-lang v0.10.0-pre Release Notes

Release Date: 2020-08-05 // about 1 year ago
  • ๐Ÿš€ This is a test release for upcoming 0.10.0 version, DO NOT USE!


Previous changes from v0.9.0

  • This release containes 67 commits from 7 contributors ๐ŸŽ‰

    Type system changes

    There are several improvements relating to the type system (#216)

    • the return type signature of a function is now optional
    • the type signature of a computed property is now optional
    • the type signature of a property is now optional
    • the type signature of a state is now optional
    • the type of an arrays items can be specified using the of keyword
    • the type of an inline javascript can be specified using the as keyword

    CSS features

    โž• Added support for @font-face, @supports, @keyframes rules #166 #238

    ๐Ÿ”„ Changes / Additions

    • ๐Ÿ›  fix whitespace parsing in list type nodes #232
    • โž• added record constructors #191
    • it is now possible to pipe into any expression #228
    • 0๏ธโƒฃ the default value of a property is no optional #132
    • config option to turn off generation of icons #224
    • โž• add Array.min, Array.max now returns Maybe(Number) #229
    • 0๏ธโƒฃ when running mint start if default port is taken, allow return (with no explicit Y) to start dev server
    • ๐Ÿ›  fixed exhaustivness check for case which contains array destructuring #225
    • ๐Ÿ–จ print alternative link when starting a server if it's different # 230
    • โž• added String.toArray and String.fromArray #178
    • ๐Ÿ”„ change failing test indicator from red dot to red "F"
    • โž• add Mint::VERSION constant shelled-out to shards version

    โ™ป๏ธ Special thanks to @Sija for doing an overall code review and many refactors and optimizations.