Skip to content

Commit b017b86

Browse files
Merge e896115 into c20678f
2 parents c20678f + e896115 commit b017b86

File tree

9 files changed

+16
-9
lines changed

9 files changed

+16
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish SDK to NPM
22

33
on:
44
release:
5-
types: [published, edited]
5+
types: [published]
66
workflow_dispatch: {}
77

88
jobs:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [5.4.1] - Dec 8, 2025
9+
10+
### Changed
11+
- Widen React Native peer dependency version ranges ([#1118](https://github.com/optimizely/javascript-sdk/pull/1118))
12+
- Improve notification center type definitions with strongly-typed listener payloads ([#1119](https://github.com/optimizely/javascript-sdk/pull/1119))
13+
14+
815
## [5.4.0] - Oct 13, 2025
916

1017
### New Features

lib/index.browser.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ describe('javascript-sdk (Browser)', function() {
193193
optlyInstance.onReady().catch(function() {});
194194

195195
assert.instanceOf(optlyInstance, Optimizely);
196-
assert.equal(optlyInstance.clientVersion, '5.4.0');
196+
assert.equal(optlyInstance.clientVersion, '5.4.1');
197197
});
198198

199199
it('should set the JavaScript client engine and version', function() {

lib/index.lite.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('optimizelyFactory', function() {
7676
optlyInstance.onReady().catch(function() {});
7777

7878
assert.instanceOf(optlyInstance, Optimizely);
79-
assert.equal(optlyInstance.clientVersion, '5.4.0');
79+
assert.equal(optlyInstance.clientVersion, '5.4.1');
8080
});
8181
});
8282
});

lib/index.node.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe('optimizelyFactory', function() {
9090
optlyInstance.onReady().catch(function() {});
9191

9292
assert.instanceOf(optlyInstance, Optimizely);
93-
assert.equal(optlyInstance.clientVersion, '5.4.0');
93+
assert.equal(optlyInstance.clientVersion, '5.4.1');
9494
});
9595

9696
describe('event processor configuration', function() {

lib/utils/enums/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export const NODE_CLIENT_ENGINE = 'node-sdk';
221221
export const REACT_CLIENT_ENGINE = 'react-sdk';
222222
export const REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk';
223223
export const REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk';
224-
export const CLIENT_VERSION ='5.4.0'
224+
export const CLIENT_VERSION ='5.4.1'
225225

226226
export const DECISION_NOTIFICATION_TYPES = {
227227
AB_TEST: 'ab-test',

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/optimizely-sdk",
3-
"version": "5.4.0",
3+
"version": "5.4.1",
44
"description": "JavaScript SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts",
55
"module": "dist/optimizely.browser.es.js",
66
"main": "dist/optimizely.node.min.js",

tests/index.react_native.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ describe('javascript-sdk/react-native', () => {
9393

9494
expect(optlyInstance).toBeInstanceOf(Optimizely);
9595
// @ts-ignore
96-
expect(optlyInstance.clientVersion).toEqual('5.4.0');
96+
expect(optlyInstance.clientVersion).toEqual('5.4.1');
9797
});
9898

9999
it('should set the React Native JS client engine and javascript SDK version', () => {

0 commit comments

Comments
 (0)