Skip to content

Latest commit

 

History

History
496 lines (300 loc) · 22.5 KB

CHANGELOG.md

File metadata and controls

496 lines (300 loc) · 22.5 KB

1.36.0 [unreleased]

1.35.0 [2024-08-15]

Bug Fixes

  1. #1044: Allow 201 status code in a write response.

1.34.0 [2024-07-26]

Breaking Changes

⚠️ Drop supports for node v14, v15 and v16 in CI.

Features:

  1. #1005: Token stored as a private class property.
  2. #1019: Propagates headers from HTTP response when an error is returned from the server.
  3. #1020: Adds example of working with HttpError response.

CI

  1. #893: Add node v20 to CI.
  2. #953: Add node v21 to CI.

1.33.2 [2023-02-23]

Bug Fixes

  1. Various updates to dependencies

1.33.1 [2023-01-26]

Bug Fixes

  1. Various updates to dependencies

1.33.0 [2022-12-02]

Bug Fixes

  1. Various updates to dependencies

1.32.0 [2022-11-01]

Features

  1. #592: Allow to receive query results using for-await loop.

Other

  1. #624: Upgrade to the latest node v18 LTS.

Breaking Changes

  1. #592: The client packages newly require ES2018 runtime (was ES2015). The javascript code now needs async generators and for-await loop. At least the latest node 14 is required because of mature support for iterable http response. Deno and all current modern browsers support ES2018 for years back. This change shoudn't cause any harm in existing installations. In case of troubles, configure your project with babel ES2018 preset to produce ES2015 code.

Other

  1. #611: Upgrade lerna to v6.

1.31.0 [2022-10-03]

Features

  1. #588: Allow to pause/resume flux query result communication observer.

Bug Fixes

  1. #604: Fix unhandled promise rejection in write retry.

1.30.0 [2022-09-29]

Features

  1. #571: Regenerate APIs from swagger.

Bug Fixes

  1. #567: Repair generated API documentation so that links between packages are rendered.
  2. #570: Rename Headers to HttpHeaders to avoid clash with DOM's Headers type.
  3. #578: Repair deserialization of a missing boolean value.
  4. #590: Repair apis URL in the browser example.

Other

  1. #571: Automate APIs generator, switch to @influxdata/oats.
  2. #580: Repair doc links to point to latest API docs.
  3. #590: Improve browser example to use configured bucket.

1.29.0 [2022-08-25]

Features

  1. #547: Improve write retry buffer.

Other

  1. #511: Replace rollup with tsup.
  2. #514: Repair links in generated API documentation.
  3. #516: Replace ts-node with esbuild-runner.
  4. #518: Change examples to ES modules.

1.28.0 [2022-07-29]

Features

  1. #460: Add type definitions for typescript 4.7+.
  2. #469: Support bigint in flux tagged template.

Bug Fixes

  1. #468: Repair sanitizing of number and regexp values.

Other

  1. #462: Upgrade to typescript 4.7.
  2. #465: Upgrade lerna to v5.
  3. #466: Upgrade prettier to v2.

1.27.0 [2022-06-24]

Features

  1. #449: Allow to overwrite default write API HTTP path.

Bug Fixes

  1. #458: Do not retry write upon 'hinted handoff queue not empty' error.

Other

  1. #455: Improve writeAdvanced.js example.

1.26.0 [2022-05-20]

Features

  1. #442: Regenerate APIs from swagger.
  2. #447: Allow custom transport options in a browser.

Other

  1. #442: Demonstrate invokable scripts in invokableScripts.js example.

1.25.0 [2022-04-19]

Features

  1. #431: Regenerate APIs from swagger.
  2. #434: Support write consistency query parameter.

Other

  1. #429: Improve query examples.
  2. #430: Upgrade dependencies.
  3. #433: Improve flux function tests.

1.24.0 [2022-03-18]

Features

  1. #416: Simplify retrieval of particular row values.
  2. #421: Enhance writeFailed callback.

CI

  1. #422: Upgrade development js libraries.
  2. #423: Upgrade lerna to v4.

1.23.0 [2022-02-18]

Features

  1. #402: Limit write batch maximum size in bytes.
  2. #403: Make basic authentication optional in generated APIs.
  3. #412: Regenerate APIs from swagger.

Bug Fixes

  1. #401: Repair handling of gzipped responses.
  2. #405: Add missing PermissionResources from Cloud API definition
  3. #411: Make basic authentication optional.

1.22.0 [2022-01-20]

Features

  1. #395: Allow to add extra HTTP headers.
  2. #395: Allow to setup HTTP proxy for node.js.
  3. #396: Regenerate APIs from swagger.

1.21.0 [2021-11-26]

Features

  1. #387: Add FluxScriptInvocationAPI.
  2. #387: Add invocableScript.js example.
  3. #390: Add delete.ts example to show how to delete data from a bucket.

Bug Fixes

  1. #382: Rename Logger variable to Log.
  2. #383: Remove undefined fields from request options.
  3. #386: Do not parse empty JSON response.
  4. #388: Point to InfluxDB v2.1 / cloud documentation.
  5. #392: Repair double-escaping of default tags.

1.20.0 [2021-10-26]

Features

  1. #374: Add FunctionsAPI.
  2. #374: Regenerate APIs from swagger.

1.19.0 [2021-10-22]

Bug Fixes

  1. #370: Throw error when int/uint/float point field is out of range.

1.18.0 [2021-09-17]

Features

  1. #365: Allow following HTTP redirects in node.js.

CI

  1. #366: Switch to next-gen CircleCI's convenience images

1.17.0 [2021-08-25]

Features

  1. #362: Regenerate APIs from swagger.

Documentation

  1. #361: Document how to setup proxy.
  2. #362: Use ping API in examples.

1.16.0 [2021-08-20]

Features

  1. #346: Make QueryApi compatible with rxjs7.
  2. #351: Upgrade to typescript 4.3.5.

Bug Fixes

  1. #347: Parse infinite numbers.

Documentation

  1. #351: Upgrade api-extractor and api-documenter.
  2. #360: Clarify node vs browser usage.

1.15.0 [2021-07-09]

Features

  1. #341: Add uintField fn to Point.
  2. #342: Regenerate APIs from oss.yml.
  3. #343: Use exponential random retry strategy when writing data.

1.14.0 [2021-06-04]

Features

  1. #338: Use nanosecond precision by default in Point.toLineProtocol().

1.13.0 [2021-04-30]

Features

  1. #326: Apply gzip compression to writes.
  2. #332: Regenerate APIs from oss.yml.

Bug Fixes

  1. #328: Better Explain Point timestamp.

Breaking Changes

  1. #326: Write request to InfluxDB is gzipped if the size greater than 1000 bytes, this change optimizes communication with InfluxDB. Whenever required, the gzipThreshold can be changed in WriteOptions during the creation of Write API. The gzip compression work fine in the node.js environment, but it does not work OOTB in the browser. The browser transport must be customized to do gzip, an example is provided in the decorateRequest field of FetchTransport.
  2. #332: There are a few incompatible changes in the types used by UsersAPI, it now uses a UserResponse type where a User type was used before. A UserResponse includes all properties of a User type.

1.12.0 [2021-04-01]

Features

  1. #316: Regenerate APIs from swagger.

Bug Fixes

  1. #318: Support negative numbers in flux tagged template.

1.11.0 [2021-03-05]

Features

  1. #302: Expose response headers in all APIs.
  2. #302: Add tokens.js example.
  3. #306: Regenerate APIs from swagger.
  4. #309: Allow to customize logger.
  5. #313: Add queryRaw example.

Bug Fixes

  1. #304: Use the latest client in query.deno.ts example.
  2. #305: Remove deprecated zlib constants.

Documentation

  1. #311: Upgrade api-extractor and api-documenter.

1.10.0 [2021-01-29]

Features

  1. #296: Allow to specify escaped field values.
  2. #295: Regenerate APIs from InfluxDB 2.0.3 swagger.
  3. #298: Add example node.js application monitoring.

1.9.0 [2020-12-04]

Features

  1. #271: Introduce @influxdata/giraffe package.
  2. #272: Optimize UTF8 processing in the browser.
  3. #275: Export CSV results parser.
  4. #275: Export fuction to transform CSV string to giraffe table.
  5. #275: Add tree shaking optimizations.
  6. #276: Allow to notify about write success.
  7. #280: Upgrade to the latest node v14 LTS.
  8. #283: Allow to specify custom HTTP headers in WriteApi or QueryApi.
  9. #287: Throw HttpError with code and message from response body.
  10. #289: Support deno.
  11. #292: Add query.deno.ts example.

Breaking Changes

  1. #291: Remove WritePrecision const enum. A typescript code has to be changed to use the precision value directly ('ns' in place of WritePrecision.ns). No changes are required for a javascript code or a typescript code that already uses the precision value directly.

1.8.0 [2020-10-30]

Features

  1. #267: Introduce @influxdata/influxdb-client-browser package.

Bug Fixes

  1. #264: Require 204 status code in a write response.
  2. #265: Make QueryApi instance immutable.
  3. #270: Do not set User-Agent header in browser.

1.7.0 [2020-10-02]

Features

  1. #238: Respect context path in client's url option.
  2. #240: Add helpers to let users choose how to deserialize dateTime:RFC3339 query response data type.
  3. #248: Change default InfluxDB URL to http://localhost:8086 .
  4. #250: Simplify precision for WriteApi retrieval.
  5. #253: Allow to simply receive the whole query response as a string.
  6. #257: Regenerate APIs from swagger.

Breaking Changes

  1. #258: Convert FluxTableColumn and FluxTableMetaData to interface. This change is unlikely to cause any harm, since the clients are expected to use only FluxTableColumn/FluxTableMetaData fields or methods that didn't change. See #258 for details and backward compatibility notes.

Bug Fixes

  1. #237: Fixed line splitter of query results that might have produced wrong results for query responses with quoted data.
  2. #242: Repair escaping of backslash in line protocol string field.
  3. #246: Throw error on attempt to write points using a closed WriteApi instance.
  4. #252: Repair nesting of flux expressions.
  5. #259: Finish query when cancelled by the user.

1.6.0 [2020-08-14]

Features

  1. #219: Sanitize arrays in parameterized flux queries.
  2. #226: Improve retry strategy.
  3. #231: Regenerate APIs from swagger.
  4. #233: Unify default retry strategy settings across all InfluxDB v2 clients.
  5. #234: Upgrade dependencies.

Breaking Changes

  1. #227: Change default number serializers to return null when no value is found. This change affects the output of tableMeta.toObject(row), see #227 for details and backward compatibility notes.

Documentation

  1. #215: Add createBucket.js example.
  2. #218: Add default documentation to body property in generated APIs.
  3. #220: Generate API constructor with InfluxDB parameter.
  4. #222: Improve and validate code documentation.
  5. #224: Generate API documentation for gh-pages.
  6. #224: Include doc generation into CI and release process.
  7. #229: Add writeAdvanced.js example.

1.5.0 [2020-07-17]

Features

  1. #204: Allow to supply default tags in WriteOptions.
  2. #209: Better report errors when InfluxDB 1.8 returns empty body

Documentation

  1. #207: Explain the significance of the precision argument in write example.

Bug Fixes

  1. #205: Fixed serialization of \n, \r and \t to Line Protocol

1.4.0 [2020-06-19]

Features

  1. #186: Allow to create parameterized queries using flux tagged template.
  2. #191: Enhance API generator, regenerate APIs from swagger.
  3. #196: Remove influxql option from Query API.
  4. #200: Enhance Query API with collectRows and collectLines.
  5. #201: Allow to supply listener for write failures.
  6. #203: Regenerate APIs from swagger.

Documentation

  1. #189: Add timestamp to write example.
  2. #193: Explain write API buffering in the write example and API docs.

1.3.0 [2020-05-15]

Features

  1. #177: Allow to receive query results as Observable
  2. #181: Update APIs from swagger as of 2020-04-30
  3. #182: Allow setting the time that should be reported as "now" in the query
  4. #183: Remove trailing slash from connection URL
  5. #185: Allow to create WriteApi with custom write options.

1.2.0 [2020-04-17]

Features

  1. #174: Allow to set Point's timestamp using Date or number

Bug Fixes

  1. #160: Disabled using credentials for CORS
  2. #173: Use links that are clickable in VSCode

Security

  1. #157: ESLint dependencies are vulnerable (ReDoS and Prototype Pollution)

Documentation

  1. #175: Clarify how to use a client with InfluxDB 1.8

CI

  1. #167: The CircleCI publish prerelease packages

1.1.0 [2020-03-13]

Features

  1. #152: Set User-Agent to influxdb-client-js/VERSION for all requests

1.0.0 [2020-03-09]

Core

  • initial release of new client version

Apis

  • initial release of new client version