Skip to content

Commit

Permalink
Merge pull request #1514 from ballerina-platform/update-12
Browse files Browse the repository at this point in the history
[Update 12] Move SSL context creation to client initialization
  • Loading branch information
TharmiganK authored Feb 26, 2025
2 parents cd123e4 + 8d5db2d commit d8866bb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build-config/resources/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords = ["ws", "network", "bi-directional", "streaming", "service", "client"]
repository = "https://github.com/ballerina-platform/module-ballerina-websocket"
icon = "icon.png"
license = ["Apache-2.0"]
distribution = "2201.11.0"
distribution = "2201.12.0"

[platform.java21]
graalvmCompatible = true
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ This file contains all the notable changes done to the Ballerina WebSocket packa

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- [Move SSL context creation to the client initialization](https://github.com/ballerina-platform/ballerina-library/issues/1798)

## [2.13.1] - 2025-02-11

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.caching=true
group=io.ballerina.stdlib
version=2.13.2-SNAPSHOT
ballerinaLangVersion=2201.11.0
version=2.14.0-SNAPSHOT
ballerinaLangVersion=2201.12.0-20250221-092200-b3de4372
ballerinaTomlParserVersion=1.2.2
nettyVersion=4.1.118.Final
slf4jVersion=1.7.30
Expand Down Expand Up @@ -42,7 +42,7 @@ stdlibJwtVersion=2.14.0
stdlibOAuth2Version=2.13.0

# Level 05
stdlibHttpVersion=2.13.1
stdlibHttpVersion=2.14.0-20250226-085300-8348bec

# Ballerinax Observer
observeVersion=1.4.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static Object initEndpoint(Environment env, BObject wsSyncClient) {
populateRetryConnectorConfig(retryConfig, retryConnectorConfig);
wsSyncClient.addNativeData(WebSocketConstants.RETRY_CONFIG.toString(), retryConnectorConfig);
}
WebSocketClientConnector clientConnector = connectorFactory.createWsClientConnector(
WebSocketClientConnector clientConnector = connectorFactory.createWsClientConnectorWithSSL(
clientConnectorConfig);
wsSyncClient.addNativeData(WebSocketConstants.CONNECTOR_FACTORY, connectorFactory);
wsSyncClient.addNativeData(WebSocketConstants.CLIENT_CONNECTOR, clientConnector);
Expand Down

0 comments on commit d8866bb

Please sign in to comment.