From 1e7a66e4326fb215d5001e4e7eecd30d2a99277f Mon Sep 17 00:00:00 2001
From: Sahan Hemachandra <45299562+sahanHe@users.noreply.github.com>
Date: Thu, 20 Apr 2023 15:57:43 +0530
Subject: [PATCH 1/4] Create release note for 2201.4.2
---
.../swan-lake-2201.4.2/RELEASE_NOTE.md | 53 +++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md
diff --git a/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md b/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md
new file mode 100644
index 00000000000..f921249bc5d
--- /dev/null
+++ b/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md
@@ -0,0 +1,53 @@
+---
+layout: ballerina-left-nav-release-notes
+title: 2201.4.2 (Swan Lake)
+permalink: /downloads/swan-lake-release-notes/2201-4-2/
+active: 2201-4-2
+redirect_from:
+ - /downloads/swan-lake-release-notes/2201-4-2
+ - /downloads/swan-lake-release-notes/2201.4-2/
+ - /downloads/swan-lake-release-notes/2201-4-2-swan-lake/
+ - /downloads/swan-lake-release-notes/2201-4-2-swan-lake
+---
+
+## Overview of Ballerina Swan Lake 2201.4.2
+
+Swan Lake 2201.4.2 is the second patch release of Ballerina 2201.4.0 (Swan Lake Update 4) and it includes a new set of improvements to the language 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.4.2 using the [Ballerina Update Tool](/learn/cli-documentation/update-tool/).
+
+`bal dist update` (or `bal dist pull 2201.4.2`)
+
+**If you are using a version below 2201.0.0 (Swan Lake)**, run the commands below to update to 2201.4.2.
+
+1. Run `bal update` to get the latest version of the Update Tool.
+
+2. Run `bal dist update` ( or `bal dist pull 2201.4.2`) to update your Ballerina version to 2201.4.2.
+
+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.4.2`) before `bal update`, see [Troubleshooting](/downloads/swan-lake-release-notes/swan-lake-2201.0.0#troubleshooting) to recover your installation.
+
+## Install Ballerina
+
+If you have not installed Ballerina, then, download the [installers](/downloads/#swanlake) to install.
+
+## Language updates
+
+### Bug fixes
+
+To view bug fixes, see the [GitHub milestone for 2201.4.2 (Swan Lake)](https://github.com/ballerina-platform/ballerina-lang/issues?q=is%3Aissue+milestone%3A2201.4.2+is%3Aclosed+label%3AType%2FBug).
+
+## Developer tools updates
+
+### Bug fixes
+
+To view bug fixes, see the GitHub milestone for 2201.4.2 (Swan Lake) of the repositories below.
+
+- [OpenAPI](https://github.com/ballerina-platform/openapi-tools/issues?q=is%3Aissue+milestone%3A%22Swan+Lake+2201.4.2%22+is%3Aclosed+)
+
+## Standard library updates
+
+### Bug fixes
+
+To view bug fixes, see the [GitHub milestone for 2201.4.2 (Swan Lake)](https://github.com/ballerina-platform/ballerina-standard-library/milestone/28?closed=1).
From 5ec2d9542ca83257c9b67824d23c347a1cdb3bbf Mon Sep 17 00:00:00 2001
From: Sahan Hemachandra <45299562+sahanHe@users.noreply.github.com>
Date: Thu, 20 Apr 2023 16:04:32 +0530
Subject: [PATCH 2/4] update rl.json
---
utils/rl.json | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/utils/rl.json b/utils/rl.json
index f4bcf816f53..9d608ccde58 100644
--- a/utils/rl.json
+++ b/utils/rl.json
@@ -22,6 +22,14 @@
"url": "/downloads/swan-lake-release-notes/swan-lake-2201.5.0",
"id": "swan-lake-2201.5.0"
},
+ {
+ "dirName": "2201.4.2 (Swan Lake Update 4)",
+ "level": 2,
+ "position": 1,
+ "isDir": false,
+ "url": "/downloads/swan-lake-release-notes/swan-lake-2201.4.2",
+ "id": "swan-lake-2201.4.2"
+ },
{
"dirName": "2201.4.1 (Swan Lake Update 4)",
"level": 2,
From 7aa81171ac6200b2d7d80eb3ce51242f28c64d66 Mon Sep 17 00:00:00 2001
From: Sahan Hemachandra <45299562+sahanHe@users.noreply.github.com>
Date: Tue, 25 Apr 2023 12:24:03 +0530
Subject: [PATCH 3/4] Update release note according to the comments
---
.../swan-lake-2201.4.2/RELEASE_NOTE.md | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md b/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md
index f921249bc5d..73da74b3951 100644
--- a/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md
+++ b/downloads/swan-lake-release-notes/swan-lake-2201.4.2/RELEASE_NOTE.md
@@ -16,17 +16,11 @@ redirect_from:
## Update Ballerina
-**If you are already using Ballerina 2201.0.0 (Swan Lake)**, run either of the commands below to directly update to 2201.4.2 using the [Ballerina Update Tool](/learn/cli-documentation/update-tool/).
-
-`bal dist update` (or `bal dist pull 2201.4.2`)
-
-**If you are using a version below 2201.0.0 (Swan Lake)**, run the commands below to update to 2201.4.2.
+Update your currrent Ballerina installation directly to 2201.4.2 by using the [Ballerina Update Tool](/learn/cli-documentation/update-tool/) as follows.
1. Run `bal update` to get the latest version of the Update Tool.
-2. Run `bal dist update` ( or `bal dist pull 2201.4.2`) to update your Ballerina version to 2201.4.2.
-
-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.4.2`) before `bal update`, see [Troubleshooting](/downloads/swan-lake-release-notes/swan-lake-2201.0.0#troubleshooting) to recover your installation.
+2. Run `bal dist pull 2201.4.2` to update to this latest distribution.
## Install Ballerina
@@ -42,12 +36,10 @@ To view bug fixes, see the [GitHub milestone for 2201.4.2 (Swan Lake)](https://g
### Bug fixes
-To view bug fixes, see the GitHub milestone for 2201.4.2 (Swan Lake) of the repositories below.
-
-- [OpenAPI](https://github.com/ballerina-platform/openapi-tools/issues?q=is%3Aissue+milestone%3A%22Swan+Lake+2201.4.2%22+is%3Aclosed+)
+To view bug fixes, see the [GitHub milestone for 2201.4.2 (Swan Lake)](https://github.com/ballerina-platform/openapi-tools/issues?q=is%3Aissue+milestone%3A%22Swan+Lake+2201.4.2%22+is%3Aclosed+label%3AType%2FBug).
## Standard library updates
### Bug fixes
-To view bug fixes, see the [GitHub milestone for 2201.4.2 (Swan Lake)](https://github.com/ballerina-platform/ballerina-standard-library/milestone/28?closed=1).
+To view bug fixes, see the [GitHub milestone for 2201.4.2 (Swan Lake)](https://github.com/ballerina-platform/ballerina-standard-library/issues?q=is%3Aissue+milestone%3A2201.4.2+label%3AType%2FBug+is%3Aclosed+).
From f44b94a0015dbd38736fb0c1d026d02c899944f4 Mon Sep 17 00:00:00 2001
From: hindujaB
Date: Tue, 2 May 2023 17:52:18 +0530
Subject: [PATCH 4/4] Add 2201.4.2 release information
---
_data/swanlake_release_notes_versions.json | 19 +++++++++++++++++++
utils/archived-lm.json | 8 ++++++++
2 files changed, 27 insertions(+)
diff --git a/_data/swanlake_release_notes_versions.json b/_data/swanlake_release_notes_versions.json
index adb0e7b6113..75fe493a76c 100644
--- a/_data/swanlake_release_notes_versions.json
+++ b/_data/swanlake_release_notes_versions.json
@@ -742,5 +742,24 @@
],
"api-docs":"ballerina-api-docs-2201.4.1.zip",
"release-notes":"ballerina-release-notes-2201.4.1.md"
+},
+{
+ "version":"2201.4.2",
+ "short-version":"2201.4.2",
+ "display-version":"2201.4.2 (Swan Lake Update 4)",
+ "release-date":"2023-05-02",
+ "windows-installer":"ballerina-2201.4.2-swan-lake-windows-x64.msi",
+ "windows-installer-size":"178mb",
+ "linux-installer":"ballerina-2201.4.2-swan-lake-linux-x64.deb",
+ "linux-installer-size":"195mb",
+ "macos-installer":"ballerina-2201.4.2-swan-lake-macos-x64.pkg",
+ "macos-installer-size":"235mb",
+ "rpm-installer":"ballerina-2201.4.2-swan-lake-linux-x64.rpm",
+ "rpm-installer-size":"238mb",
+ "other-artefacts":[
+ "ballerina-2201.4.2-swan-lake.zip"
+ ],
+ "api-docs":"ballerina-api-docs-2201.4.2.zip",
+ "release-notes":"ballerina-release-notes-2201.4.2.md"
}
]
diff --git a/utils/archived-lm.json b/utils/archived-lm.json
index ecc6816aa1f..335a469738e 100644
--- a/utils/archived-lm.json
+++ b/utils/archived-lm.json
@@ -22,6 +22,14 @@
"url": "https://lib.ballerina.io/",
"id": "swan-lake-api-docs"
},
+ {
+ "dirName": "2201.4.2",
+ "level": 2,
+ "position": 1,
+ "isDir": false,
+ "url": "#2201.4.2",
+ "id": "2201.4.2v"
+ },
{
"dirName": "2201.4.1",
"level": 2,