Skip to content

Releases: mneudert/instream

v2.2.1

22 Apr 10:39
97a5c57
Compare
Choose a tag to compare
  • Bug fixes
    • The configurable UDP writer pool timeout is now working as expected/intended (#81)

v2.2.0

16 Oct 10:41
9b7d1da
Compare
Choose a tag to compare
  • Enhancements

    • Configuration access for a connection now returns the configured :otp_app used (nil if none)
    • Starting a connection will now issue a warning if the configured :otp_app contains no configuration
  • Bug fixes

    • Read queries now send the proper Content-Type: application/json header for InfluxDB v2.x connections without having to explicitly pass query_language: :flux as an option (#76)

v2.1.0

02 Aug 17:07
b44e9f9
Compare
Choose a tag to compare
  • Enhancements
    • Log entries for write requests (%Instream.Log.WriteEntry{}) now contain the actual HTTP response status returned from the writer
    • Support for deleting points using the InfluxDB v2.x "delete" (predicate) API (#75)

v2.0.0

18 Jun 11:17
d98487f
Compare
Choose a tag to compare
  • Enhancements

    • Initial query/write support for InfluxDB 2.x added
    • Logging configuration fetched at runtime instead of during compilation
    • The HTTP client library can be replaced by providing a custom implementation of the Instream.HTTPClient behaviour
  • Backwards incompatible changes

    • Minimum required elixir version is now ~> 1.9
    • Passing a host to ping/1,2, status/1,2, version/1,2 is now longer supported. Only the hostname configured in the connection module will be used.
    • Support for the InfluxDB versions earlier than 1.7.x is no longer guaranteed

v2.0.0-rc.1

30 Apr 10:11
60d907d
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release
  • Enhancements
    • InfluxQL queries for InfluxDB 2.x connections are now properly sent to the compatibility endpoint /query instead of the new /api/v2/query endpoint

v2.0.0-rc.0

20 Jan 20:03
8567cf9
Compare
Choose a tag to compare
v2.0.0-rc.0 Pre-release
Pre-release
  • Enhancements

    • Initial query/write support for InfluxDB 2.x added
    • Logging configuration fetched at runtime instead of during compilation
    • The HTTP client library can be replaced by providing a custom implementation of the Instream.HTTPClient behaviour
  • Backwards incompatible changes

    • Minimum required elixir version is now ~> 1.9
    • Passing a host to ping/1,2, status/1,2, version/1,2 is now longer supported. Only the hostname configured in the connection module will be used.
    • Support for the InfluxDB versions earlier than 1.7.x is no longer guaranteed

v1.0.0

06 Sep 11:32
c7b1be8
Compare
Choose a tag to compare
  • 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

29 Nov 17:41
9d47b75
Compare
Choose a tag to compare
  • 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

15 May 18:11
948cd9d
Compare
Choose a tag to compare
  • 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

19 Apr 11:38
8567e81
Compare
Choose a tag to compare
  • 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