0.3.0
Pre-release
Pre-release
Breaking changes
do
has been removed- Variable shadowing are not allowed and will result in a type error
Language features
- Added
sequence
andparallel
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 fromroute
Misc
- Crystal 0.26 support
- Use underscores to avoid style name conflicts
- Added contributing guide