Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.18 KB

ballerina-release-notes-0.990.1.md

File metadata and controls

38 lines (26 loc) · 1.18 KB

Overview to Ballerina 0.990.1

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.

Improvements

Language

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 is a, you should access as x.a.
  • Support for table and stream joins.

Bug Fixes

Please refer Github milestone issues to view bug fixes