Skip to content
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: React Native SDK major release. #369

Merged
merged 15 commits into from
Feb 8, 2024

Conversation

yusinto
Copy link
Contributor

@yusinto yusinto commented Feb 8, 2024

This prepares for the React Native SDK major release as well as the release of common/client-sdk.

Copy link

This pull request has been linked to Shortcut Story #232775: Prep RN major release.

@@ -4,7 +4,7 @@
"type": "commonjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/shared/sdk-server",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a mistake and is fixed now.

@@ -25,7 +25,7 @@ export default class Configuration {

public readonly capacity = 100;
public readonly diagnosticRecordingInterval = 900;
public readonly flushInterval = 2;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Callout: I updated this to 30s because 2s seems too frequent. I double checked the iOS and Flutter SDKs also defaults to 30s.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the past web SDKs have been 2 seconds and mobile SDKs have been 30 seconds. Web SDKs are 2 seconds to hope to catch events due to the ephemeral nature of the browser.

This reminds me of something, which is flushing as the page closes. Which should be added to flutter. I will make a ticket.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I'll leave this as 30s now. When we implement the react sdk, I can override to 2s in the React SDK itself. Does that sound good?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@yusinto yusinto requested a review from kinyoklion February 8, 2024 17:21
@yusinto yusinto merged commit 1d5ca40 into main Feb 8, 2024
16 checks passed
@yusinto yusinto deleted the yus/sc-232775/prep-rn-major-release branch February 8, 2024 18:25
@github-actions github-actions bot mentioned this pull request Feb 8, 2024
yusinto added a commit that referenced this pull request Feb 8, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>js-client-sdk-common: 1.0.0</summary>

##
[1.0.0](js-client-sdk-common-v0.2.1...js-client-sdk-common-v1.0.0)
(2024-02-08)


### Features

* React Native SDK major release.
([#369](#369))
([1d5ca40](1d5ca40))
</details>

<details><summary>react-native-client-sdk: 10.0.0</summary>

##
[10.0.0](react-native-client-sdk-v0.2.1...react-native-client-sdk-v10.0.0)
(2024-02-08)


### Features

* React Native SDK major release.
([#369](#369))
([1d5ca40](1d5ca40))


### Bug Fixes

* Fix Detox e2e tests broken after 0.73 update.
([#366](#366))
([6349b98](6349b98))


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @launchdarkly/js-client-sdk-common bumped from 0.2.1 to 1.0.0
</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>
Co-authored-by: Yusinto Ngadiman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants