diff --git a/posthog-node/CHANGELOG.md b/posthog-node/CHANGELOG.md index 9feda4de..26ddbad2 100644 --- a/posthog-node/CHANGELOG.md +++ b/posthog-node/CHANGELOG.md @@ -1,4 +1,4 @@ -# Next (4.0.0) +# 4.0.0-beta.1 - 2024-03-04 - Adds a `disabled` option and the ability to change it later via `posthog.disabled = true`. Useful for disabling PostHog tracking for example in a testing environment without having complex conditional checking - Fixes some typos in types diff --git a/posthog-node/package.json b/posthog-node/package.json index a2b790a2..7c96dd0c 100644 --- a/posthog-node/package.json +++ b/posthog-node/package.json @@ -1,6 +1,6 @@ { "name": "posthog-node", - "version": "3.6.3", + "version": "4.0.0-beta.1", "description": "PostHog Node.js integration", "repository": { "type": "git", diff --git a/posthog-react-native/CHANGELOG.md b/posthog-react-native/CHANGELOG.md index 94d690b0..0d1feb86 100644 --- a/posthog-react-native/CHANGELOG.md +++ b/posthog-react-native/CHANGELOG.md @@ -1,4 +1,4 @@ -# Next (3.0.0) +# 3.0.0-beta.1 - 2024-03-04 - `PostHog.initAsync` is no more! You can now initialize PostHog as you would any other class `const posthog = new PostHog(...)` - PostHogProvider now requires either an `apiKey` or `client` property and `usePostHog` now always returns a `PostHog` instance instead of `PostHog | undefined`. The `disabled` option can be used when initializing the `PostHogProvider` if desired and all subsequent calls to `posthog` will work but without actually doing anything. diff --git a/posthog-react-native/package.json b/posthog-react-native/package.json index 08eb4eab..6c3d3863 100644 --- a/posthog-react-native/package.json +++ b/posthog-react-native/package.json @@ -1,6 +1,6 @@ { "name": "posthog-react-native", - "version": "2.11.6", + "version": "3.0.0-beta.1", "main": "lib/posthog-react-native/index.js", "files": [ "lib/" diff --git a/posthog-web/CHANGELOG.md b/posthog-web/CHANGELOG.md index 8149d17b..fcce42d4 100644 --- a/posthog-web/CHANGELOG.md +++ b/posthog-web/CHANGELOG.md @@ -1,4 +1,4 @@ -# Next (3.0.0) +# 3.0.0-beta.1 - 2024-03-04 - Removes the `enable` option. You can now specify `defaultOptIn: false` to start the SDK opted out of tracking - Adds a `disabled` option and the ability to change it later via `posthog.disabled = true`. Useful for disabling PostHog tracking for example in a testing environment without having complex conditional checking diff --git a/posthog-web/package.json b/posthog-web/package.json index 1f33482f..c63b0fab 100644 --- a/posthog-web/package.json +++ b/posthog-web/package.json @@ -1,6 +1,6 @@ { "name": "posthog-js-lite", - "version": "2.6.2", + "version": "3.0.0-beta.1", "main": "lib/index.cjs.js", "module": "lib/index.esm.js", "types": "lib/index.d.ts",