Skip to content

v0.13.0

Choose a tag to compare

@mneudert mneudert released this 11 Sep 13:19
· 1031 commits to master since this release
  • 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 and OFFSET 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 upcoming System.time_unit definition of Elixir 1.3.0. Old variables will continue to work but are highly discouraged and will be completely deprecated in an upcoming release.
  • 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 via MyConnection.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