Skip to content

Commit 54506e5

Browse files
authored
fix: Account for import posthog in posthoganalytics release (#171)
1 parent bcf5b27 commit 54506e5

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
## 3.8.5 - 2025-01-22
1+
## 3.9.1 - 2025-01-22
22

3-
1. Add tracing event to langchain callbacks.
3+
1. Fix importing of LangChain callback handler under certain circumstances.
4+
5+
## 3.9.0 - 2025-01-22
6+
7+
1. Add `$ai_trace` event emission to LangChain callback handler.
48

59
## 3.8.4 - 2025-01-17
610

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ release_analytics:
1717
rm -rf posthoganalytics
1818
mkdir posthoganalytics
1919
cp -r posthog/* posthoganalytics/
20+
find ./posthoganalytics -type f -exec sed -i '' -e 's/import posthog/import posthoganalytics/g' {} \;
2021
find ./posthoganalytics -type f -exec sed -i '' -e 's/from posthog\./from posthoganalytics\./g' {} \;
2122
rm -rf posthog
2223
python setup_analytics.py sdist bdist_wheel
2324
twine upload dist/*
2425
mkdir posthog
26+
find ./posthoganalytics -type f -exec sed -i '' -e 's/import posthoganalytics/import posthog/g' {} \;
2527
find ./posthoganalytics -type f -exec sed -i '' -e 's/from posthoganalytics\./from posthog\./g' {} \;
2628
cp -r posthoganalytics/* posthog/
2729
rm -rf posthoganalytics

posthog/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "3.9.0"
1+
VERSION = "3.9.1"
22

33
if __name__ == "__main__":
44
print(VERSION, end="") # noqa: T201

0 commit comments

Comments
 (0)