diff --git a/CHANGELOG.md b/CHANGELOG.md index c31d2e28..3886b68c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.6.1 - 2025-06-09 + +- fix: replace `import posthog` in `posthoganalytics` package + ## 4.6.0 - 2025-06-09 - feat: add additional user and request context to captured exceptions via the Django integration diff --git a/Makefile b/Makefile index dd3512fd..9964dcc5 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ release_analytics: cp -r posthog/* posthoganalytics/ find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthog /from posthoganalytics /g' {} \; find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthog\./from posthoganalytics\./g' {} \; + find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/import posthog/import posthoganalytics/g' {} \; find ./posthoganalytics -name "*.bak" -delete rm -rf posthog python setup_analytics.py sdist bdist_wheel @@ -25,6 +26,7 @@ release_analytics: mkdir posthog find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthoganalytics /from posthog /g' {} \; find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthoganalytics\./from posthog\./g' {} \; + find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/import posthoganalytics/import posthog/g' {} \; find ./posthoganalytics -name "*.bak" -delete cp -r posthoganalytics/* posthog/ rm -rf posthoganalytics diff --git a/posthog/version.py b/posthog/version.py index f216527f..92f427d4 100644 --- a/posthog/version.py +++ b/posthog/version.py @@ -1,4 +1,4 @@ -VERSION = "4.6.0" +VERSION = "4.6.1" if __name__ == "__main__": print(VERSION, end="") # noqa: T201