-
Notifications
You must be signed in to change notification settings - Fork 18
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
feat!: Implement Migrations. Refactor for client SDKs. #293
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
… of createSafeLogger.
* Improved emitter design * Improved jest config * Added unit tests
Added Configuration class and options validation for js client common.
Co-authored-by: Yusinto Ngadiman <[email protected]>
Co-authored-by: Yusinto Ngadiman <[email protected]> resolves #285
Large pr but mostly trivial changes to import paths because mocks have been moved to its own private project `@launchdarkly/private-js-mocks`: * Refactored mocks to its own project `@launchdarkly/private-js-mocks`. * Better eslint rule for `no-unused-vars` to avoid disabling this rule sporadically.
CI failed because `yarn workspaces foreach -pR --topological-dev --from '@launchdarkly/xxx' run build`. This is because `topological-dev` instructs yarn to build all deps (prod & dev) prior to running build in the current workspace. Since `mocks` need types from `common` this fails. This pr adds a `build-types` command to common which gets run prior to mocks `build` command to ensure common types exist for mocks to be built successfully.
kinyoklion
changed the title
Feat/merge client and migrations
feat: Implement Migrations. Refactor for client SDKs.
Oct 3, 2023
kinyoklion
changed the title
feat: Implement Migrations. Refactor for client SDKs.
feat!: Implement Migrations. Refactor for client SDKs.
Oct 3, 2023
First attempt to implement an initial flag fetch followed by emitting events. I also added comments like this: ```tsx Dom api usage: xxx ``` There are three right now: fetch, btoa and EventTarget. I left comments in the code for react native how to deal with these. --------- Co-authored-by: LaunchDarklyReleaseBot <[email protected]> Co-authored-by: Ryan Lamb <[email protected]>
kinyoklion
requested review from
yusinto and
louis-launchdarkly
as code owners
October 11, 2023 23:10
louis-launchdarkly
approved these changes
Oct 11, 2023
Merged
Merged
yusinto
pushed a commit
that referenced
this pull request
Dec 27, 2023
🤖 I have created a release *beep* *boop* --- <details><summary>js-client-sdk-common: 0.1.0</summary> ## 0.1.0 (2023-12-27) ### ⚠ BREAKING CHANGES * Implement Migrations. Refactor for client SDKs. ([#293](#293)) ### Features * Implement Migrations. Refactor for client SDKs. ([#293](#293)) ([c66aa6e](c66aa6e)) </details> <details><summary>@launchdarkly/react-native-client-sdk: 0.1.1</summary> ### Dependencies </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
This contains the combined work for migrations as well as refactoring for client SDKs.
Individual commits were reviewed in their own PRs.