Skip to content

Latest commit

 

History

History
245 lines (160 loc) · 8.04 KB

CHANGELOG.md

File metadata and controls

245 lines (160 loc) · 8.04 KB

Changelog

For the full commit log, see here.

v0.8.1, release 2021-02-17

  • Ensure workers can send data popped off the queue at shutdown (#239, @onlynone)
  • Add support for special characters in password when using url keyword (#242, @swistak35)
  • Add Ruby 3.0 support (#249, @dentarg, @paul and @track8)
  • Support characters that need quoting for usernames and database names (#248, @estheruary)

v0.8.0, released 2020-02-05

  • Allow dropping of specific series from specific DBs (#233, @cantino)
  • Add support for MRI 2.7 (#235, @jeffkowalski)
  • Raise a LineProtocolError if attempting to write empty values as field set is required. This adds descriptive feedback to the error "unable to parse '{series},{tags} ': invalid field format" (#236, @todtb)
  • Add support for configuring HTTP Proxy (#238, @epchris)

v0.7.0, released 2019-01-11

  • Drop support for Ruby 2.2, since Bundler dropped it and we want to use Bundler in the development cycle as well.
  • Fix issue with tag values ending in a backslash.

v0.6.4, releases 2018-12-02

  • Fix newly introduced InfluxDB.now(precision) for precisions larger than "s".

v0.6.3, released 2018-11-30

  • Added InfluxDB.now(precision) and InfluxDB::Client#now as companions to InfluxDB.convert_timestamp.

v0.6.2, released 2018-11-30

  • Added InfluxDB.convert_timestamp utility to convert a Time to a timestamp with (taken from PR influxdb-rails#53 by @ChrisBr).

v0.6.1, released 2018-08-23

  • Fix InfluxDB::Client#delete_retention_policy: the database name argument is now quoted (#221, #222 @AishwaryaRK).
  • Add InfluxDB::Client#list_measurements and #delete_measuerment (#220)

v0.6.0, released 2018-07-10

  • Add batch query support via InfluxDB::Client#batch (and using InfluxDB::Query::Batch). Using multiple queries joined with ; will cause issues with Client#query in combination with either GROUP BY clauses or empty results, as discussed in #217.

    Initial code and PR#218 from @satyanash.

v0.5.3, released 2018-01-19

  • Fix NoMethodError in InfluxDB::Client#list_retention_policies when the database has no RPs defined (#213, @djoos)

v0.5.2, released 2017-11-28

  • Add async option to block on full queue (#209, @davemt)

v0.5.1, released 2017-10-31

  • Add support for SHARD DURATION in retention policy (#203, @ljagiello)

v0.5.0, released 2017-10-21

  • Add support for precision, retention policy and database parameters to async writer (#140, #202 @rockclimber73)

    Attention You may need to validate that your calls to the write API (InfluxDB::Client#write, #write_point, #write_points) don't accidentally included a precision, RP, and/or database argument. These arguments were ignored until now. This is likely if you have changed your client instance configuration in the past, when you added a async: true. Updating might cause data inconsistencies!

v0.4.2, released 2017-09-26

  • Bugfix in InfluxDB::PointValue: Properly encode backslashes (#200)

v0.4.1, released 2017-08-30

  • Bugfix in async client: Flush queue before exit (#198, #199 @onlynone)

v0.4.0, released 2017-08-19

  • Dropped support for Ruby < 2.2.
  • Updated dependencies.
  • Refactor some method declarations, to take kwargs instead of an options hash (this shouldn't break call sites).
  • Allow configuration by an URL (idea by @carlhoerberg in #188).
  • Improved logging (#180).

v0.3.17, released 2017-09-27

  • (Backport from v0.4.1) Bugfix in async client: Flush queue before exit (#198, #199 @onlynone)
  • (Backport from v0.4.2) Bugfix in InfluxDB::PointValue: Properly encode backslashes (#200)

v0.3.16, released 2017-08-17

  • This is propably the last release in the 0.3.x series.
  • Typo fix in README (#196, @MichaelSp).

v0.3.15, released 2017-07-17

  • Bugfix for InfluxDB::Client#list_series when no series available (#195, @skladd).
  • Clarified/expanded docs (also #190, @paneq).
  • Added preliminary show_field_keys method to InfluxDB::Client (note: the API for this is not stable yet).
  • Degraded dependency on "cause" from runtime to development.

v0.3.14, released 2017-02-06

  • Added option discard_write_errors to silently ignore errors when writing to the server (#182, @mickey).
  • Added #list_series and #delete_series to InfluxDB::Client (#183-186, @wrcola).

v0.3.13, released 2016-11-23

  • You can now InfluxDB::Client#query, #write_points, #write_point and #write now accept an additional parameter to override the database on invokation time (#173, #176, @jfragoulis).

v0.3.12, released 2016-11-15

  • Bugfix for broken Unicode support (regression introduced in #169). Please note, this is only properly tested on Ruby 2.1+ (#171).

v0.3.11, released 2016-10-12

  • Bugfix/Enhancement in PointValue#escape. Input strings are now scrubbed of invalid UTF byte sequences (#169, @ton31337).

v0.3.10, released 2016-10-03

  • Bugfix in Query::Builder#quote (#168, @cthulhu666).

v0.3.9, released 2016-09-20

  • Changed retry behaviour slightly. When the server responds with an incomplete response, we now assume a major server-side problem (insufficient resources, e.g. out-of-memory) and cancel any retry attempts (#165, #166).

v0.3.8, released 2016-08-31

  • Added support for named and positional query parameters (#160, @retorquere).

v0.3.7, released 2016-08-14

  • Fixed prefix handling for #ping and #version (#157, @dimiii).

v0.3.6, released 2016-07-24

  • Added feature for JSON streaming response, via "chunk_size" parameter (#155, @mhodson-qxbranch).

v0.3.5, released 2016-06-09

  • Reintroduced full dependency on "cause" (for Ruby 1.9 compat).
  • Extended Client#create_database and #delete_database to fallback on config.database (#153, #154, @anthonator).

v0.3.4, released 2016-06-07

  • Added resample options to Client#create_continuous_query (#149).
  • Fixed resample options to be Ruby 1.9 compatible (#150, @SebastianCoetzee).
  • Mentioned in README, that 0.3.x series is the last one to support Ruby 1.9.

v0.3.3, released 2016-06-06 (yanked)

  • Added resample options to Client#create_continuous_query (#149).

v0.3.2, released 2016-06-02

  • Added config option to authenticate without credentials (#146, @pmenglund).

v0.3.1, released 2016-05-26

  • Fixed #130 (again). Integer values are now really written as Integers to InfluxDB.

v0.3.0, released 2016-04-24

  • Write queries are now checked against 204 No Content responses, in accordance with the official documentation (#128).
  • Async options are now configurabe (#107).

v0.2.6, released 2016-04-14

  • Empty tag keys/values are now omitted (#124).

v0.2.5, released 2016-04-14

  • Async writer now behaves when stopping the client (#73).
  • Update development dependencies and started enforcing Rubocop styles.

v0.2.4, released 2016-04-12

  • Added InfluxDB::Client#version, returning the server version (#117).
  • Fixed escaping issues (#119, #121, #135).
  • Integer values are now written as Integer, not as Float value (#131).
  • Return all result series when querying multiple selects (#134).
  • Made host cycling thread safe (#136).

v0.2.3, released 2015-10-27

  • Added epoch option to client constructor and write methods (#104).
  • Added #list_user_grants (#111), #grant_user_admin_privileges (#112) and #alter_retention_policy (#114) methods.

v0.2.2, released 2015-07-29

  • Fixed issues with Async client (#101)
  • Avoid usage of gsub! (#102)

v0.2.1, released 2015-07-25

  • Fix double quote tags escaping (#98)

v0.2.0, released 2015-07-20

  • Large library refactoring (#88, #90)
    • Extract config from client
    • Extract HTTP functionality to separate module
    • Extract InfluxDB management functions to separate modules
    • Add writer concept
    • Refactor specs (add cases)
    • Add 'denormalize' option to config
    • Recognize SeriesNotFound error
    • Update README
    • Add Rubocop config
    • Break support for Ruby < 2
  • Added support for InfluxDB 0.9+ (#92)

v0.1.9, released 2015-07-04

  • last version to support InfluxDB 0.8.x