8000 [FSSDK-9987] chore: prep for 5.0.1 by mikechu-optimizely · Pull Request #903 · optimizely/javascript-sdk · GitHub
[go: up one dir, main page]

Skip to content

[FSSDK-9987] chore: prep for 5.0.1 #903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
10000 Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [5.0.1] - February 20, 2024

### Bug fixes
- Improved conditional ODP instantiation when `odpOptions.disabled: true` is used ([#902](https://github.com/optimizely/javascript-sdk/pull/902))

### Changed
- Updated Dependabot alerts ([#896](https://github.com/optimizely/javascript-sdk/pull/896))
- Updated several devDependencies ([#898](https://github.com/optimizely/javascript-sdk/pull/898), [#900](https://github.com/optimizely/javascript-sdk/pull/900), [#901](https://github.com/optimizely/javascript-sdk/pull/901))


## [5.0.0] - January 19, 2024

### New Features
Expand Down
2 changes: 1 addition & 1 deletion lib/index.browser.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe('javascript-sdk (Browser)', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.0.0');
assert.equal(optlyInstance.clientVersion, '5.0.1');
});

it('should set the JavaScript client engine and version', function() {
Expand Down
4 changes: 2 additions & 2 deletions lib/index.lite.tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2021-2023 Optimizely
* Copyright 2021-2024 Optimizely
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -76,7 +76,7 @@ describe('optimizelyFactory', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.0.0');
assert.equal(optlyInstance.clientVersion, '5.0.1');
});
});
});
Expand Down
4 changes: 2 additions & 2 deletions lib/index.node.tests.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2016-2020, 2022-2023 Optimizely
* Copyright 2016-2020, 2022-2024 Optimizely
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -90,7 +90,7 @@ describe('optimizelyFactory', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.0.0');
assert.equal(optlyInstance.clientVersion, '5.0.1');
});

describe('event processor configuration', function() {
Expand Down
6 changes: 3 additions & 3 deletions lib/utils/enums/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/****************************************************************************
* Copyright 2016-2023, Optimizely, Inc. and contributors *
* Copyright 2016-2024 Optimizely, Inc. and contributors *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. *
Expand Down Expand Up @@ -223,8 +223,8 @@ export const NODE_CLIENT_ENGINE = 'node-sdk';
export const REACT_CLIENT_ENGINE = 'react-sdk';
export const REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk';
export const REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk';
export const BROWSER_CLIENT_VERSION = '5.0.0';
export const NODE_CLIENT_VERSION = '5.0.0';
export const BROWSER_CLIENT_VERSION = '5.0.1';
export const NODE_CLIENT_VERSION = '5.0.1';

export const DECISION_NOTIFICATION_TYPES = {
AB_TEST: 'ab-test',
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@optimizely/optimizely-sdk",
"version": "5.0.0",
"version": "5.0.1",
"description": "JavaScript SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts",
"module": "dist/optimizely.browser.es.js",
"main": "dist/optimizely.node.min.js",
Expand Down
4 changes: 2 additions & 2 deletions tests/index.react_native.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019-2020, 2022-2023 Optimizely
* Copyright 2019-2020, 2022-2024 Optimizely
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -90,7 +90,7 @@ describe('javascript-sdk/react-native', () => {

expect(optlyInstance).toBeInstanceOf(Optimizely);
// @ts-ignore
expect(optlyInstance.clientVersion).toEqual('5.0.0');
expect(optlyInstance.clientVersion).toEqual('5.0.1');
});

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