- #198: Support custom tag order via
tag_orderwrite option. See Sort tags by priority for more.
- #196: Support passing middleware functions to the Flight client.
- #194: Fix
InfluxDBClient3.write_file()andInfluxDBClient3.write_dataframe()fail with batching mode. - #197: InfluxDB 3 Core/Enterprise write errors details handling.
- #177: Add dedicated DataFrame methods for improved usability and type safety:
write_dataframe(): New method for writing pandas and polars DataFrames with explicit parameters (measurement,timestamp_column,tags,timestamp_timezone).query_dataframe(): New method for querying data directly to a pandas or polars DataFrame via theframe_typeparameter.- Updated README with clear examples for DataFrame operations.
- #179: Add option to disable gRPC response
compression for Flight queries:
disable_grpc_compressionparameter inInfluxDBClient3constructorINFLUX_DISABLE_GRPC_COMPRESSIONenvironment variable support infrom_env()
- #180: Add
flush()method toInfluxDBClient3:- Allows flushing the write buffer without closing the client when using batching mode.
- Enables applications to ensure data is written before querying, while keeping the client open for further operations.
- #185:
- Add API Reference page on document page
- Remove old document link.
- Add link to document page in README.md
- #177: Fix
TypeErrorwhen writing DataFrames. Serializer-specific kwargs (e.g.,data_frame_measurement_name) are now filtered before being passed to the HTTP layer.
- #164: Fix pipelines not downloading the correct python images.
- #167:
- Remove incorrect symbol
>>for config.yml. - Added spacing for
<<and>>just for consistency.
- Remove incorrect symbol
- #176: Use
ConstantFlightServerDelayedfor timeout tests. - #183: Temporarily add annotation to support Python 3.8.
- #158 Improved parameters for setting timeouts
InfluxDB3Client()constructor now directly specifieswrite_timeout- timeout in milliseconds to be used when writing data.query_timeout- timeout in milliseconds to be used when querying data.
- Timeouts can be specifically overridden in direct method calls.
client.write()now propagates the argument_request_timeoutas anintin milliseconds on the call stack even in batching mode.client.query()now propagates the argumenttimeoutas afloatin seconds on the call stack.
- #153 Add tests for arm64 CircleCI.
- #146: Add function to get InfluxDB version.
- #149: Run integration tests against a locally started InfluxDB 3 Core server.
- #141 Move "setuptools" package to build dependency.
- #142: Support fast writes without waiting for WAL
persistence:
- New write option (
WriteOptions.no_sync) added:Truevalue means faster write but without the confirmation that the data was persisted. Default value:False. - Supported by self-managed InfluxDB 3 Core and Enterprise servers only!
- Also configurable via environment variable (
INFLUX_WRITE_NO_SYNC). - Long precision string values added from v3 HTTP API:
"nanosecond","microsecond","millisecond","second"( in addition to the existing"ns","us","ms","s").
- New write option (
- #145: Improve the document wording for README.md
- #130: Remove org parameters from the example code because It is not mandatory in Influxdb3
- #139: Supports environment variables with the same name as other clients
- #140: Query api will throw
InfluxdbClientQueryErrorwhen receivingArrowExceptionfrom gRPC servers
- #123: Introduces
query_async()method. From this release the client now has aquery_async()method that takes advantage of asyncio's event loop to run query calls in their own executor.
For example:
table = await client.query_async(query)- #121: Fix use of arguments
verify_sslandssl_ca_certinQueryApi.
- #119: Fix use of
proxyargument in client and query_api to use in channel solution for GRPC proxy.
- #113: Fix import error of
PolarsDataframeSerializerin batching mode
- #108: Better expose access to response headers in
InfluxDBError. Examplehandle_http_erroradded. - #112: Update batching examples, add integration tests of batching.
- #107: Missing
py.typedin distribution package - #111: Reduce log level of disposal of batch processor to DEBUG
- #101: Add support for InfluxDB Edge (OSS) authentication
- #98: Missing declaration for
querymodule
- #89: Use
datetime.fromisoformatoverdateutil.parsein Python 3.11+ - #92: Update
user-agentheader value toinfluxdb3-python/{VERSION}and add it to queries as well.
- #86: Refactor to
timezonespecificdatetimehelpers to avoid use deprecated functions
- #88: Add support for named query parameters:
from influxdb_client_3 import InfluxDBClient3 with InfluxDBClient3(host="https://us-east-1-1.aws.cloud2.influxdata.com", token="my-token", database="my-database") as client: table = client.query("select * from cpu where host=$host", query_parameters={"host": "server01"}) print(table.to_pandas())
- #87: Fix examples to use
write_optionsinstead of the object nameWriteOptions
- #84: Enable packaging type information -
py.typed
- #77: Support using pandas nullable types
- #80: Integrate code style check into CI