Ballerina 0.990.1 release is an iteration effort that aims to stabilize the previous 0.990.0 release, which is an implementation based on the Ballerina 0.990.0 language specification.
Return statement is now optional for functions with optional return type signatures.
function foo(string txt) returns error? {
int x = check int.convert(txt);
}
The above is the same as the following code.
function foo(string txt) returns error? {
int x = check int.convert(txt);
return;
}
Function invocation support for string literals.
string name = “ballerina”.toUpper();
There are some updates to the underlying stream processing layer of Ballerina. It introduces a few changes in the syntax.
- When accessing the stream attributes you should use the stream name as the prefix. If stream name is
x
and attribute isa
, you should access asx.a
. - Support for table and stream joins.
Please refer Github milestone issues to view bug fixes