You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
8
+
## [6.0.0] - May 29, 2025
9
+
10
+
### Breaking Changes
11
+
12
+
- Modularized SDK architecture: The monolithic `createInstance` call has been split into multiple factory functions for greater flexibility and control.
13
+
- Core functionalities (project configuration, event processing, ODP, VUID, logging, and error handling) are now configured through dedicated components created via factory functions, giving you greater flexibility and control in enabling/disabling certain components and allowing optimizing the bundle size for frontend projects.
14
+
-`onReady` Promise behavior changed: It now resolves only when the SDK is ready and rejects on initialization errors.
15
+
- event processing is disabled by default and must be explicitly enabled by passing a `eventProcessor` to the client.
16
+
- Event dispatcher interface updated to use Promises instead of callbacks.
17
+
- Logging is disabled by default and must be explicitly enabled using a logger created via a factory function.
18
+
- VUID tracking is disabled by default and must be explicitly enabled by passing a `vuidManager` to the client instance.
19
+
- ODP functionality is no longer enabled by default. You must explicitly pass an `odpManager` to enable it.
20
+
- Dropped support for older browser versions and Node.js versions earlier than 18.0.0.
21
+
22
+
### New Features
23
+
- Added support for async user profile service and async decide methods (see dcoumentation for [User Profile Service](https://docs.developers.optimizely.com/feature-experimentation/docs/implement-a-user-profile-service-for-the-javascript-sdk) and [Decide methods](https://docs.developers.optimizely.com/feature-experimentation/docs/decide-methods-for-the-javascript-sdk))
24
+
25
+
### Migration Guide
26
+
27
+
For detailed migration instructions, refer to the [Migration Guide](MIGRATION.md).
28
+
29
+
### Documentation
30
+
31
+
For more details, see the official documentation: [JavaScript SDK](https://docs.developers.optimizely.com/feature-experimentation/docs/javascript-sdk).
Copy file name to clipboardExpand all lines: MIGRATION.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This guide will help you migrate your implementation from Optimizely JavaScript
21
21
In v6, the SDK architecture has been modularized to give you more control over different components:
22
22
23
23
- The monolithic `createInstance` call is now split into multiple factory functions
24
-
- Core functionality (project configuration, event processing, ODP, VUID, logging, and error handling) is now configured through dedicated components created via factory functions, giving you greater flexibility and control in enabling/disabling certain components and allowing optimizing the bundle size for frontend projects.
24
+
- Core functionalities (project configuration, event processing, ODP, VUID, logging, and error handling) are now configured through dedicated components created via factory functions, giving you greater flexibility and control in enabling/disabling certain components and allowing optimizing the bundle size for frontend projects.
25
25
- Event dispatcher interface has been updated to use Promises
0 commit comments