Skip to content
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [3.3.0] - Oct 13, 2025

### New Features
- Added `customHeaders` option to `datafileOptions` for passing custom HTTP headers in datafile requests.

### Bug Fixes
- Fix the EventTags type to allow event properties.
- Fix typo in event.experimentIds field in project config.

## [3.2.4] - May 15, 2025
### Bug fixes
- `client.onReady()` always returns false when ODP is off and user id is null bug fix.([#302](https://github.com/optimizely/react-sdk/pull/285))
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@optimizely/react-sdk",
"version": "3.2.4",
"version": "3.3.0",
"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 Expand Up @@ -41,7 +41,7 @@
]
},
"dependencies": {
"@optimizely/optimizely-sdk": "^5.3.4",
"@optimizely/optimizely-sdk": "^5.4.0",
"hoist-non-react-statics": "^3.3.2"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe('ReactSDKClient', () => {
expect(createInstanceSpy).toHaveBeenCalledWith({
...config,
clientEngine: 'react-sdk',
clientVersion: '3.2.4',
clientVersion: '3.3.0',
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export interface OnReadyResult extends ResolveResult {
}

const REACT_SDK_CLIENT_ENGINE = 'react-sdk';
const REACT_SDK_CLIENT_VERSION = '3.2.4';
const REACT_SDK_CLIENT_VERSION = '3.3.0';

export const DefaultUser: UserInfo = {
id: null,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -614,10 +614,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@optimizely/optimizely-sdk@^5.3.4":
version "5.3.4"
resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-5.3.4.tgz#3d5cb2848fba1783439b1ff25c74013c78d17364"
integrity sha512-N9BVFBoWY//cgrZu4dnUCXbbvFtx8bJURvsvQurCqdKn0pqAawDbWpm4mDTl8H3W5J4fXC5s+8xlDywiGHCY6Q==
"@optimizely/optimizely-sdk@^5.4.0":
version "5.4.0"
resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-5.4.0.tgz#6acfb5011faff881b519b9c5147ac733a52cdbfe"
integrity sha512-hqGGgBxYkHIgiiH6RAMU0pbbj1NXYYne3vAUMtyai8godTu9w+OLZcsIGZX8FjB2UnESOE3TLL4+szLkQzZ8yg==
dependencies:
decompress-response "^4.2.1"
json-schema "^0.4.0"
Expand Down