Skip to content

Commit 6978d04

Browse files
chore: update versions and changelogs [version bump] [skip ci]
1 parent 8d11398 commit 6978d04

7 files changed

Lines changed: 22 additions & 18 deletions

File tree

.changeset/logs-public-api.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/screen-name-on-all-events.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ android.defaults.buildfeatures.shaders=false
2222
android.defaults.buildfeatures.resvalues=false
2323

2424
# Release - Module-specific versions
25-
coreVersion=6.16.0
26-
androidVersion=3.46.0
25+
coreVersion=6.17.0
26+
androidVersion=3.47.0
2727
serverVersion=2.5.3
2828

2929
# Shared build versions (single source of truth for buildSrc, PosthogBuildConfig, and gradle plugin)

posthog-android/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## Next
22

3+
## 3.47.0
4+
5+
### Minor Changes
6+
7+
- 8d11398: Add public Logs API: `PostHog.logger.trace/debug/info/warn/error/fatal(message, attrs?)` plus a `PostHogLogsConfig` for serviceName, environment, resourceAttributes, rate cap, and `addBeforeSend` redaction hooks. Logs ship via OTLP/JSON to `/i/v1/logs` and pick up auto-attached attributes (`app.state`, distinctId, sessionId, screen name, feature flags). Matches the equivalent surfaces on posthog-ios and posthog-react-native.
8+
- 8d11398: Auto-attach `$screen_name` to every captured event after `PostHog.screen()` has been called (manually or via Activity-lifecycle auto-capture). Cached value is cleared by `reset()` and `close()`.
9+
10+
**To opt out of `$screen_name` stamping entirely**, set `PostHogAndroidConfig.captureScreenViews = false` **and** stop calling `PostHog.screen()` manually. Disabling `captureScreenViews` alone is not sufficient — a single manual `PostHog.screen("Home")` call will re-enable stamping.
11+
312
## 3.46.0
413

514
### Minor Changes

posthog-android/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "posthog-android",
3-
"version": "3.46.0",
3+
"version": "3.47.0",
44
"private": true
55
}

posthog/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
## Next
22

3+
## 6.17.0
4+
5+
### Minor Changes
6+
7+
- 8d11398: Add public Logs API: `PostHog.logger.trace/debug/info/warn/error/fatal(message, attrs?)` plus a `PostHogLogsConfig` for serviceName, environment, resourceAttributes, rate cap, and `addBeforeSend` redaction hooks. Logs ship via OTLP/JSON to `/i/v1/logs` and pick up auto-attached attributes (`app.state`, distinctId, sessionId, screen name, feature flags). Matches the equivalent surfaces on posthog-ios and posthog-react-native.
8+
- 8d11398: Auto-attach `$screen_name` to every captured event after `PostHog.screen()` has been called (manually or via Activity-lifecycle auto-capture). Cached value is cleared by `reset()` and `close()`.
9+
10+
**To opt out of `$screen_name` stamping entirely**, set `PostHogAndroidConfig.captureScreenViews = false` **and** stop calling `PostHog.screen()` manually. Disabling `captureScreenViews` alone is not sufficient — a single manual `PostHog.screen("Home")` call will re-enable stamping.
11+
312
## 6.16.0
413

514
### Minor Changes

posthog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "posthog",
3-
"version": "6.16.0",
3+
"version": "6.17.0",
44
"private": true
55
}

0 commit comments

Comments
 (0)