Tweetrelay

Latest version: v0.3.3

Safety actively analyzes 626071 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.3

This release fixes the line endings of recently-sent events loaded from file for consistency

**Full Changelog**: https://github.com/acarasimon96/TweetRelay/compare/0.3.1...0.3.3

0.3.1

This release brings improvements on how the `EventAnnouncer` generates snowflake-based IDs for sent events.

- `EventAnnouncer` now remembers the last timestamp of each new server-sent event. If the next ID generation timestamp is exactly same as the previous one, `EventAnnouncer` increments the sequence ID parameter by 1, thus giving a completely unique ID for each new event. Otherwise, the sequence ID resets to 0.
- Event creating timestamps are now based on milliseconds since the epoch timestamp. Previously, this was based on the number of seconds since the given epoch.

**Full Changelog**: https://github.com/acarasimon96/TweetRelay/compare/0.3.0...0.3.1

0.3.0

- Added a new `ping_factory` argument to `TweetRelay.__init__`. This allows `TweetRelay` instances to use a custom ping factory function for sending pings to clients
- Fixed startup bugs in Python 3.7 and 3.8

**Full Changelog**: https://github.com/acarasimon96/TweetRelay/compare/0.2.1...0.3.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.