Skip to content

Commit

Permalink
[FSSDK-9623] chore: prep 3.0.1 release (#243)
Browse files Browse the repository at this point in the history
* chore: bump React SDK version

* docs: update CHANGELOG

* docs: update copyright year

---------

Co-authored-by: Mike Chu <[email protected]>
  • Loading branch information
mikechu-optimizely and Mike Chu authored Feb 27, 2024
1 parent 3f443a9 commit 145ddc3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/client.spec.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -123,7 +123,7 @@ describe('ReactSDKClient', () => {
expect(createInstanceSpy).toBeCalledWith({
...config,
clientEngine: 'react-sdk',
clientVersion: '3.0.0',
clientVersion: '3.0.1',
});
});

Expand Down
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 145ddc3

Please sign in to comment.