Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
havenbarnes committed Dec 5, 2024
1 parent 4166c1a commit d33b385
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
36 changes: 19 additions & 17 deletions posthog-react-native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# Next

# 3.6.0 - 2024-12-04
# 3.6.0 - 2024-12-05

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

1. fix: deprecate maskPhotoLibraryImages due to unintended masking issues

# 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,13 +83,16 @@ 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 @@ -107,7 +106,7 @@ export const posthog = new PostHog('apiKey...', {
## 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 @@ -121,10 +120,13 @@ 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 @@ -350,4 +352,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`
4 changes: 3 additions & 1 deletion posthog-web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Next

# 3.1.1 - 2024-11-27
# 3.2.0 - 2024-12-05

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

## Changed

Expand Down
2 changes: 1 addition & 1 deletion posthog-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthog-js-lite",
"version": "3.1.1",
"version": "3.2.0",
"main": "lib/index.cjs.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit d33b385

Please sign in to comment.