mint-lang v0.4.0 Release Notes
Release Date: 2019-02-23 // about 5 years ago-
๐ฅ Breaking Changes
- โ Removed
=>
from inline functions - ๐ฆ
mint-core
package is now included in the binary (no longer needed as a dependency)
๐ Features
- โ Added
--skip-service-worker
flag to skip generation of service worker #96 - Added for expression to allow iterating over some types #110
- โ Added ability to expose an item of a store with a different name (
connect X exposing { y as z }
) - โ Added
formatter-config
field inmint.json
to allow settingindent-size
#10 - Implemented language feature for loading environment variables using the
@VARIABLE
syntax - Implemented Dead Code Elimination #98
- Implemented JavaScript interpolation using the
#{...}
syntax - Implemented referencing childen of a component #108
- ๐ Allow passing
Map(String, String)
to thestyle
attribute of an element.
๐ Bugfixes / Improvements
- ๐ Raise proper exception when parsing type. #95
- ๐ Allow hash to be matched in routes #101
- ๐ Allow whitespace at the end of parameter list of inline function
- ๐ Allow whitespace between parentheses of if condition #100
- ๐ Allow functions without the event parameter to be passed to event attributes.
- โ Added progress bar about parsing files in the CLI
- The type checker now checks for naming conflicts of Types and Enums
- โ Added formatter for array access.
- Automatically break connect exposes if there is at least new line between them.
- Don't automatically split long strings only if they are split at least once.
- โ Removed