instream v0.13.0 Release Notes
Release Date: 2016-09-11 // over 7 years ago-
โจ 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
LIMIT
andOFFSET
for 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_seconds
and:nano_seconds
have been renamed to:microseconds
,:milliseconds
and:nanoseconds
to matches the upcomingSystem.time_unit
definition 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
:module
and (if configured) a udp socket for writing at:udp_socket
- The
Cluster
namespace of queries has been removed