v0.13.0
-
Enhancements
- Configuration has been split into "compile time" and "runtime" parts. This readds the possibility to change configuration values without recompiling the connection modules (#22)
- Configuration values can be fetched from the system environment using
{:system, ENV_VAR} - Timeouts for queries (individual and connection wide) can be configured (#21)
- Query builder supports
LIMITandOFFSETfor queries (#19) - Writing a series struct with one or more empty tags will now properly construct an entry without these tags present
-
Soft deprecations (no warnings)
- The precision units
:micro_seconds,:milli_secondsand:nano_secondshave been renamed to:microseconds,:millisecondsand:nanosecondsto matches the upcomingSystem.time_unitdefinition ofElixir 1.3.0. Old variables will continue to work but are highly discouraged and will be completely deprecated in an upcoming release.
- The precision units
-
Deprecations
- Defining a series without fields is deprecated and will raise in a future version
-
Backwards incompatible changes
- Configuring a connection with multiple hosts is no longer supported
- The otp app of a connection is no longer returned when calling
MyConnection.config/0,1. It is now only available by specifically requesting it viaMyConnection.config([:otp_app]) - Writer modules now get a map passed with the connection module registered at key
:moduleand (if configured) a udp socket for writing at:udp_socket - The
Clusternamespace of queries has been removed