Skip to content

Releases: CM000n/qss

v0.1.2 🏳️‍🌈

23 Feb 09:33
f69dd6b

Choose a tag to compare

Changes

🐛 Bug Fixes

  • #187 Fix 175: QSS table not automatically created @CM000n

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @dependabot[bot], @pre-commit-ci[bot], @renovate[bot], Simon Hörrle, dependabot[bot], pre-commit-ci[bot] and renovate[bot]

v0.1.1 🏳️‍🌈

15 Jan 07:13
a6ce0b8

Choose a tag to compare

🐛 Bug Fixes

  • #164 Improve shutdown handling for sender in thread @CM000n

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, dependabot[bot], pre-commit-ci[bot] and renovate[bot]

v0.1.0 🏳️‍🌈

02 Oct 08:14
31daaf2

Choose a tag to compare

Changes

The problem: There was a warning in the Home Assistant logs that occurred because a new QuestDB sender was created and immediately destroyed for each state-changed event. This led to inefficient connection establishment/termination cycles.

The solution: I changed the architecture so that the QuestDB sender is created once when the QuestDB class is started and reused throughout the entire runtime.

Important changes:

  1. New _create_sender() method in the QuestDB class:
  • Creates a sender once based on the auth settings.
  • Supports both authenticated (TLS) and non-authenticated connections.
  1. Sender as instance variable:
  • The sender is stored as self.sender and reused.
  • It is closed properly during shutdown.
  1. Simplified IO functions:
  • Removal of _insert_row_with_auth and _insert_row_without_auth.
  • A single _insert_row() function that uses the provided sender.
  • Updated function signatures for better reusability.
  1. Improved shutdown handling:
  • The sender is closed properly during the Home Assistant stop event.

Result:

  • The warning is eliminated because the sender is only created once.
  • Better performance by avoiding repeated connection establishment.
  • Clean resource management with proper cleanup during shutdown.

These changes follow the best practices outlined in the QuestDB Python Client documentation and should completely eliminate the warning in Home Assistant logs.

🔧 Code enhancements

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, dependabot[bot], pre-commit-ci[bot] and renovate[bot]

v0.0.16 🏳️‍🌈

24 Jun 07:01
2229d6c

Choose a tag to compare

Changes

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @dependabot[bot], @pre-commit-ci[bot], @renovate[bot], dependabot[bot], pre-commit-ci[bot] and renovate[bot]

v0.0.15 🏳️‍🌈

25 Apr 17:39
69c6f7b

Choose a tag to compare

Changes

🔧 Code enhancements

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @dependabot[bot], @pre-commit-ci[bot], @renovate[bot], @stevusprimus, dependabot[bot], pre-commit-ci[bot] and renovate[bot]

v0.0.14 🏳️‍🌈

27 Jan 14:18
439aff1

Choose a tag to compare

Changes

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @dependabot[bot] and dependabot[bot]

v0.0.13 🏳️‍🌈

03 Jan 14:51
0011bbc

Choose a tag to compare

Changes

  • Fixing incompatibilities in pyproject.toml

❤️ Thank you so much for helping out to keep this project awesome

@CM000n

v0.0.12 🏳️‍🌈

03 Jan 14:39
8b6c11f

Choose a tag to compare

Changes

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @antst, @dependabot and @dependabot[bot]

v0.0.11 🏳️‍🌈

24 Jul 14:53
b0d1db9

Choose a tag to compare

Changes

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @dependabot and @dependabot[bot]

v0.0.10 🏳️‍🌈

12 Jan 12:55
8ef3452

Choose a tag to compare

Changes

🔧 Code enhancements

🐛 Bug Fixes

  • #26 Fix: NodeStrClass conversion introduces by Home Assistant 2024.1 @CM000n

🎲 Dependencies

❤️ Thank you so much for helping out to keep this project awesome

@CM000n, @dependabot and @dependabot[bot]