-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prepare 5.0.0 release #83
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
initial move of code from js-client-sdk-private
use spread operator instead of Object.assign
add event capacity config property
re-add deprecation comment on samplingInterval
better config validation
remove unused Rollup plugins, update dependencies
(1) use new test helpers + misc test cleanup
…extkeys-logic [sc-177798] Export getcontextkeys logic
…finiton-of-getcontextkeys [sc-177975] Export type definiton of getContextKeys
…dk-for-u2c-release [sc-178313] Replace instances of user for release
[sc-178324] Merge u2c changes for major release
yusinto
approved these changes
Nov 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[5.0.0] - 2022-11-30
This major version release of
js-sdk-common
corresponds to the upcoming releases of thejs-client-sdk
v3 andreact-client-sdk
v3, and cannot be used with earlier SDK versions.Added:
LDUser
now operate onLDContext
.Changed:
LDClient.getUser
has been replaced withLDClient.getContext
.privateAttributeNames
has been replaced withprivateAttributes
. Private attributes now allow using attribute references, which allow for marking nodes in nested JSON private.Removed:
alias
method has been removed fromLDClient
.secondary
attribute has been removed fromLDUser
. If a secondary attribute is included in a context, then it is a normal attribute that can be used in rule evaluation, but it will not affect bucketing.allowFrequentDuplicateEvents
has been removed fromLDOptions
. This had been deprecated in a previous version. The default behavior is as if this option had been set to true.autoAliasingOptOut
has been removed fromLDOptions
. This functionality has been superseded by multi-context support.inlineUsersInEvents
has been removed fromLDOptions
. Changes associated with contexts has removed the needed for this option.Deprecated:
LDUser
object has been deprecated. Support forLDUser
is maintained to simplify the upgrade process, but it is recommended to useLDContext
in the shape of eitherLDSingleKindContext
orLDMultiKindContext
.