-
Notifications
You must be signed in to change notification settings - Fork 70
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 3.0.0 release #165
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
…s are added by the wrapper
# Conflicts: # package-lock.json # package.json # src/initLDClient.test.ts # src/initLDClient.ts
[ch59533] Fix package build logic when setting wrapper version
# Conflicts: # package-lock.json # package.json
…-from-unit-test Update withLDProvider.test.tsx
* Add tests for the LDProvider * Add LDProvider component * Add LDProvider to main export * Update provider tests * Remove unused EnhancedComponent * Abstract function to generate react options * add waitForUserToInitializeClient flag to Provider * rename to LDProvider.tsx * fix tests * remove async from componentDidMount * fixes from CR * add test * cleanup * update types for componentDidUpdate * await initLDClient Co-authored-by: Nicholas Mitchell <[email protected]> Co-authored-by: Martin Heller <[email protected]>
…-flag-evaluation-events-on-flag Flag evaluation events on flag read
…rors-in-react-sdk
…d-client-init-errors-in-react-sdk Add error hook
…act-sdk-releaser-config Update releaser config
* Update js sdk version to prerelease * Renamed LDContext to ReactSdkContext * Added context to provider config. Replaced LDUser with context in init client function. Deprecated user prop in provider config. * Added getContextOrUser helper function. Replaced user props with getContextOrUser function. * Update js sdk to v3 alpha 2 to fix messages error * Replaced LDUser with LDContext. Added kind prop to test cases. * Update circleci node image version * Renamed wording "user" to "context". Added more test cases for provider. * Added more unit tests to cover backwards compatibility and new context. Renamed user to context in test data and comments. * Force async example to use js sdk alpha version * Update package.json * Add manual resolution for acorn to make webpack 4 work with optional chaining. Add context to init code. * [sc-177377] Update js dep to alpha3 * Update alpha packages * Removed redundant null coalescence. Added more unit tests for getContextOrUser. * Update package.json * Remove un-used import * Minor comment fixes * Removed unnecessary context arg in example init * Update app.js * Set default context kind to user * Create CODEOWNERS Co-authored-by: Yusinto Ngadiman <[email protected]>
* [sc-178466] Fix native function proxy errors * Added unit tests. * Fix ts any error * Update getFlagsProxy.test.ts Co-authored-by: Yusinto Ngadiman <[email protected]>
Co-authored-by: Yusinto Ngadiman <[email protected]>
kinyoklion
approved these changes
Dec 7, 2022
louis-launchdarkly
approved these changes
Dec 7, 2022
@@ -27,7 +27,7 @@ | |||
"dependencies": { | |||
"@babel/polyfill": "^7.2.5", | |||
"express": "^4.16.4", | |||
"launchdarkly-react-client-sdk": "^2.22.1", | |||
"launchdarkly-react-client-sdk": "^3.0.0-alpha.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need to update this once 3.0.0 become public.
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.
[3.0.0] - 2022-12-07
The latest version of this SDK supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." For more information please read the JavaScript SDK's latest release notes.
For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the migration guide.
Added:
context
provider configuration option has been added.Fixed:
Deprecated:
user
provider configuration option has been deprecated. Please usecontext
instead.