All Versions
24
Latest Version
Avg Release Cycle
88 days
Latest Release
1322 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.0 Changes
September 06, 2020✨ Enhancements
- Documentation is now available inline (
@moduledoc
, ...) with theREADME.md
file targeting the repository (development) instead of releases - Hydrating query results into series structs now parses RFC3339 times into
:nanosecond
timestamps. If you are usingOTP 21.0
or later you will get the full precision, earlier versions are truncated to the:microsecond
precision supported byDateTime
! - Read queries (everything except writes) are now executed directly in the calling process
- Sending asynchronous queries is now limited to write queries
- Writers can modify the worker state during
init
andterminate
by implementing the callbacksinit_worker/1
andterminate_worker/1
- Documentation is now available inline (
Backwards incompatible changes
- All "administrative query modules" have been removed
- Minimum required elixir version is now
~> 1.7
- Support for accessing the system environment for configuration has been removed in favor of initializer functions/modules
- Support for implementing
use Instream.Writer
has been removed in favor of@behaviour Instream.Writer
- Support for plural time units (e.g.
:seconds
instead of:second
) has been removed - The default JSON decoder has been switched from
:poison
to:jason
- The query builder has been removed
🐛 Bug fixes
:influxql
has been moved from:included_applications
to:applications
to avoid potential problems with release tooling (#53)
-
v0.22.0 Changes
November 29, 2019- ✨ Enhancements
- Errors from
:hackney.body/1
are now passed to the caller instead of raising aMatchError
- Unix socket usage has been documented
- Errors from
- ✨ Enhancements
-
v0.21.0 Changes
May 15, 2019- ✨ Enhancements
- Read queries can now use parameter binding
- The configuration option
:json_encoder
for the library used for JSON encoding has been added
- ✨ Enhancements
-
v0.20.0 Changes
April 19, 2019✨ Enhancements
- Queries can be sent as Flux language queries to InfluxDB using
[query_language: :flux]
in the connection or query options
- Queries can be sent as Flux language queries to InfluxDB using
🗄 Soft deprecations (no warnings)
- The query builder has been removed from documentation and will be eventually removed completely. This will be done because of the current limitations of the builder implementation and the InfluxDB move from InfluxQL to Flux as the query language of choice
🗄 Deprecations
- Accessing the system environment by configuring
{:system, var}
or{:system, var, default}
will now result in aLogger.info/1
message and will stop working in a future release - Implementing
use Instream.Writer
has been deprecated in favor of the more explicit@behaviour Instream.Writer
. Old implementations will trigger a compile time warning until the old macro is removed - The already (soft) deprecated time units with plural names (e.g.
:seconds
) will now issueLogger.info/1
messages when used
- Accessing the system environment by configuring
Backwards incompatible changes
- Support for the InfluxDB versions earlier than
1.4.x
is no longer guaranteed
- Support for the InfluxDB versions earlier than
-
v0.19.0 Changes
January 24, 2019✨ Enhancements
- Connections can be declared with compile time configuration defaults that are later overwritten by the application environment
- The library used for JSON decoding can be changed by using the
:json_decoder
configuration
🗄 Soft deprecations (no warnings)
- All "administrative query modules" have been removed from the documentation. They will eventually be removed completely after a proper deprecation phase
- Support for
{:system, "ENV_VARIABLE"}
configuration has been removed from the documentation. It will eventually be removed completely after a proper deprecation phase
Backwards incompatible changes
- Default configuration has been extended with
host: "localhost"
- Minimum required elixir version is now
~> 1.5
- Missing application configuration will no longer raise during compilation
- Public access to the internal pool module name has been removed
- Default configuration has been extended with
-
v0.18.0 Changes
August 11, 2018✨ Enhancements
- Configuration can be done on connection (re-) start by setting a
{mod, fun}
tuple for the config key:init
. This method will be called with the connection module name as the first (and only) parameter and is expected to return:ok
- Experimental support to convert plain maps or query results into series structs has been added
- Passwords are automatically redacted from logged queries when using the default logger
- Supporting rules for the elixir formatter are available
- Configuration can be done on connection (re-) start by setting a
🐛 Bug fixes
- Special characters in url parameter values (like
&
or?
in a query) are now properly escaped (#43)
- Special characters in url parameter values (like
Backwards incompatible changes
- Quoting of identifiers/values has been extracted to the package
influxql
(hex)
- Quoting of identifiers/values has been extracted to the package
-
v0.17.1 Changes
December 16, 2017- ✨ Enhancements
- Support for Elixir 1.5 style
child_spec
has been added (#39)
- Support for Elixir 1.5 style
- ✨ Enhancements
-
v0.17.0 Changes
December 10, 2017- Backwards incompatible changes
- Minimum required elixir version is now
~> 1.3
- Minimum required elixir version is now
- Backwards incompatible changes
-
v0.16.0 Changes
September 25, 2017✨ Enhancements
- Queries can be executed with an additional option
:pool_timeout
used to wait for an available worker process. This option is independent of other configured/passed timeouts
- System environment configuration can set an optional default value to be used if the environment variable is unset
🐛 Bug fixes
- All queries now use a
GenServer.call/3
timeout of:infinity
. This allows raising the timeouts for a call above the default of5_000
(#38)
- Queries can be executed with an additional option
-
v0.15.0 Changes
March 16, 2017✨ Enhancements
- Every connection method (like
read
orwrite
) can set per-callhttp_opts
passed on to thehackney
client - Querying for data can now return an
{:error, term}
style tuple if the communication with the server failed. For example{:error, :nxdomain}
if the host that is queried cannot be resolved byhackney
(#33) - The line writer now accepts a retention policy used for writing (#34)
- The line writer will now return an
{:error, term}
style tuple if a problem occurs. For example{:error, :nxdomain}
if the host that should receive data cannot be resolved byhackney
(#33) - Timeouts occurring when executing a query are now returned as
{:error, :timeout}
instead of raising (#33)
- Every connection method (like
Backwards incompatible changes
- Series definitions raise upon compilation if the contain a tag and a field with the same name. This is done to prevent the InfluxDB behavior of adding
_1
to such fields when storing them
- Series definitions raise upon compilation if the contain a tag and a field with the same name. This is done to prevent the InfluxDB behavior of adding