Skip to content

Releases: qtoggle/qtoggleserver

0.27.3-beta.1

03 Feb 20:57
Compare
Choose a tag to compare
0.27.3-beta.1 Pre-release
Pre-release

What's new:

  • core: Attribute definitions can now contain "private" fields that will not be exposed via API.
  • core/ports: Added support for generic Port.attr_get_value and Port.attr_set_value methods.
  • core/ports: Reworked attribute definitions caching.

0.27.2

03 Feb 16:59
Compare
Choose a tag to compare

What's new (since 0.27.1):

  • frontend: Fixed missing redirect when adding qToggleServer-based slave devices.
  • frontend: The iat JWT claim is no longer included with request if a client/server time skew larger than 5 minutes is detected.
  • lib/polled: Fixed potential loop error during startup.
  • peripherals: Added Peripheral.get_port method.
  • startup: The server will now exit if an error occurs while initializing the ports of a peripheral.
  • utils/asyncio: The fire_and_forget utility function was added for asyncio tasks that can't be awaited.

0.27.2b1

18 Dec 09:20
dc00ede
Compare
Choose a tag to compare
0.27.2b1 Pre-release
Pre-release

What's new:

  • frontend: The iat JWT claim is no longer included with request if a client/server time skew larger than 5 minutes is detected.
  • lib/polled: Fixed potential loop error during startup.
  • peripherals: Added Peripheral.get_port method.
  • startup: The server will now exit if an error occurs while initializing the ports of a peripheral.
  • utils/asyncio: The fire_and_forget utility function was added for asyncio tasks that can't be awaited.

0.27.1

18 Nov 14:27
Compare
Choose a tag to compare

What's new:

  • core/api: Fixed error when retrieving ports history with Postgres persist backend.

0.27.0

17 Nov 20:12
6448b80
Compare
Choose a tag to compare

What's new:

  • core: Fixed error where the main coroutine wasn't awaited if the server failed to start.
  • core/ports: Expressions can now be up to 10k characters long.
  • lib/templatenotifications: Generalized support for templates for easier subclassing of TemplateNotificationsHandler.
  • persist: Added dedicated support for sampling functions.
  • persist/postgres: Postgres DB driver now stores samples in a dedicated samples table without JSONB.
  • utils/json: Generalizes JSON extra types support (mainly adding ISO format for date & datetime objects).
  • Pre-releases version format has been changed from semver to PEP440.

note: Use the following SQL commands to migrate from old Postgres samples format to the new one:

ALTER TABLE value_history RENAME TO value_history_old;
SELECT id::BIGINT, (content->'pid')::TEXT AS oid, (content->'ts')::BIGINT AS ts, CASE WHEN content->'val' = 'false' THEN 0 WHEN content->'val' = 'true' THEN 1 ELSE (content->'val')::double precision END AS val INTO value_history FROM value_history_old;
ALTER TABLE value_history ALTER COLUMN id SET DEFAULT NEXTVAL('value_history_id_seq');
ALTER TABLE value_history ADD PRIMARY KEY (id);
DROP TABLE value_history_old;

0.27.0b3

15 Nov 20:33
6448b80
Compare
Choose a tag to compare
0.27.0b3 Pre-release
Pre-release

What's new:

  • persist: Boolean port samples are now internally converted into float values.
  • lib/templatenotifications: Generalized support for templates for easier subclassing of TemplateNotificationsHandler.
  • utils/json: Generalizes JSON extra types support (mainly adding ISO format for date & datetime objects).

0.27.0b2

10 Nov 07:22
Compare
Choose a tag to compare
0.27.0b2 Pre-release
Pre-release

What's new:

  • Pre-releases version format has been changed from semver to PEP440.
  • persist: Samples are now always of type float, regardless of port type.

0.27.0-beta.1

10 Nov 07:18
Compare
Choose a tag to compare
0.27.0-beta.1 Pre-release
Pre-release

What's new:

  • core: Fixed error where the main coroutine wasn't awaited if the server failed to start.
  • core/ports: Expressions can now be up to 10k characters long.
  • persist: Added dedicated support for sampling functions.
  • persist/postgres: Postgres DB driver now stores samples in a dedicated samples table without JSONB.

note: Use the following SQL commands to migrate from old Postgres samples format to the new one:

ALTER TABLE value_history RENAME TO value_history_old;
SELECT id::BIGINT, (content->'pid')::TEXT AS oid, (content->'ts')::BIGINT AS ts, CASE WHEN content->'val' = 'false' THEN 0 WHEN content->'val' = 'true' THEN 1 ELSE (content->'val')::double precision END AS val INTO value_history FROM value_history_old;
ALTER TABLE value_history ALTER COLUMN id SET DEFAULT NEXTVAL('value_history_id_seq');
ALTER TABLE value_history ADD PRIMARY KEY (id);
DROP TABLE value_history_old;

0.26.5

04 Nov 12:57
14547da
Compare
Choose a tag to compare

What's new:

  • lib/polled: Added DEFAULT_RETRY_POLL_INTERVAL and DEFAULT_RETRY_COUNT class arguments support for polled peripherals.

0.26.4

17 Apr 19:10
Compare
Choose a tag to compare

What's new:

  • Fixed error when setting Wi-Fi or network device attributes.