All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Removed
Promise
polyfill from browser entry point (417)
- Changed
track()
to log a warning instead of an error when the event isn't in the datafile (#418)
- Fixed default event dispatcher not used in React Native entry point (#383)
- Fixed errors in
getOptimizelyConfig
TypeScript type definitions (#406)
- Promise returned from
close
tracks the state of in-flight event dispatcher requests (#404)
- Added
getOptimizelyConfig
and related types to TypeScript type definitions(#390).
- Fixed incorrect payload for decision notification triggered by calling getVariation on a feature test in a mutex group(#375).
- Added a new API to get project configuration static data.
- Call
getOptimizelyConfig()
to get a snapshot of project configuration static data. - It returns an
OptimizelyConfig
instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values. - Added caching for
getOptimizelyConfig
-OptimizelyConfig
object will be cached and reused for the lifetime of the datafile. - For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-javascript-node.
- Call
- Removed support for
'launched'
experiment status- Previously, experiments with status
'running'
or'launched'
would return non-null
variations fromactivate
andgetVariation
, and generate impression events fromactivate
- Now, only
'running'
experiments will return non-null
variations and generate impressions
- Previously, experiments with status
- Fixed incorrect payload for decision notification triggered by calling getVariation on a feature test in a mutex group(#375)
- Added a new API to get a project configuration static data.
- Call
getOptimizelyConfig()
to get a snapshot copy of project configuration static data. - It returns an
OptimizelyConfig
instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values. - For details, refer to a documention page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-javascript-node
- Call
- Fixed error message that was being logged when a user was bucketed into empty space in an experiment or a mutual exclusion group. This is not an error. With the fix, the message indicates that the user was not included in any experiment (#366).
- Fixed full screen error dialog appearing in local development for React Native apps when using the default logger. We now provide a default logger for React Native that does not call
console.error
.
- Added support for event batching via the event processor.
- Events generated by methods like
activate
,track
, andisFeatureEnabled
will be held in a queue until the configured batch size is reached, or the configured flush interval has elapsed. Then, they will be combined into a request and sent to the event dispatcher. - To configure event batching, include the
eventBatchSize
andeventFlushInterval
number properties in the object you pass tocreateInstance
. - Event batching is enabled by default.
eventBatchSize
defaults to10
.eventFlushInterval
defaults to30000
in Node and1000
in browsers.
- Events generated by methods like
- Added
localStorage
mitigation against lost events in the browser- When event requests are dispatched, they are written to
localStorage
, and when a response is received, they are removed fromlocalStorage
. - When the SDK is initialized for the first time in the browser, if any requests remain in
localStorage
, they will be sent, and removed fromlocalStorage
when a response is received.
- When event requests are dispatched, they are written to
- Updated the
close
method to return aPromise
representing the process of closing the instance. Whenclose
is called, any events waiting to be sent as part of a batched event request will be immediately batched and sent to the event dispatcher.- If any such requests were sent to the event dispatcher,
close
returns aPromise
that fulfills after the event dispatcher calls the response callback for each request. Otherwise,close
returns an immediately-fulfilledPromise
. - The
Promise
returned fromclose
is fulfilled with a result object containingsuccess
(boolean) andreason
(string, only when success isfalse
) properties. In the result object,success
istrue
if all events in the queue at the time close was called were combined into requests, sent to the event dispatcher, and the event dispatcher called the callbacks for each request.success
is false if an unexpected error was encountered during the close process.
- If any such requests were sent to the event dispatcher,
- Added non-typed
getFeatureVariable
method (#298) as a more idiomatic approach to getting values of feature variables.- Typed
getFeatureVariable
methods will still be available for use.
- Typed
- Added support for event batching via the event processor.
- Events generated by methods like
activate
,track
, andisFeatureEnabled
will be held in a queue until the configured batch size is reached, or the configured flush interval has elapsed. Then, they will be combined into a request and sent to the event dispatcher. - To configure event batching, include the
eventBatchSize
andeventFlushInterval
number properties in the object you pass tocreateInstance
. - Event batching is enabled by default.
eventBatchSize
defaults to10
.eventFlushInterval
defaults to30000
in Node and1000
in browsers.
- Events generated by methods like
- Added
localStorage
mitigation against lost events in the browser- When event requests are dispatched, they are written to
localStorage
, and when a response is received, they are removed fromlocalStorage
. - When the SDK is initialized for the first time in the browser, if any requests remain in
localStorage
, they will be sent, and removed fromlocalStorage
when a response is received.
- When event requests are dispatched, they are written to
- Updated the
close
method to return aPromise
representing the process of closing the instance. Whenclose
is called, any events waiting to be sent as part of a batched event request will be immediately batched and sent to the event dispatcher.- If any such requests were sent to the event dispatcher,
close
returns aPromise
that fulfills after the event dispatcher calls the response callback for each request. Otherwise,close
returns an immediately-fulfilledPromise
. - The
Promise
returned fromclose
is fulfilled with a result object containingsuccess
(boolean) andreason
(string, only when success isfalse
) properties. In the result object,success
istrue
if all events in the queue at the time close was called were combined into requests, sent to the event dispatcher, and the event dispatcher called the callbacks for each request.success
is false if an unexpected error was encountered during the close process.
- If any such requests were sent to the event dispatcher,
- Added non-typed
getFeatureVariable
method (#298) as a more idiomatic approach to getting values of feature variables.- Typed
getFeatureVariable
methods will still be available for use.
- Typed
- Dont use pendingEventsDispatcher with user defined eventDispatcher (#289) Note: This was supposed to be released in 3.2.1 but did not make it into the release.
- Updated lodash dependency to ^4.17.11 to address security vulnerabilities (#296)
- Updated lodash dependency to ^4.17.11 to address security vulnerabilities (#296)
-
Added support for automatic datafile management (#261), (#266), (#267), (#268), (#270), (#272)
- To use automatic datafile management, include
sdkKey
as a string property in the options object you pass tocreateInstance
. - When sdkKey is provided, the SDK instance will download the datafile associated with that sdkKey immediately upon construction. When the download completes, the SDK instance will update itself to use the downloaded datafile.
- Use the
onReady
method to wait until the download is complete and the SDK is ready to use. - Customize datafile management behavior by passing a
datafileOptions
object within the options you pass tocreateInstance
.- Enable automatic updates by passing
autoUpdate: true
. Periodically (on the provided update interval), the SDK instance will download the datafile and update itself. Use this to ensure that the SDK instance is using a fresh datafile reflecting changes recently made to your experiment or feature configuration.
- Enable automatic updates by passing
- Add a notification listener for the
OPTIMIZELY_CONFIG_UPDATE
notification type to be notified when an instance updates its Optimizely config after obtaining a new datafile. - Stop active downloads and cancel recurring downloads by calling the
close
method
const optimizely = require('@optimizely/optimizely-sdk'); const optimizelyClientInstance = optimizely.createInstance({ sdkKey: '12345', // Provide the sdkKey of your desired environment here });
const optimizely = require('@optimizely/optimizely-sdk'); const optimizelyClientInstance = optimizely.createInstance({ sdkKey: '12345', }); optimizelyClientInstance.onReady().then(() => { // optimizelyClientInstance is ready to use, with datafile downloaded from the Optimizely CDN });
Enable automatic updates, add notification listener for OPTIMIZELY_CONFIG_UPDATE notification type, and stop automatic updates
const optimizely = require('@optimizely/optimizely-sdk'); const optimizelyClientInstance = optimizely.createInstance({ sdkKey: '12345', datafileOptions: { autoUpdate: true, updateInterval: 600000, // 10 minutes in milliseconds }, }); optimizelyClientInstance.notificationCenter.addNotificationListener( optimizely.enums.NOTIFICATION_TYPES.OPTIMIZELY_CONFIG_UPDATE, () => { // optimizelyClientInstance has updated its Optimizely config } ); // Stop automatic updates - optimizelyClientInstance will use whatever datafile it currently has from now on optimizelyClientInstance.close();
- To use automatic datafile management, include
- Forced variation logic has been moved from the project config module to the decision service. Prefixes for forced-variation-related log messages will reflect this change (#261).
- Update TypeScript definitions to account for new methods (
onReady
,close
) and new properties on object accepted by createInstance (datafileOptions
,sdkKey
), (#263), (#278) - Allow react-sdk to be passed in as
clientEngine
(#279)
- Add logging message for
optimizely.track()
(#281)
- Clear timeout created in onReady call for timeout promise as soon as project config manager's ready promise fulfills
- Added 60 second timeout for all datafile requests
- Updated datafile request polling behavior:
- Start update interval timer immediately after request
- When update interval timer fires during request, wait until request completes, then immediately start next request
- Update TypeScript definitions to account for new methods (
onReady
,close
) and new properties on object accepted by createInstance (datafileOptions
,sdkKey
)
- Added support for automatic datafile management
- To use automatic datafile management, include
sdkKey
as a string property in the options object you pass tocreateInstance
. - When sdkKey is provided, the SDK instance will download the datafile associated with that sdkKey immediately upon construction. When the download completes, the SDK instance will update itself to use the downloaded datafile.
- Use the
onReady
method to wait until the download is complete and the SDK is ready to use. - Customize datafile management behavior by passing a
datafileOptions
object within the options you pass tocreateInstance
.- Enable automatic updates by passing
autoUpdate: true
. Periodically (on the provided update interval), the SDK instance will download the datafile and update itself. Use this to ensure that the SDK instance is using a fresh datafile reflecting changes recently made to your experiment or feature configuration.
- Enable automatic updates by passing
- Add a notification listener for the
OPTIMIZELY_CONFIG_UPDATE
notification type to be notified when an instance updates its Optimizely config after obtaining a new datafile. - Stop active downloads and cancel pending downloads by calling the
close
method
- To use automatic datafile management, include
const optimizely = require('@optimizely/optimizely-sdk');
const optimizelyClientInstance = optimizely.createInstance({
sdkKey: '12345', // Provide the sdkKey of your desired environment here
});
const optimizely = require('@optimizely/optimizely-sdk');
const optimizelyClientInstance = optimizely.createInstance({
sdkKey: '12345',
});
optimizelyClientInstance.onReady().then(() => {
// optimizelyClientInstance is ready to use, with datafile downloaded from the Optimizely CDN
});
Enable automatic updates, add notification listener for OPTIMIZELY_CONFIG_UPDATE notification type, and stop automatic updates
const optimizely = require('@optimizely/optimizely-sdk');
const optimizelyClientInstance = optimizely.createInstance({
sdkKey: '12345',
datafileOptions: {
autoUpdate: true,
updateInterval: 600000, // 10 minutes in milliseconds
},
});
optimizelyClientInstance.notificationCenter.addNotificationListener(
optimizely.enums.NOTIFICATION_TYPES.OPTIMIZELY_CONFIG_UPDATE,
() => {
// optimizelyClientInstance has updated its Optimizely config
}
);
// Stop automatic updates - optimizelyClientInstance will use whatever datafile it currently has from now on
optimizelyClientInstance.close();
- Forced variation logic has been moved from the project config module to the decision service. Prefixes for forced-variation-related log messages will reflect this change.
- Introduced Decision notification listener to be able to record:
- Variation assignments for users activated in an experiment.
- Feature access for users.
- Feature variable value for users.
- New APIs for setting
logger
andlogLevel
on the optimizelySDK singleton (#232) logger
andlogLevel
are now set globally for all instances of Optimizely. If you were passing different loggers to individual instances of Optimizely, logging behavior may now be different.
var optimizelySDK = require('@optimizely/optimizely-sdk');
// logger and logLevel are now set on the optimizelySDK singleton
optimizelySDK.setLogger(optimizelySDK.logging.createLogger());
// valid levels: 'DEBUG', 'INFO', 'WARN', 'ERROR'
optimizelySDK.setLogLevel('WARN');
// enums can also be used
optimizelySDK.setLogLevel(optimizelySDK.enums.LOG_LEVEL.ERROR);
var optimizelySDK = require('@optimizely/optimizely-sdk');
optimizelySDK.setLogger(null);
- Feature variable APIs now return default variable value when featureEnabled property is false. (#249)
- Activate notification listener is deprecated as of this release. Recommendation is to use the new Decision notification listener. Activate notification listener will be removed in the next major release.
- New APIs for setting
logger
andlogLevel
on the optimizelySDK singleton (#232) logger
andlogLevel
are now set globally for all instances of Optimizely. If you were passing different loggers to individual instances of Optimizely, logging behavior may now be different.
var optimizelySDK = require('@optimizely/optimizely-sdk');
// logger and logLevel are now set on the optimizelySDK singleton
optimizelySDK.setLogger(optimizelySDK.logging.createLogger());
// valid levels: 'DEBUG', 'INFO', 'WARN', 'ERROR'
optimizelySDK.setLogLevel('WARN');
// enums can also be used
optimizelySDK.setLogLevel(optimizely.enums.LOG_LEVEL.ERROR);
var optimizelySDK = require('@optimizely/optimizely-sdk');
optimizelySDK.setLogger(null);
- Expose default
loggers
,errorHandlers
,eventDispatcher
andenums
on top level require. createLogger
andcreateNoOpLogger
are available as methods onoptimizelySdk.logging
- Added
optimizelySdk.errorHandler
- Added
optimizelySdk.eventDispatcher
- Added
optimizelySdk.enums
The 3.0 release improves event tracking and supports additional audience targeting functionality.
- Event tracking (#207):
- The
track
method now dispatches its conversion event unconditionally, without first determining whether the user is targeted by a known experiment that uses the event. This may increase outbound network traffic. - In Optimizely results, conversion events sent by 3.0 SDKs don't explicitly name the experiments and variations that are currently targeted to the user. Instead, conversions are automatically attributed to variations that the user has previously seen, as long as those variations were served via 3.0 SDKs or by other clients capable of automatic attribution, and as long as our backend actually received the impression events for those variations.
- Altogether, this allows you to track conversion events and attribute them to variations even when you don't know all of a user's attribute values, and even if the user's attribute values or the experiment's configuration have changed such that the user is no longer affected by the experiment. As a result, you may observe an increase in the conversion rate for previously-instrumented events. If that is undesirable, you can reset the results of previously-running experiments after upgrading to the 3.0 SDK.
- This will also allow you to attribute events to variations from other Optimizely projects in your account, even though those experiments don't appear in the same datafile.
- Note that for results segmentation in Optimizely results, the user attribute values from one event are automatically applied to all other events in the same session, as long as the events in question were actually received by our backend. This behavior was already in place and is not affected by the 3.0 release.
- The
- Support for all types of attribute values, not just strings (#174, #204).
- All values are passed through to notification listeners.
- Strings, booleans, and valid numbers are passed to the event dispatcher and can be used for Optimizely results segmentation. A valid number is a finite number in the inclusive range [-2⁵³, 2⁵³].
- Strings, booleans, and valid numbers are relevant for audience conditions.
- Support for additional matchers in audience conditions (#174):
- An
exists
matcher that passes if the user has a non-null value for the targeted user attribute and fails otherwise. - A
substring
matcher that resolves if the user has a string value for the targeted attribute. gt
(greater than) andlt
(less than) matchers that resolve if the user has a valid number value for the targeted attribute. A valid number is a finite number in the inclusive range [-2⁵³, 2⁵³].- The original (
exact
) matcher can now be used to target booleans and valid numbers, not just strings.
- An
- Support for A/B tests, feature tests, and feature rollouts whose audiences are combined using
"and"
and"not"
operators, not just the"or"
operator (#175) - Updated Pull Request template and commit message guidelines (#183).
- Support for sticky bucketing. You can pass an
$opt_experiment_bucket_map
attribute to ensure that the user gets a specific variation (#179). - Support for bucketing IDs when evaluating feature rollouts, not just when evaluating A/B tests and feature tests (#200).
- TypeScript declarations (#199).
- Conversion events sent by 3.0 SDKs don't explicitly name the experiments and variations that are currently targeted to the user, so these events are unattributed in raw events data export. You must use the new results export to determine the variations to which events have been attributed.
- Previously, notification listeners were only given string-valued user attributes because only strings could be passed into various method calls. That is no longer the case. You may pass non-string attribute values, and if you do, you must update your notification listeners to be able to receive whatever values you pass in (#174, #204).
- Drops
window.optimizelyClient
from the bundled build. Now,window.optimizelySdk
can be used instead. (#189).
- Experiments and features can no longer activate when a negatively targeted attribute has a missing, null, or malformed value (#174).
- Audience conditions (except for the new
exists
matcher) no longer resolve tofalse
when they fail to find an legitimate value for the targeted user attribute. The result remainsnull
(unknown). Therefore, an audience that negates such a condition (using the"not"
operator) can no longer resolve totrue
unless there is an unrelated branch in the condition tree that itself resolves totrue
.
- Audience conditions (except for the new
setForcedVariation
now treats an empty variation key as invalid and does not reset the variation (#185).- You can now specify
0
as therevenue
orvalue
for a conversion event when using thetrack
method. Previously,0
was withheld and would not appear in your data export (#213). - The existence of a feature test in an experimentation group no longer causes A/B tests in the same group to activate the same feature (#194).
- fix(bundling): Publish the unminified UMD bundle along with the minified one. (#187)
- Allow sticky bucketing via passing in
attributes.$opt_experiment_bucket_map
, this more easily allows customers to do some async data fetching and ensure a user gets a specific variation.
const userId = '123'
const expId = '456'
const variationId = '678'
const userAttributes = {
$opt_experiment_bucket_map: {
[expId]: {
variation_id: variationId
}
}
}
var selectedVariationKey = optimizelyClient.activate('experiment-1', userId, userAttributes);
- Track and activate should not remove null attributes (#168)
- Track attributes with valid attribute types (#166)
- Prevent SDK from initializing if the datafile version in invalid (#161)
- Updating lerna to latest version (#160)
- Change invalid experiment key to debug level (#165)
- Send all decisions for the same event in one snapshot. (#155)
- Give Node.js consumers the unbundled package (#133)
- The UMD build of the SDK now assigns the SDK namespace object to
window.optimizelySdk
rather than towindow.optimizelyClient
. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. (#152)
- Failure to log success message when event dispatched (#123)
- Fix: Don't call success message when event fails to send (#123)
- Failure to log success message when event dispatched (#123)
- Fix: Don't call success message when event fails to send (#123)
June 19, 2018
- Fix: send impression event for Feature Test with Feature disabled (#117)
June 19, 2018
- Fix: send impression event for Feature Test with Feature disabled (#117)
May 24, 2018
- Introduces support for bot filtering.
May 24, 2018
- Remove
request
dependency (#98) - Add package-lock.json (#100)
- Input validation in Activate, Track, and GetVariation methods (#91 by @mfahadahmed)
April 16th, 2018
- Improve browser entry point by pointing to the browser index file instead of the webpack-compiled bundle. (@DullReferenceException in #88)
April 11th, 2018
This major release of the Optimizely SDK introduces APIs for Feature Management. It also introduces some breaking changes listed below.
- Introduces the
isFeatureEnabled
API to determine whether to show a feature to a user or not.
var enabled = optimizelyClient.isFeatureEnabled('my_feature_key', 'user_1', userAttributes);
- You can also get all the enabled features for the user by calling the following method which returns a list of strings representing the feature keys:
var enabledFeatures = optimizelyClient.getEnabledFeatures('user_1', userAttributes);
- Introduces Feature Variables to configure or parameterize your feature. There are four variable types:
Integer
,String
,Double
,Boolean
.
var stringVariable = optimizelyClient.getFeatureVariableString('my_feature_key', 'string_variable_key', 'user_1');
var integerVariable = optimizelyClient.getFeatureVariableInteger('my_feature_key', 'integer_variable_key', 'user_1');
var doubleVariable = optimizelyClient.getFeatureVariableDouble('my_feature_key', 'double_variable_key', 'user_1');
var booleanVariable = optimizelyClient.getFeatureVariableBoolean('my_feature_key', 'boolean_variable_key', 'user_1');
- The
track
API with revenue value as a stand-alone parameter has been removed. The revenue value should be passed in as an entry of the event tags map. The key for the revenue tag isrevenue
and will be treated by Optimizely as the key for analyzing revenue data in results.
var eventTags = {
'revenue': 1200
};
optimizelyClient.track('event_key', 'user_id', userAttributes, eventTags);
- The package name has changed from
optimizely-client-sdk
tooptimizely-sdk
as we have consolidated both Node and JavaScript SDKs into one.
March 29th, 2018
This major release of the Optimizely SDK introduces APIs for Feature Management. It also introduces some breaking changes listed below.
- Introduces the
isFeatureEnabled
API to determine whether to show a feature to a user or not.
var enabled = optimizelyClient.isFeatureEnabled('my_feature_key', 'user_1', userAttributes);
- You can also get all the enabled features for the user by calling the following method which returns a list of strings representing the feature keys:
var enabledFeatures = optimizelyClient.getEnabledFeatures('user_1', userAttributes);
- Introduces Feature Variables to configure or parameterize your feature. There are four variable types:
Integer
,String
,Double
,Boolean
.
var stringVariable = optimizelyClient.getFeatureVariableString('my_feature_key', 'string_variable_key', 'user_1');
var integerVariable = optimizelyClient.getFeatureVariableInteger('my_feature_key', 'integer_variable_key', 'user_1');
var doubleVariable = optimizelyClient.getFeatureVariableDouble('my_feature_key', 'double_variable_key', 'user_1');
var booleanVariable = optimizelyClient.getFeatureVariableBoolean('my_feature_key', 'boolean_variable_key', 'user_1');
- The
track
API with revenue value as a stand-alone parameter has been removed. The revenue value should be passed in as an entry of the event tags map. The key for the revenue tag isrevenue
and will be treated by Optimizely as the key for analyzing revenue data in results.
var eventTags = {
'revenue': 1200
};
optimizelyClient.track('event_key', 'user_id', userAttributes, eventTags);
- The package name has changed from
optimizely-client-sdk
tooptimizely-sdk
as we have consolidated both Node and JavaScript SDKs into one.
- Bump optimizely-server-sdk to version 1.5.0, which includes:
- Implemented IP anonymization.
- Implemented bucketing IDs.
- Implemented notification listeners.
- Bump optimizely-server-sdk to version 1.4.2, which includes:
- Bug fix to filter out undefined values in attributes and event tags
- Remove a duplicated test
- Bump optimizely-server-sdk to version 1.4.0, which includes:
- Add support for numeric metrics.
- Add getForcedVariation and setForcedVariation methods for client-side variation setting
- Bug fix for filtering out null attribute and event tag values
- Default skipJSONValidation to true
- Bump optimizely-server-sdk to version 1.3.3, which includes:
- Removed JSON Schema Validator from Optimizely constructor
- Updated SDK to use new event endpoint
- Minor bug fixes
- Minor performance improvements.
- Switched to karma/browserstack for cross-browser testing
- Removed es6-promise
- Bump optimizely-server-sdk to version 1.3.1, which includes:
- Minor performance improvements.
- Reduce lodash footprint.
- Bump optimizely-server-sdk to version 1.3.0, which includes:
- Introduced user profile service.
- Minor performance and readibility improvements.
- Bump optimizely-server-sdk to version 1.2.3, which includes:
- Switched to json-schema library which has a smaller footprint.
- Refactored order of bucketing logic.
- Refactor lodash dependencies.
- Fixed error on validation for objects with undefined values for attributes.
- Bump optimizely-server-sdk to version 1.2.2, which includes:
- Use the 'name' field for tracking event tags instead of 'id'.
- Include index.js in package.json files to make sure it gets published regardless of node environment.
- Bump to 1.3.2 to re-publish to npm
- Bump optimizely-server-sdk to version 1.2.1, which includes:
- Gracefully handle empty traffic allocation ranges.
- Bump optimizely-server-sdk to version 1.2.0, which includes:
- Introduce support for event tags.
- Add optional eventTags argument to track method signature.
- Removed optional eventValue argument from track method signature.
- Removed optional sessionId argument from activate and track method signatures.
- Allow log level config on createInstance method.
- Remove .npmignore to consolidate with .gitignore.
- Add dist and lib directories to "files" in package.json.
- Fix webpack build error.
- Bump optimizely-server-sdk to version 1.1.0, which includes:
- Add optional sessionId argument to activate and track method signatures.
- Add sessionId and revision to event ticket.
- Add 'Launched' status where user gets bucketed but event is not sent to Optimizely.
- Bump to optimizely-server-sdk to version 1.0.1, which includes:
- Fix bug so conversion event is not sent if user is not bucketed into any experiment.
- Bump bluebird version from 3.3.5 to 3.4.6.
- Update event endpoint from p13nlog.dz.optimizely to logx.optimizely.
- Add global variable name export for use in non-CommonJS environments
- Remove redundant lodash core dependency to reduce bundle bloat
- Introduce support for Full Stack projects in Optimizely X with no breaking changes from previous version.
- Introduce more graceful exception handling in instantiation and core methods.
- Update whitelisting to take precedence over audience condition evaluation.
- Fix bug activating/tracking with attributes not in the datafile.
- Add functionality for New Optimizely endpoint.
- Add environment detection to event builder so it can distinguish between events sent from node or the browser.
- Add CORS param to prevent browsers from logging cors errors in the console when dispatching events.
- Remove percentageIncluded field from JSON schema, which is not needed.
- Beta release of the Javascript SDK for our Optimizely testing solution