Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
havenbarnes committed Dec 4, 2024
1 parent 70c56b4 commit 7328942
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions posthog-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# 3.6.0 - 2024-12-04

1. Add new debugging property `$feature_flag_bootstrapped_response` and `$feature_flag_bootstrapped_payload` to `$feature_flag_called` event
1. Add new debugging property `$feature_flag_bootstrapped_response`, `$feature_flag_bootstrapped_payload` and `$used_bootstrap_value` to `$feature_flag_called` event

# 3.5.0 - 2024-12-03

Expand All @@ -11,7 +11,7 @@
# 3.4.0 - 2024-11-26

1. feat: automatically mask out user photos and sandboxed views like photo picker (iOS Only)
1. To disable masking set `maskAllSandboxedViews` and `maskPhotoLibraryImages` to false
1. To disable masking set `maskAllSandboxedViews` and `maskPhotoLibraryImages` to false

```js
export const posthog = new PostHog(
Expand Down Expand Up @@ -87,16 +87,13 @@ export const posthog = new PostHog(
## Changed
1. chore: session id will be rotate on app restart.
1. To keep the session id across restarts, set the `enablePersistSessionIdAcrossRestart` option to `true` when initializing the PostHog client.
1. To keep the session id across restarts, set the `enablePersistSessionIdAcrossRestart` option to `true` when initializing the PostHog client.
```js
export const posthog = new PostHog(
'apiKey...',
{
// ...
enablePersistSessionIdAcrossRestart: true,
},
);
export const posthog = new PostHog('apiKey...', {
// ...
enablePersistSessionIdAcrossRestart: true,
})
```
# 3.2.1 - 2024-09-24
Expand All @@ -110,7 +107,7 @@ export const posthog = new PostHog(
## Changed
1. chore: default `captureMode` changed to `json`.
1. To keep using the `form` mode, just set the `captureMode` option to `form` when initializing the PostHog client.
1. To keep using the `form` mode, just set the `captureMode` option to `form` when initializing the PostHog client.
2. chore: Session Replay for React-Native - Experimental support
Install Session Replay for React-Native:
Expand All @@ -124,13 +121,10 @@ npm i -s posthog-react-native-session-replay
Enable Session Replay for React-Native:
```js
export const posthog = new PostHog(
'apiKey...',
{
// ...
enableSessionReplay: true,
},
);
export const posthog = new PostHog('apiKey...', {
// ...
enableSessionReplay: true,
})
```
Or using the `PostHogProvider`
Expand Down Expand Up @@ -356,4 +350,4 @@ Support for bootstrapping feature flags and distinctIDs. This allows you to init
# 2.1.0 - 2022-09-02
PostHogProvider `autocapture` can be configured with `captureLifecycleEvents: false` and `captureScreens: false` if you want do disable these autocapture elements. Both of these default to `true`
PostHogProvider `autocapture` can be configured with `captureLifecycleEvents: false` and `captureScreens: false` if you want do disable these autocapture elements. Both of these default to `true`

0 comments on commit 7328942

Please sign in to comment.