You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow multiple statements per block and added standalone block notation.
Promises changed to take a single parameter instead of two Promise(value).
Removed try, parallel, sequence, with, where, catch, finally and then language features.
Removed partial application language feature (conflicting with default arguments) until we can figure out a solution for the ambiguity.
Removed safe operators &. and &(.
Added block expressions.
Added optional await keyword to statements.
Added optional await keyword to the condition of case expressions.
Added the ability to define default values for function arguments.
Added the ability to create decoder functions using the decode feature by omitting the decodable object: decode as Array(String).
Records are now using : instead of =.
Added here document support:
<<#MARKDOWN
Renders markdown content to Html
MARKDOWN
<<-TEXT
Text content which leaves leading indentation intact.
TEXT
<<~TEXT
Text content which leaves trims leading indentation to the first line.
TEXT
There are too many changes to list here because of the standard library cleanup and pipe operator changes so consult the PRs #532#503 and the API documentation if something doesn't work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
🚧 !!! This is a bigger release containing many breaking changes !!! 🚧
This release got pretty big and it would take a long time to gather all the changes, apologies for that.
Breaking Language Changes (check PRs for detailed changes)
Promise(value)
.try
,parallel
,sequence
,with
,where
,catch
,finally
andthen
language features.&.
and&(
.await
keyword to statements.await
keyword to the condition ofcase
expressions.decode
feature by omitting the decodable object:decode as Array(String)
.:
instead of=
.|>
now puts the left hand side value as the first argument instead of the last. Pipe as the first agument instead of the last. #571Standard Library
There are too many changes to list here because of the standard library cleanup and pipe operator changes so consult the PRs #532 #503 and the API documentation if something doesn't work.
Language Server
Housekeeping
This discussion was created from the release 0.17.0.
Beta Was this translation helpful? Give feedback.
All reactions