0.8.0
This release contains 122 commits from 6 contributors 🎉
🚧 Breaking changes 🚧
-
Mint now uses Preact instead of React (this should not break anything though) which will result in smaller compile files.
-
External assets are now handled differently:
-
CSS rules whith multiple selectors are now compiled separately f2eab4b:
div, p { color: red; }
now compiles as:
div { color: red; } p { color: red; }
Additions
-
Implemented constants for stores, components and modules #194
-
Implemented unary minus expression #201
-
Implemented tuples #209
-
Implemented array destructuring #210
-
Added more functions to the core library:
Fixes and other changes
- Show error for formatter if the pattern is invalid #157
- Format files in both
source-directories
andtest-directories
#158 - Allow underscores in environment variable names
- Fixed an issue when media query provider triggering events for non subscribers
- Fixed
String.trim
- Fixed
Time.range
because of DatFNS update - Fixed an error when rendering HTML errors on WSL
- Fixed an issue of resolving function type definitions #212
sequence
andparallel
reserved variable names #185- Make host:port configurable for test server #207
- Show more context for the missing closing tag syntax error #213
- Display more relevant errors for property and state if the type is a record without definition #188