Skip to content

Commit d4fd76b

Browse files
committed
Prepare for 1.0.0 release
1 parent 2b7a3dd commit d4fd76b

5 files changed

Lines changed: 25 additions & 9 deletions

File tree

CHANGES.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Version 1.0.0 (2023-06-16)
2+
--------------------------
3+
Remove Redis and Celery Emitters (#335)
4+
Make tracker namespace mandatory (#337)
5+
Track function to return event_id (#338)
6+
Fix namespace assignment in Snowplow API (#341)
7+
Refactor track_xxx() methods (#343)
8+
Update payload builder to combine event subjects (#347)
9+
110
Version 0.15.0 (2023-04-19)
211
---------------------------
312
Use Requests Session for sending eventss (#221)

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
author = 'Alex Dean, Paul Boocock, Matus Tomlein, Jack Keene'
2929

3030
# The full version, including alpha/beta/rc tags
31-
release = "0.15"
31+
release = "1.0.0"
3232

3333

3434
# -- General configuration ---------------------------------------------------

setup.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@
2323
except ImportError:
2424
from distutils.core import setup
2525

26-
authors_list = ["Anuj More", "Alexander Dean", "Fred Blundun", "Paul Boocock"]
26+
authors_list = [
27+
"Anuj More",
28+
"Alexander Dean",
29+
"Fred Blundun",
30+
"Paul Boocock",
31+
"Matus Tomlein",
32+
"Jack Keene",
33+
]
2734
authors_str = ", ".join(authors_list)
2835

2936
authors_email_list = [
@@ -33,7 +40,7 @@
3340

3441
setup(
3542
name="snowplow-tracker",
36-
version="0.15.0",
43+
version="1.0.0",
3744
author=authors_str,
3845
author_email=authors_email_str,
3946
packages=["snowplow_tracker", "snowplow_tracker.test", "snowplow_tracker.events"],

snowplow_tracker/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
# language governing permissions and limitations there under.
1616
# """
1717

18-
__version_info__ = (0, 15, 0)
18+
__version_info__ = (1, 0, 0)
1919
__version__ = ".".join(str(x) for x in __version_info__)
2020
__build_version__ = __version__ + ""

snowplow_tracker/test/integration/test_integration.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -513,14 +513,14 @@ def test_timestamps(self) -> None:
513513

514514
def test_bytelimit(self) -> None:
515515
default_emitter = emitters.Emitter(
516-
"localhost", protocol="http", port=80, batch_size=5, byte_limit=483
516+
"localhost", protocol="http", port=80, batch_size=5, byte_limit=459
517517
)
518518
t = tracker.Tracker("namespace", default_emitter, default_subject)
519519
with HTTMock(pass_post_response_content):
520-
t.track_struct_event("Test", "A") # 161 bytes
521-
t.track_struct_event("Test", "A") # 322 bytes
522-
t.track_struct_event("Test", "A") # 483 bytes. Send
523-
t.track_struct_event("Test", "AA") # 162
520+
t.track_struct_event("Test", "A") # 153 bytes
521+
t.track_struct_event("Test", "A") # 306 bytes
522+
t.track_struct_event("Test", "A") # 459 bytes. Send
523+
t.track_struct_event("Test", "AA") # 154
524524

525525
self.assertEqual(len(querystrings[-1]["data"]), 3)
526526
self.assertEqual(default_emitter.bytes_queued, 156 + len(_version.__version__))

0 commit comments

Comments
 (0)