All Versions
24
Latest Version
Avg Release Cycle
88 days
Latest Release
1322 days ago

Changelog History
Page 1

  • v1.0.0 Changes

    September 06, 2020
    • ✨ Enhancements

      • Documentation is now available inline (@moduledoc, ...) with the README.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 using OTP 21.0 or later you will get the full precision, earlier versions are truncated to the :microsecond precision supported by DateTime!
      • 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 and terminate by implementing the callbacks init_worker/1 and terminate_worker/1
    • 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 a MatchError
      • Unix socket usage has been documented
  • 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
  • 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
    • 🗄 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 a Logger.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 issue Logger.info/1 messages when used
    • Backwards incompatible changes

      • Support for the InfluxDB versions earlier than 1.4.x is no longer guaranteed
  • 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
  • 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
    • 🐛 Bug fixes

      • Special characters in url parameter values (like & or ? in a query) are now properly escaped (#43)
    • Backwards incompatible changes

      • Quoting of identifiers/values has been extracted to the package influxql (hex)
  • v0.17.1 Changes

    December 16, 2017
    • ✨ Enhancements
      • Support for Elixir 1.5 style child_spec has been added (#39)
  • v0.17.0 Changes

    December 10, 2017
    • Backwards incompatible changes
      • Minimum required elixir version is now ~> 1.3
  • 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 of 5_000 (#38)
  • v0.15.0 Changes

    March 16, 2017
    • ✨ Enhancements

      • Every connection method (like read or write) can set per-call http_opts passed on to the hackney 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 by hackney (#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 by hackney (#33)
      • Timeouts occurring when executing a query are now returned as {:error, :timeout} instead of raising (#33)
    • 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