06 December 2022
Ballerina Team
We are happy to announce a new release, Ballerina 2201.3.0 (Swan Lake Update 3), the third update release of Ballerina Swan Lake.
The main highlight of this release is the support for generating native executables with GraalVM. This introduces a new --native
option to the bal build
CLI command (i.e., bal build --native
) to generate the GraalVM native executable. Also, the --native
and --cloud=docker
or --cloud=k8s
can be combined to build a Docker image with the native executable. See Build a native executable.
The rest of the significant additions and improvements are described below.
fromJsonWithType
and cloneWithType
functions of the ballerina/lang.value
module are improved to return the value with the first matching type of the union members when cloning with a union type if multiple matching types are found. Previously, those were panicked with ambiguous errors.graphql
module. Also, the graphql
module is improved with the support for the service-level interceptor execution.http
module for having a grace period for the graceful stop of the listener. The application will exit when a resource function panics.grpc
module and the Protocol Buffers version was updated to 3.21.7.Run-In-Terminal
feature was introduced to the debugger to accommodate Ballerina programs that take user inputs during the launch mode.For a detailed list of what’s new in Swan Lake Update 3, see the release note.
We extend our sincerest thanks to the Ballerina community for your valuable feedback and support in making Ballerina what it is today. We hope you enjoy this release.
Cheers, The Ballerina Team