Skip to content

Commit 201243a

Browse files
committed
Bump version to 3.1.0
Includes bug fixes from PRs #127-#129 (nested sanitization, timezone-aware datetime, falsy ID validation). Also backfills the missing 3.0.0 changelog section.
1 parent 16e3f94 commit 201243a

2 files changed

Lines changed: 20 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
# Changelog
22

33
## Unreleased
4+
5+
## [3.1.0]
6+
### Fixed
7+
- Fix nested sanitization of datetime and NaN values in dicts and lists ([#127](https://github.com/customerio/customerio-python/pull/127))
8+
- Fix timezone-aware datetime conversion silently discarding timezone offset ([#128](https://github.com/customerio/customerio-python/pull/128))
9+
- Fix falsy ID validation rejecting valid values like integer `0` ([#129](https://github.com/customerio/customerio-python/pull/129))
10+
11+
## [3.0.0]
412
### Added
5-
- Add support for optional top-level `id` and `timestamp` event fields in `track()` and `track_anonymous()`.
13+
- Add `batch()` method to CustomerIO track client ([#123](https://github.com/customerio/customerio-python/pull/123))
14+
- Add context manager and `close()` to ClientBase ([#121](https://github.com/customerio/customerio-python/pull/121))
15+
- Add automated PyPI publish workflow for wheel and sdist ([#120](https://github.com/customerio/customerio-python/pull/120))
16+
- Add TCP keepalive socket options ([#124](https://github.com/customerio/customerio-python/pull/124))
17+
- Add support for optional top-level `id` and `timestamp` event fields in `track()` and `track_anonymous()` ([#125](https://github.com/customerio/customerio-python/pull/125))
618

719
### Changed
8-
- `track()` and `track_anonymous()` now take custom event attributes in the `data` dict instead of arbitrary keyword arguments.
20+
- `track()` and `track_anonymous()` now take custom event attributes in the `data` dict instead of arbitrary keyword arguments ([#125](https://github.com/customerio/customerio-python/pull/125))
21+
- Return response objects from all client methods ([#122](https://github.com/customerio/customerio-python/pull/122))
22+
23+
### Fixed
24+
- Fix retry logic for POST requests ([#119](https://github.com/customerio/customerio-python/pull/119))
25+
- Fix no-pooling session isolation ([#118](https://github.com/customerio/customerio-python/pull/118))
926

1027
## [2.4]
1128
### Added

customerio/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.0"
1+
__version__ = "3.1.0"

0 commit comments

Comments
 (0)