- 2201.10.1 (Swan Lake Update 10)
- 2201.10.0 (Swan Lake Update 10)
- 2201.9.4 (Swan Lake Update 9)
- 2201.9.3 (Swan Lake Update 9)
- 2201.9.2 (Swan Lake Update 9)
- 2201.9.1 (Swan Lake Update 9)
- 2201.9.0 (Swan Lake Update 9)
- 2201.8.8 (Swan Lake Update 8)
- 2201.8.7 (Swan Lake Update 8)
- 2201.8.6 (Swan Lake Update 8)
- 2201.8.5 (Swan Lake Update 8)
- 2201.8.4 (Swan Lake Update 8)
- 2201.8.3 (Swan Lake Update 8)
- 2201.8.2 (Swan Lake Update 8)
- 2201.8.1 (Swan Lake Update 8)
- 2201.8.0 (Swan Lake Update 8)
- 2201.7.5 (Swan Lake Update 7)
- 2201.7.4 (Swan Lake Update 7)
- 2201.7.3 (Swan Lake Update 7)
- 2201.7.2 (Swan Lake Update 7)
- 2201.7.1 (Swan Lake Update 7)
- 2201.7.0 (Swan Lake Update 7)
- 2201.6.3 (Swan Lake Update 6)
- 2201.6.2 (Swan Lake Update 6)
- 2201.6.1 (Swan Lake Update 6)
- 2201.6.0 (Swan Lake Update 6)
- 2201.5.5 (Swan Lake Update 5)
- 2201.5.4 (Swan Lake Update 5)
- 2201.5.3 (Swan Lake Update 5)
- 2201.5.2 (Swan Lake Update 5)
- 2201.5.1 (Swan Lake Update 5)
- 2201.5.0 (Swan Lake Update 5)
- 2201.4.3 (Swan Lake Update 4)
- 2201.4.2 (Swan Lake Update 4)
- 2201.4.1 (Swan Lake Update 4)
- 2201.4.0 (Swan Lake Update 4)
- 2201.3.5 (Swan Lake Update 3)
- 2201.3.4 (Swan Lake Update 3)
- 2201.3.3 (Swan Lake Update 3)
- 2201.3.2 (Swan Lake Update 3)
- 2201.3.1 (Swan Lake Update 3)
- 2201.3.0 (Swan Lake Update 3)
- 2201.2.4 (Swan Lake Update 2)
- 2201.2.3 (Swan Lake Update 2)
- 2201.2.2 (Swan Lake Update 2)
- 2201.2.1 (Swan Lake Update 2)
- 2201.2.0 (Swan Lake Update 2)
- 2201.1.2 (Swan Lake Update 1)
- 2201.1.1 (Swan Lake Update 1)
- 2201.1.0 (Swan Lake Update 1)
- 2201.0.5 (Swan Lake)
- 2201.0.4 (Swan Lake)
- 2201.0.3 (Swan Lake)
- 2201.0.2 (Swan Lake)
- 2201.0.1 (Swan Lake)
- 2201.0.0 (Swan Lake)
- Swan Lake Beta6
- Swan Lake Beta5
- Swan Lake Beta4
- Swan Lake Beta3
- Swan Lake Beta2
- Swan Lake Beta1
- Swan Lake Alpha5
- Swan Lake Alpha4
- Swan Lake Alpha3
- Swan Lake Alpha2
- Swan Lake Alpha1
- Swan Lake Preview 8
- Swan Lake Preview 7
- Swan Lake Preview 6
- Swan Lake Preview 5
- Swan Lake Preview 4
- Swan Lake Preview 3
- Swan Lake Preview 2
- Swan Lake Preview 1
- 1.2.54
- 1.2.53
- 1.2.52
- 1.2.51
- 1.2.50
- 1.2.49
- 1.2.48
- 1.2.47
- 1.2.46
- 1.2.45
- 1.2.44
- 1.2.43
- 1.2.42
- 1.2.41
- 1.2.40
- 1.2.39
- 1.2.38
- 1.2.37
- 1.2.36
- 1.2.35
- 1.2.34
- 1.2.33
- 1.2.32
- 1.2.31
- 1.2.30
- 1.2.29
- 1.2.28
- 1.2.27
- 1.2.26
- 1.2.25
- 1.2.24
- 1.2.23
- 1.2.22
- 1.2.21
- 1.2.20
- 1.2.19
- 1.2.18
- 1.2.17
- 1.2.16
- 1.2.15
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
Overview of Ballerina Swan Lake 2201.1.1
Swan Lake 2201.1.1 is the first patch release of Ballerina 2201.1.0 (Swan Lake Update 1) and it includes a new set of bug fixes to the compiler, runtime, standard library, and developer tooling.
Update Ballerina
If you are already using Ballerina 2201.0.0 (Swan Lake), run either of the commands below to directly update to 2201.1.1 using the Ballerina Update Tool.
bal dist update
(or bal dist pull 2201.1.1
)
If you are using a version below 2201.0.0 (Swan Lake), run the commands below to update to 2201.1.1.
-
Run
bal update
to get the latest version of the Update Tool. -
Run
bal dist update
( orbal dist pull 2201.1.1
) to update your Ballerina version to 2201.1.1.
However, if you are using a version below 2201.0.0 (Swan Lake) and if you already ran bal dist update
(or bal dist pull 2201.1.1
) before bal update
, see Troubleshooting to recover your installation.
Install Ballerina
If you have not installed Ballerina, then download the installers to install.
Language updates
To view bug fixes, see the GitHub milestone for Swan Lake 2201.1.1.
Developer tools updates
New features
Language Server
- Implemented a publisher/subscriber model for internal components and extensions to be notified about various events like project updates
- Added new code actions to extract anonymous records into records and to generate undefined record types
- Introduced new code actions to generate getters and setters for class-level variables
- Added a new code action to make annotation declarations with the
source
attach point(s) constant
Improvements
Language Server
- Improved hover feature support to display default values for defaultable parameters when hovering over a function
- Improved the
Create function
code action to add theisolated
keyword to a function - Improved the
Create function
code action to handle named arguments - Improved the
Change return type
code action to add an optional error for check expressions - Extended the
Type cast
code action to support several unsupported binary operations - Improved the completion item sorting in
wait
actions and already-completed statements - Updated the
resource function
snippet to add default values for the resource method and path - Refactored the
CommonUtil
class by introducing several new utilities for the methods that are not used by only a single entity - Modified the snippet labels for
record-type
definitions - Improved the renaming support to avoid renaming on a compilation error
- Improved the
strand
annotation completion support in variable declarations - Added completion support for already-imported modules as well as
spread
andrest
fields in records
OpenAPI Tool
- Improved the service resource function return type generation by moving inline record generation to customised record.
Bug Fixes
To view bug fixes, see the GitHub milestone for 2201.1.1 (Swan Lake) of the repositories below.