From 145ddc3a6f63a504d2ae3440b1053e058c49a341 Mon Sep 17 00:00:00 2001 From: Mike Chu <104384559+mikechu-optimizely@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:33:03 -0500 Subject: [PATCH] [FSSDK-9623] chore: prep 3.0.1 release (#243) * chore: bump React SDK version * docs: update CHANGELOG * docs: update copyright year --------- Co-authored-by: Mike Chu --- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/client.spec.ts | 4 ++-- src/client.ts | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c2ef67..322d2b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [3.0.1] - February 27, 2024 + +### Changed +- Updated `@optimizely/optimizely-sdk` to version `5.0.1` ([#242](https://github.com/optimizely/react-sdk/pull/242)) +- Updated Dependabot alerts ([#239](https://github.com/optimizely/react-sdk/pull/239), [#241](https://github.com/optimizely/react-sdk/pull/241)) + ## [3.0.0] - January 24, 2024 ### New Features diff --git a/package.json b/package.json index 51d27cc..4043c0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/react-sdk", - "version": "3.0.0", + "version": "3.0.1", "description": "React SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts", "homepage": "https://github.com/optimizely/react-sdk", "repository": "https://github.com/optimizely/react-sdk", diff --git a/src/client.spec.ts b/src/client.spec.ts index b1a79c9..6db3c8f 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -1,5 +1,5 @@ /** - * Copyright 2019-2023, Optimizely + * Copyright 2019-2024, Optimizely * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,7 +123,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '3.0.0', + clientVersion: '3.0.1', }); }); diff --git a/src/client.ts b/src/client.ts index 5e7dc70..008df57 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,5 +1,5 @@ /** - * Copyright 2019-2023, Optimizely + * Copyright 2019-2024, Optimizely * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,7 +43,7 @@ export interface OnReadyResult extends ResolveResult { } const REACT_SDK_CLIENT_ENGINE = 'react-sdk'; -const REACT_SDK_CLIENT_VERSION = '3.0.0'; +const REACT_SDK_CLIENT_VERSION = '3.0.1'; export const DefaultUser: UserInfo = { id: null,