Skip to content

Commit 54d378d

Browse files
committed
shoring up some missing changelog entries
1 parent cee13b6 commit 54d378d

3 files changed

Lines changed: 36 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@
2424
### Added
2525
- Added the `disable_css_preprocessing` and `language` optional fields to send request
2626

27+
## [1.6.0] - November 10, 2022
28+
### Added
29+
- Added a `use_connection_pooling` option to `CustomerIO` and `APIClient` to allow disabling persistent session connection pooling.
30+
31+
## [1.5.0] - April 26, 2022
32+
### Added
33+
- Added support for anonymous invite events by allowing `track_anonymous` to omit `anonymous_id` when sending invite events with a `recipient` attribute ([#83](https://github.com/customerio/customerio-python/pull/83)).
34+
35+
## [1.4.0] - October 14, 2021
36+
### Added
37+
- Added a default `User-Agent` header to Customer.io API requests ([#72](https://github.com/customerio/customerio-python/pull/72)).
38+
39+
### Fixed
40+
- Fixed release metadata generation after moving version handling into `customerio.__version__` ([#73](https://github.com/customerio/customerio-python/pull/73)).
41+
2742
## [1.3.0]
2843
### Added
2944
- Support for merging duplicate customers using `merge_customers` function.

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include README.md
2+
include CHANGELOG.md
3+
include LICENSE
4+
include AUTHORS

setup.py

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
import os
22
from setuptools import find_packages, setup
33

4-
version = {}
54
here = os.path.abspath(os.path.dirname(__file__))
6-
with open(os.path.join(here, 'customerio', '__version__.py')) as f:
7-
exec(f.read(), version)
5+
6+
7+
def read_project_file(filename):
8+
with open(os.path.join(here, filename), encoding="utf-8") as f:
9+
return f.read()
10+
11+
12+
version = {}
13+
with open(os.path.join(here, 'customerio', '__version__.py'), encoding="utf-8") as f:
14+
exec(f.read(), version)
15+
16+
long_description = "\n\n".join([
17+
read_project_file("README.md"),
18+
read_project_file("CHANGELOG.md"),
19+
])
820

921
setup(
1022
name="customerio",
@@ -13,6 +25,8 @@
1325
author_email="support@customerio.com",
1426
license="BSD",
1527
description="Customer.io Python bindings.",
28+
long_description=long_description,
29+
long_description_content_type="text/markdown",
1630
url="https://github.com/customerio/customerio-python",
1731
packages=find_packages(),
1832
classifiers=[

0 commit comments

Comments
 (0)