Skip to content

Commit e22e893

Browse files
authored
chore: add sampo changeset for before_send module-level setup fix (#472) (#489)
1 parent 2fe179a commit e22e893

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
pypi/posthog: patch
3+
---
4+
5+
fix: pass the module-level `posthog.before_send` callback into the lazily initialized default client

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@PostHog/team-feature-flags
1+
@PostHog/team-client-libraries

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,3 @@ posthoganalytics = { path = "../posthog-python-local" }
6969
```
7070

7171
This'll let you build and test SDK changes fully locally, incorporating them into your local posthog app stack. It mainly takes care of the `posthog -> posthoganalytics` module renaming. You'll need to re-run `make prep_local` each time you make a change, and re-run `uv sync --active` in the posthog app project.
72-
73-
## Releasing
74-
75-
This repository uses [Sampo](https://github.com/bruits/sampo) for versioning, changelogs, and publishing to crates.io.
76-
77-
1. When making changes, include a changeset: `sampo add`
78-
2. Create a PR with your changes and the changeset file
79-
3. Add the `release` label and merge to `main`
80-
4. Approve the release in Slack when prompted — this triggers version bump, crates.io publish, git tag, and GitHub Release
81-
82-
You can also trigger a release manually via the workflow's `workflow_dispatch` trigger (still requires pending changesets).

RELEASING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Releasing
2+
3+
This repository uses [Sampo](https://github.com/bruits/sampo) for versioning, changelogs, and publishing to crates.io.
4+
5+
1. When making changes, include a changeset: `sampo add`
6+
2. Create a PR with your changes and the changeset file
7+
3. Add the `release` label and merge to `main`
8+
4. Approve the release in Slack when prompted — this triggers version bump, crates.io publish, git tag, and GitHub Release
9+
10+
You can also trigger a release manually via the workflow's `workflow_dispatch` trigger (still requires pending changesets).

0 commit comments

Comments
 (0)