Skip to content

Releases: thingsdb/ThingsDB

v1.6.5

23 May 12:44
Compare
Choose a tag to compare
  • Fixed bug in debug logging when task.del() is called with an error, issue #384.

v1.6.4

16 May 12:07
Compare
Choose a tag to compare
  • Fix using task.del() within the task callback, issue #383.

v1.6.3

14 May 13:46
Compare
Choose a tag to compare
  • Honor key restrictions with JSON load function, issue #382.

v1.6.2

13 May 16:18
Compare
Choose a tag to compare
  • Fixed loading JSON strings with json_load() function, issue #381.

v1.6.1

02 May 12:40
Compare
Choose a tag to compare
  • Add support for ARM64 container, pr #377 (@rickmoonex).
  • Both the minimal and full docker builds compatible with legacy hardware, pr #380 (@rickmoonex).

v1.6.0

11 Apr 12:25
Compare
Choose a tag to compare
  • Listen to THINGSDB_INIT, THINGSDB_SECRET and THINGSDB_DEPLOY environment variable.
  • Added tls.Dockerfile for TLS/SSL support in docker container.
  • Fixed logging from forward request with API.
  • Added optional WebSocket (including TLS/SSL) support. (with thanks to @stefanak-michal)
  • Changed build system to cmake and added build scripts:
    • Release build: ./release-build.sh
    • Debug build: ./debug-build.sh

v1.5.2

26 Mar 10:05
Compare
Choose a tag to compare
  • Restrict future arguments for then() or else() to objects without an Id.
  • Module as type, no longer the workaround of exposing modules as futures, pr #365.
  • Added the is_module() function, pr #365.
  • Support ThingsDB code in exposed module functions, pr #365.

v1.5.1

12 Mar 11:22
Compare
Choose a tag to compare
  • Added support for building on MacOS.
  • Fixed spelling mistake in error message.

v1.5.0

28 Feb 10:07
Compare
Choose a tag to compare
  • Comments can now be placed anywhere where white-space is allowed.
  • Comments are no longer stored within closures. This behavior was previously
    partially enforced, and now it is strictly followed.
  • Statements must be separated with semicolons. Syntax checking is now more strict.
  • Removed syntax option for selecting a collection scope by Id.
  • The collection Id and collection root Id no longer need to be equal.
  • Added next_free_id field to collection info and removed from nodes info.
    (The response for node_info() still contains the next_free_id for the global free Id)
  • Added dump option to the export(..) function for a full collection export.
  • Added function import() which can import a collection export dump.
  • Added function root() for getting the collection root as thing.
  • Function export(..) can no longer be used in queries with changes.
  • A bug with adding enumerators to restricted lists has been fixed.
  • A bug with applying a new relation to existing data has been fixed.
  • A bug with async future error reporting has been fixed.
  • A bug with clearing nesting tasks through arguments has been fixed.
  • Tasks owners must be set to owners with equal or less access flags.
  • The change._tasks structure in C code has been renamed.
    (This has no impact on user-facing functionality)
  • Replaced Docker images (both tests and builds) with newer versions.
  • Removed ti_pkg_check hack for old compilers. (this is no longer required with recent compilers)
  • Added integer minimum INT_MIN and maximum INT_MAX constants with corresponding values.
  • The primary domain for the ThingsDB website has been changed from .net to .io.
  • Several new mathematical functions have been added: abs(..), ceil(..),
    cos(..), exp().., floor(..), log10(..), log2(..), loge(..),
    pow(..), round(..), sin(..), sqrt(..) and tan(..).
  • Added mathematical constants MATH_E and MATH_PI with corresponding values.
  • The library libcleri is now integrated into the core ThingsDB code base, eliminating the need for separate installation.
  • The new_backup() and new_token() functions no longer accept int, float or str as time.
    (This was marked as deprecated since v0.10.1)
  • Added set operators <=, <, >=, > for subset, proper subset, super-set and proper super-set checking.
  • Added range <..> support for UTF-8 type property definitions.
  • Added bit-wise NOT (~) operator.
  • Added bit-wise Left (<<) and Right (>>) shifting operators.
  • Return nil instead of success error when a repeating task is successful.
  • Corrected a spelling mistake in error message for integer range values.
  • No longer allow a relation between a none-stored set and a none-stored value.
  • Removed the < and > from returning a room to a client to be consistent.
  • Allow explicit variable list for empty future using a direct closure.
  • Return value of mod_procedure(..) has changed to nil on success.
  • Enforce argmap property for exposed module methods.
  • Prevent adding a duplicated node (based on address and port).
  • No shutdown wait time for uninitialized nodes.
  • New user and new collection return the name, not the ID.
  • Ignore empty collections on restore for better user experience.
  • Increase range maximum from 9999 to 100000.
  • Increase maximum future closure calls from 8 to 255.

v1.4.16

13 Nov 08:07
Compare
Choose a tag to compare
  • Improve dup() and copy() with self references, pr #355.