Skip to content

Commit

Permalink
Merge pull request #8263 from ballerina-platform/master
Browse files Browse the repository at this point in the history
Sync master into etl
  • Loading branch information
praneesha committed Nov 16, 2023
2 parents 0e66b20 + 28fbb98 commit 93db68c
Show file tree
Hide file tree
Showing 1,172 changed files with 48,915 additions and 2,418 deletions.
74 changes: 74 additions & 0 deletions _data/articles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"articles": [
{
"url": "https://www.slant.co/topics/20337/~visual-programming-languages",
"title": "What are the best visual programming languages?",
"author": "",
"source": "Slant",
"date": "Oct 3, 2023"
},
{
"url": "https://bestcodinglanguage.com/for-cloud-computing/",
"title": "Best Programming Languages For Cloud Computing",
"author": "Awais Yaseen",
"source": "Best coding language",
"date": "Sep 15, 2023"
},
{
"url": "https://www.hyperlinkinfosystem.com/blog/popular-microservices-frameworks",
"title": "10 Most Popular Microservices Framework",
"author": "Harnil Oza",
"source": "Hyperlink InfoSystem",
"date": "Sep 14, 2023"
},
{
"url": "https://levelup.gitconnected.com/10-lesser-known-programming-languages-revolutionizing-the-tech-industry-july-2023-edition-64f356d0df8d",
"title": "10 lesser-known programming languages revolutionizing the tech industry",
"author": "Arslan Mirza",
"source": "Level Up Coding",
"date": "Jul 4, 2023"
},
{
"url": "https://www.cmarix.com/blog/best-microservices-frameworks/",
"title": "Top microservices frameworks to build scalable applications",
"author": "Parth Patel",
"source": "Cmarix",
"date": "June 19, 2023"
},
{
"url": "https://www.codelivly.com/lesser-known-programming-languages-worth-exploring/",
"title": "8 lesser-known programming languages worth exploring",
"author": "Rocky Sah",
"source": "Codelivly",
"date": "June 13, 2023"
},
{
"url": "https://www.tatvasoft.com/blog/top-12-microservices-frameworks/",
"title": "Top 12 microservices frameworks",
"author": "Vishal Shah",
"source": "Tatvasoft",
"date": "Apr 25, 2023"
},
{
"url": "https://levelup.gitconnected.com/14-mind-blowing-programming-languages-youve-probably-never-heard-of-b96550980661",
"title": "14 programming languages you've probably never heard of",
"author": "Clement Brian",
"source": "Level Up Coding",
"date": "Apr 12, 2023"
},
{
"url": "https://camunda.com/blog/2022/09/seven-best-programming-languages-for-microservices/",
"title": "7 best programming languages for microservices",
"author": "Josh Wulf",
"source": "Camunda",
"date": "Sep 29, 2022"
},
{
"url": "https://www.simform.com/blog/microservices-framework/",
"title": "The Top Go-To Microservices Frameworks for a Scalable Application",
"author": "Hiren Dhaduk",
"source": "SIMFORM",
"date": "March 15, 2022"
}
]
}
36 changes: 36 additions & 0 deletions _data/release_notes_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1320,5 +1320,41 @@
],
"api-docs": "ballerina-api-docs-1.2.45.zip",
"release-notes": "ballerina-release-notes-1.2.45.md"
},
{
"version": "1.2.46",
"release-date": "2023-11-01",
"windows-installer": "ballerina-windows-installer-x64-1.2.46.msi",
"windows-installer-size": "148mb",
"linux-installer": "ballerina-linux-installer-x64-1.2.46.deb",
"linux-installer-size": "145mb",
"macos-installer": "ballerina-macos-installer-x64-1.2.46.pkg",
"macos-installer-size": "165mb",
"rpm-installer": "ballerina-linux-installer-x64-1.2.46.rpm",
"rpm-installer-size": "168mb",
"other-artefacts": [
"ballerina-1.2.46.zip",
"ballerina-1.2.46.vsix"
],
"api-docs": "ballerina-api-docs-1.2.46.zip",
"release-notes": "ballerina-release-notes-1.2.46.md"
},
{
"version":"1.2.47",
"release-date":"2023-11-08",
"windows-installer":"ballerina-windows-installer-x64-1.2.47.msi",
"windows-installer-size":"148mb",
"linux-installer":"ballerina-linux-installer-x64-1.2.47.deb",
"linux-installer-size":"145mb",
"macos-installer":"ballerina-macos-installer-x64-1.2.47.pkg",
"macos-installer-size":"165mb",
"rpm-installer":"ballerina-linux-installer-x64-1.2.47.rpm",
"rpm-installer-size":"168mb",
"other-artefacts":[
"ballerina-1.2.47.zip",
"ballerina-1.2.47.vsix"
],
"api-docs":"ballerina-api-docs-1.2.47.zip",
"release-notes":"ballerina-release-notes-1.2.47.md"
}
]
24 changes: 12 additions & 12 deletions _data/stable-latest/metadata.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"version":"1.2.45",
"release-date":"2023-10-15",
"windows-installer":"ballerina-windows-installer-x64-1.2.45.msi",
"version":"1.2.46",
"release-date":"2023-11-01",
"windows-installer":"ballerina-windows-installer-x64-1.2.46.msi",
"windows-installer-size":"148mb",
"linux-installer":"ballerina-linux-installer-x64-1.2.45.deb",
"linux-installer":"ballerina-linux-installer-x64-1.2.46.deb",
"linux-installer-size":"145mb",
"macos-installer":"ballerina-macos-installer-x64-1.2.45.pkg",
"macos-installer":"ballerina-macos-installer-x64-1.2.46.pkg",
"macos-installer-size":"165mb",
"rpm-installer":"ballerina-linux-installer-x64-1.2.45.rpm",
"rpm-installer":"ballerina-linux-installer-x64-1.2.46.rpm",
"rpm-installer-size":"168mb",
"other-artefacts":[
"ballerina-1.2.45.zip",
"ballerina-1.2.45.vsix"
],
"api-docs":"ballerina-api-docs-1.2.45.zip",
"release-notes":"ballerina-release-notes-1.2.45.md"
"other-artefacts":[
"ballerina-1.2.46.zip",
"ballerina-1.2.46.vsix"
],
"api-docs":"ballerina-api-docs-1.2.46.zip",
"release-notes":"ballerina-release-notes-1.2.46.md"
}
63 changes: 63 additions & 0 deletions _data/swanlake_release_notes_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,27 @@
"api-docs": "ballerina-api-docs-2201.5.3.zip",
"release-notes": "ballerina-release-notes-2201.5.3.md"
},
{
"version":"2201.5.4",
"short-version":"2201.5.4",
"display-version":"2201.5.4 (Swan Lake Update 5)",
"release-date":"2023-11-08",
"windows-installer":"ballerina-2201.5.4-swan-lake-windows-x64.msi",
"windows-installer-size":"183mb",
"linux-installer":"ballerina-2201.5.4-swan-lake-linux-x64.deb",
"linux-installer-size":"205mb",
"macos-installer":"ballerina-2201.5.4-swan-lake-macos-x64.pkg",
"macos-installer-size":"245mb",
"macos-arm-installer":"ballerina-2201.5.4-swan-lake-macos-arm-x64.pkg",
"macos-arm-installer-size":"244mb",
"rpm-installer":"ballerina-2201.5.4-swan-lake-linux-x64.rpm",
"rpm-installer-size":"249mb",
"other-artefacts":[
"ballerina-2201.5.4-swan-lake.zip"
],
"api-docs":"ballerina-api-docs-2201.5.4.zip",
"release-notes":"ballerina-release-notes-2201.5.4.md"
},
{
"version":"2201.6.0",
"short-version":"2201.6.0",
Expand Down Expand Up @@ -907,6 +928,48 @@
"api-docs":"ballerina-api-docs-2201.6.1.zip",
"release-notes":"ballerina-release-notes-2201.6.1.md"
},
{
"version":"2201.6.2",
"short-version":"2201.6.2",
"display-version":"2201.6.2 (Swan Lake Update 6)",
"release-date":"2023-11-02",
"windows-installer":"ballerina-2201.6.2-swan-lake-windows-x64.msi",
"windows-installer-size":"188mb",
"linux-installer":"ballerina-2201.6.2-swan-lake-linux-x64.deb",
"linux-installer-size":"207mb",
"macos-installer":"ballerina-2201.6.2-swan-lake-macos-x64.pkg",
"macos-installer-size":"248mb",
"macos-arm-installer":"ballerina-2201.6.2-swan-lake-macos-arm-x64.pkg",
"macos-arm-installer-size":"247mb",
"rpm-installer":"ballerina-2201.6.2-swan-lake-linux-x64.rpm",
"rpm-installer-size":"251mb",
"other-artefacts":[
"ballerina-2201.6.2-swan-lake.zip"
],
"api-docs":"ballerina-api-docs-2201.6.2.zip",
"release-notes":"ballerina-release-notes-2201.6.2.md"
},
{
"version":"2201.6.3",
"short-version":"2201.6.3",
"display-version":"2201.6.3 (Swan Lake Update 6)",
"release-date":"2023-11-05",
"windows-installer":"ballerina-2201.6.3-swan-lake-windows-x64.msi",
"windows-installer-size":"186mb",
"linux-installer":"ballerina-2201.6.3-swan-lake-linux-x64.deb",
"linux-installer-size":"207mb",
"macos-installer":"ballerina-2201.6.3-swan-lake-macos-x64.pkg",
"macos-installer-size":"248mb",
"macos-arm-installer":"ballerina-2201.6.3-swan-lake-macos-arm-x64.pkg",
"macos-arm-installer-size":"247mb",
"rpm-installer":"ballerina-2201.6.3-swan-lake-linux-x64.rpm",
"rpm-installer-size":"251mb",
"other-artefacts":[
"ballerina-2201.6.3-swan-lake.zip"
],
"api-docs":"ballerina-api-docs-2201.6.3.zip",
"release-notes":"ballerina-release-notes-2201.6.3.md"
},
{
"version":"2201.7.0",
"short-version":"2201.7.0",
Expand Down
38 changes: 20 additions & 18 deletions community/proposals/active-proposals.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,27 @@ permalink: /community/active-proposals
|---|----|----|----|---|
|[[Proposal] Mesos Deploy Support](https://github.com/ballerina-platform/module-ballerina-c2c/issues/431)|[BERA](https://github.com/BERA)|1|2018-07-21|N/A|

## [ballerina-standard-library](https://github.com/ballerina-platform/ballerina-standard-library)
## [ballerina-library](https://github.com/ballerina-platform/ballerina-library)

|Proposal|Author|Comments|Created date|Status|
|---|----|----|----|---|
|[Proposal: Map Ballerina HATEOAS Links to OpenAPI Specification](https://github.com/ballerina-platform/ballerina-standard-library/issues/5087)|[SachinAkash01](https://github.com/SachinAkash01)|0|2023-10-25|N/A|
|[Proposal: Ballerina GraphQL Schema Registry](https://github.com/ballerina-platform/ballerina-standard-library/issues/4820)|[zetcco](https://github.com/zetcco)|0|2023-09-19|Active|
|[Proposal: Map Ballerina Constraints to OpenAPI Specification](https://github.com/ballerina-platform/ballerina-standard-library/issues/4788)|[SachinAkash01](https://github.com/SachinAkash01)|1|2023-09-08|Active|
|[[Proposal] Relax error handling in HTTP](https://github.com/ballerina-platform/ballerina-standard-library/issues/4646)|[shafreenAnfar](https://github.com/shafreenAnfar)|2|2023-07-07|Accepted|
|[[Proposal] Decoupling GraphQL API development from API design](https://github.com/ballerina-platform/ballerina-standard-library/issues/4620)|[shafreenAnfar](https://github.com/shafreenAnfar)|3|2023-06-27|Active|
|[Proposal: GraphQL Custom Executable Directives](https://github.com/ballerina-platform/ballerina-standard-library/issues/4327)|[MohamedSabthar](https://github.com/MohamedSabthar)|0|2023-04-11|Draft|
|[Proposal: Introduce a new config to enable/disable deriving data source configs from connection configs](https://github.com/ballerina-platform/ballerina-standard-library/issues/4279)|[kalaiyarasiganeshalingam](https://github.com/kalaiyarasiganeshalingam)|2|2023-03-29|Active|
|[Proposal: Introduce a new API to execute batch queries into multiple batches](https://github.com/ballerina-platform/ballerina-standard-library/issues/4141)|[kalaiyarasiganeshalingam](https://github.com/kalaiyarasiganeshalingam)|4|2023-03-01|Active|
|[Proposal: Introduce `bal protoc` command to generate source code from .proto files](https://github.com/ballerina-platform/ballerina-standard-library/issues/3778)|[MadhukaHarith92](https://github.com/MadhukaHarith92)|6|2022-12-05|Active|
|[[Proposal] Dispatching to custom remote functions based on the message type](https://github.com/ballerina-platform/ballerina-standard-library/issues/3670)|[Bhashinee](https://github.com/Bhashinee)|10|2022-11-18|Implemented|
|[Proposal: GraphQL client subscription support](https://github.com/ballerina-platform/ballerina-standard-library/issues/3560)|[MohamedSabthar](https://github.com/MohamedSabthar)|5|2022-10-27|N/A|
|[Proposal: Introduce a new API to wait until a given scheduled job is completed ](https://github.com/ballerina-platform/ballerina-standard-library/issues/3018)|[kalaiyarasiganeshalingam](https://github.com/kalaiyarasiganeshalingam)|0|2022-06-20|Active|
|[Proposal: Ballerina Constraint Package](https://github.com/ballerina-platform/ballerina-standard-library/issues/2850)|[ldclakmal](https://github.com/ldclakmal)|22|2022-04-20|Accepted|
|[Proposal: VSCode command to download OpenAPI specification](https://github.com/ballerina-platform/ballerina-standard-library/issues/2509)|[shafreenAnfar](https://github.com/shafreenAnfar)|0|2021-12-20|Draft|
|[Proposal: Ballerina VSCode try-out plugin for REST APIs](https://github.com/ballerina-platform/ballerina-standard-library/issues/2508)|[shafreenAnfar](https://github.com/shafreenAnfar)|0|2021-12-19|Draft|
|[Proposal: `continue` action for HTTP Client API](https://github.com/ballerina-platform/ballerina-standard-library/issues/2038)|[ayeshLK](https://github.com/ayeshLK)|4|2021-10-12|Active|
|[Proposal: xDS API Support for gRPC](https://github.com/ballerina-platform/ballerina-standard-library/issues/2011)|[BuddhiWathsala](https://github.com/BuddhiWathsala)|2|2021-10-06|Draft|
|[Data mapping ballerna openapi extension](https://github.com/ballerina-platform/ballerina-library/issues/5742)|[niveathika](https://github.com/niveathika)|1|2023-11-08|Draft|
|[Add new APIs to support read/write file operations for ndjson format](https://github.com/ballerina-platform/ballerina-library/issues/5099)|[daneshk](https://github.com/daneshk)|2|2023-10-27|Draft|
|[Proposal: Map Ballerina HATEOAS Links to OpenAPI Specification](https://github.com/ballerina-platform/ballerina-library/issues/5087)|[SachinAkash01](https://github.com/SachinAkash01)|6|2023-10-25|N/A|
|[Proposal: Ballerina GraphQL Schema Registry](https://github.com/ballerina-platform/ballerina-library/issues/4820)|[zetcco](https://github.com/zetcco)|0|2023-09-19|Active|
|[Proposal: Map Ballerina Constraints to OpenAPI Specification](https://github.com/ballerina-platform/ballerina-library/issues/4788)|[SachinAkash01](https://github.com/SachinAkash01)|1|2023-09-08|Active|
|[[Proposal] Relax error handling in HTTP](https://github.com/ballerina-platform/ballerina-library/issues/4646)|[shafreenAnfar](https://github.com/shafreenAnfar)|2|2023-07-07|Accepted|
|[[Proposal] Decoupling GraphQL API development from API design](https://github.com/ballerina-platform/ballerina-library/issues/4620)|[shafreenAnfar](https://github.com/shafreenAnfar)|3|2023-06-27|Active|
|[Proposal: GraphQL Custom Executable Directives](https://github.com/ballerina-platform/ballerina-library/issues/4327)|[MohamedSabthar](https://github.com/MohamedSabthar)|0|2023-04-11|Draft|
|[Proposal: Introduce a new config to enable/disable deriving data source configs from connection configs](https://github.com/ballerina-platform/ballerina-library/issues/4279)|[kalaiyarasiganeshalingam](https://github.com/kalaiyarasiganeshalingam)|2|2023-03-29|Active|
|[Proposal: Introduce a new API to execute batch queries into multiple batches](https://github.com/ballerina-platform/ballerina-library/issues/4141)|[kalaiyarasiganeshalingam](https://github.com/kalaiyarasiganeshalingam)|4|2023-03-01|Active|
|[Proposal: Introduce `bal protoc` command to generate source code from .proto files](https://github.com/ballerina-platform/ballerina-library/issues/3778)|[MadhukaHarith92](https://github.com/MadhukaHarith92)|6|2022-12-05|Active|
|[[Proposal] Dispatching to custom remote functions based on the message type](https://github.com/ballerina-platform/ballerina-library/issues/3670)|[Bhashinee](https://github.com/Bhashinee)|10|2022-11-18|Implemented|
|[Proposal: GraphQL client subscription support](https://github.com/ballerina-platform/ballerina-library/issues/3560)|[MohamedSabthar](https://github.com/MohamedSabthar)|5|2022-10-27|N/A|
|[Proposal: Introduce a new API to wait until a given scheduled job is completed ](https://github.com/ballerina-platform/ballerina-library/issues/3018)|[kalaiyarasiganeshalingam](https://github.com/kalaiyarasiganeshalingam)|0|2022-06-20|Active|
|[Proposal: Ballerina Constraint Package](https://github.com/ballerina-platform/ballerina-library/issues/2850)|[ldclakmal](https://github.com/ldclakmal)|22|2022-04-20|Accepted|
|[Proposal: VSCode command to download OpenAPI specification](https://github.com/ballerina-platform/ballerina-library/issues/2509)|[shafreenAnfar](https://github.com/shafreenAnfar)|0|2021-12-20|Draft|
|[Proposal: Ballerina VSCode try-out plugin for REST APIs](https://github.com/ballerina-platform/ballerina-library/issues/2508)|[shafreenAnfar](https://github.com/shafreenAnfar)|0|2021-12-19|Draft|
|[Proposal: `continue` action for HTTP Client API](https://github.com/ballerina-platform/ballerina-library/issues/2038)|[ayeshLK](https://github.com/ayeshLK)|4|2021-10-12|Active|
|[Proposal: xDS API Support for gRPC](https://github.com/ballerina-platform/ballerina-library/issues/2011)|[BuddhiWathsala](https://github.com/BuddhiWathsala)|2|2021-10-06|Draft|

97 changes: 97 additions & 0 deletions components/common/heading/RenderHeading.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
/**
* Copyright (c) 2023, WSO2 LLC (http://www.wso2.com) All Rights Reserved.
*
* WSO2 LLC licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

import React from "react";

// Add id attributes to headings
const extractText = (value) => {
if (typeof value === "string") {
return value;
} else {
return value.props.children;
}
};

const scanArray = (array) => {
const newArray = array.map(extractText);
let newId = newArray
.join("")
.replace(/[&\/\\#,+()!$~%.'’":*?<>{}]/g, "")
.toLowerCase();
newId = newId.replace(/ /g, "-");
return newId;
};

const getLink = (element, id) => {
if (element.tagName.toLowerCase() === "path") element = element.parentElement;

const elementNodeList = document.querySelectorAll(`#${id}`);
const elementArray = Array.prototype.slice.call(elementNodeList);
const count = elementArray.indexOf(element.parentElement);

if (count === 0) {
location.hash = `#${id}`;
} else {
location.hash = `#${id}-${count}`;
}

navigator.clipboard.writeText(window.location.href);
element.parentElement.scrollIntoView();
};

function Heading(level, children, setShowToc) {
const id =
Array.isArray(children) && children.length === 1
? children[0]
.toLowerCase()
.replace(/[&\/\\#,+()!$~%.'’":*?<>{}]/g, "")
.replace(/ /g, "-")
: scanArray(children);

setShowToc(true);

const handleLinkClick = (e) => getLink(e.target, id);

return React.createElement(
`h${level}`,
{ id, "data-section": id, className: "section" },
React.createElement(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: "30",
height: "30",
fill: "currentColor",
className: "bi bi-link-45deg mdButton pe-2",
viewBox: "0 0 16 16",
onClick: handleLinkClick,
},
React.createElement("path", {
d: "M4.715 6.542 3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.002 1.002 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z",
}),
React.createElement("path", {
d: "M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 1 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 1 0-4.243-4.243L6.586 4.672z",
})
),
children
);
}

export default function GenerateHeadingComponent(level, setShowToc) {
return ({ children }) => Heading(level, children, setShowToc);
}
Loading

0 comments on commit 93db68c

Please sign in to comment.