- #1044: Allow 201 status code in a write response.
- #1005: Token stored as a private class property.
- #1019: Propagates headers from HTTP response when an error is returned from the server.
- #1020: Adds example of working with
HttpError
response.
- Various updates to dependencies
- Various updates to dependencies
- Various updates to dependencies
- #592: Allow to receive query results using for-await loop.
- #624: Upgrade to the latest node v18 LTS.
- #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.
- #611: Upgrade lerna to v6.
- #588: Allow to pause/resume flux query result communication observer.
- #604: Fix unhandled promise rejection in write retry.
- #571: Regenerate APIs from swagger.
- #567: Repair generated API documentation so that links between packages are rendered.
- #570: Rename Headers to HttpHeaders to avoid clash with DOM's Headers type.
- #578: Repair deserialization of a missing boolean value.
- #590: Repair apis URL in the browser example.
- #571: Automate APIs generator, switch to @influxdata/oats.
- #580: Repair doc links to point to latest API docs.
- #590: Improve browser example to use configured bucket.
- #547: Improve write retry buffer.
- #511: Replace rollup with tsup.
- #514: Repair links in generated API documentation.
- #516: Replace ts-node with esbuild-runner.
- #518: Change examples to ES modules.
- #468: Repair sanitizing of number and regexp values.
- #449: Allow to overwrite default write API HTTP path.
- #458: Do not retry write upon 'hinted handoff queue not empty' error.
- #455: Improve
writeAdvanced.js
example.
- #442: Demonstrate invokable scripts in
invokableScripts.js
example.
- #402: Limit write batch maximum size in bytes.
- #403: Make basic authentication optional in generated APIs.
- #412: Regenerate APIs from swagger.
- #401: Repair handling of gzipped responses.
- #405: Add missing PermissionResources from Cloud API definition
- #411: Make basic authentication optional.
- #395: Allow to add extra HTTP headers.
- #395: Allow to setup HTTP proxy for node.js.
- #396: Regenerate APIs from swagger.
- #387: Add FluxScriptInvocationAPI.
- #387: Add invocableScript.js example.
- #390: Add delete.ts example to show how to delete data from a bucket.
- #382: Rename Logger variable to Log.
- #383: Remove undefined fields from request options.
- #386: Do not parse empty JSON response.
- #388: Point to InfluxDB v2.1 / cloud documentation.
- #392: Repair double-escaping of default tags.
- #370: Throw error when int/uint/float point field is out of range.
- #365: Allow following HTTP redirects in node.js.
- #366: Switch to next-gen CircleCI's convenience images
- #362: Regenerate APIs from swagger.
- #347: Parse infinite numbers.
- #341: Add uintField fn to
Point
. - #342: Regenerate APIs from oss.yml.
- #343: Use exponential random retry strategy when writing data.
- #338: Use nanosecond precision by default in
Point.toLineProtocol()
.
- #328: Better Explain Point timestamp.
- #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 inWriteOptions
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 thedecorateRequest
field of FetchTransport. - #332: There are a few incompatible changes in the types used by
UsersAPI
, it now uses aUserResponse
type where aUser
type was used before. AUserResponse
includes all properties of aUser
type.
- #316: Regenerate APIs from swagger.
- #318: Support negative numbers in flux tagged template.
- #302: Expose response headers in all APIs.
- #302: Add
tokens.js
example. - #306: Regenerate APIs from swagger.
- #309: Allow to customize logger.
- #313: Add queryRaw example.
- #311: Upgrade api-extractor and api-documenter.
- #296: Allow to specify escaped field values.
- #295: Regenerate APIs from InfluxDB 2.0.3 swagger.
- #298: Add example node.js application monitoring.
- #271: Introduce
@influxdata/giraffe
package. - #272: Optimize UTF8 processing in the browser.
- #275: Export CSV results parser.
- #275: Export fuction to transform CSV string to giraffe table.
- #275: Add tree shaking optimizations.
- #276: Allow to notify about write success.
- #280: Upgrade to the latest node v14 LTS.
- #283: Allow to specify custom HTTP headers in WriteApi or QueryApi.
- #287: Throw HttpError with code and message from response body.
- #289: Support
deno
. - #292: Add query.deno.ts example.
- #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.
- #267: Introduce
@influxdata/influxdb-client-browser
package.
- #264: Require 204 status code in a write response.
- #265: Make QueryApi instance immutable.
- #270: Do not set User-Agent header in browser.
- #238: Respect context path in client's url option.
- #240: Add helpers to let users choose how to deserialize dateTime:RFC3339 query response data type.
- #248: Change default InfluxDB URL to http://localhost:8086 .
- #250: Simplify precision for WriteApi retrieval.
- #253: Allow to simply receive the whole query response as a string.
- #257: Regenerate APIs from swagger.
- #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.
- #237: Fixed line splitter of query results that might have produced wrong results for query responses with quoted data.
- #242: Repair escaping of backslash in line protocol string field.
- #246: Throw error on attempt to write points using a closed WriteApi instance.
- #252: Repair nesting of flux expressions.
- #259: Finish query when cancelled by the user.
- #219: Sanitize arrays in parameterized flux queries.
- #226: Improve retry strategy.
- #231: Regenerate APIs from swagger.
- #233: Unify default retry strategy settings across all InfluxDB v2 clients.
- #234: Upgrade dependencies.
- #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.
- #215: Add createBucket.js example.
- #218: Add default documentation to body property in generated APIs.
- #220: Generate API constructor with InfluxDB parameter.
- #222: Improve and validate code documentation.
- #224: Generate API documentation for gh-pages.
- #224: Include doc generation into CI and release process.
- #229: Add writeAdvanced.js example.
- #204: Allow to supply default tags in WriteOptions.
- #209: Better report errors when InfluxDB 1.8 returns empty body
- #207: Explain the significance of the precision argument in write example.
- #205: Fixed serialization of
\n
,\r
and\t
to Line Protocol
- #186: Allow to create parameterized queries using flux tagged template.
- #191: Enhance API generator, regenerate APIs from swagger.
- #196: Remove influxql option from Query API.
- #200: Enhance Query API with collectRows and collectLines.
- #201: Allow to supply listener for write failures.
- #203: Regenerate APIs from swagger.
- #189: Add timestamp to write example.
- #193: Explain write API buffering in the write example and API docs.
- #177: Allow to receive query results as Observable
- #181: Update APIs from swagger as of 2020-04-30
- #182: Allow setting the time that should be reported as "now" in the query
- #183: Remove trailing slash from connection URL
- #185: Allow to create WriteApi with custom write options.
- #174: Allow to set Point's timestamp using Date or number
- #175: Clarify how to use a client with InfluxDB 1.8
- #167: The CircleCI publish prerelease packages
- #152: Set User-Agent to influxdb-client-js/VERSION for all requests
- initial release of new client version
- initial release of new client version