Releases: InfluxCommunity/influxdb3-python
Releases · InfluxCommunity/influxdb3-python
0.20.0
Features
- #208: Add
influx3 queryCLI support for executing SQL/InfluxQL queries with JSON/JSONL/CSV/pretty output, including module execution viapython -m influxdb_client_3. - #213: Add partial write support and default writes to the V2 API endpoint.
See Partial writes for more.
no_syncrequiresuse_v2_api=False;accept_partialapplies only to V3 API endpoint writes.
Others
- #215:
- Remove cookie/session-based signin/signout support from the writing client.
- Remove basic authentication with a username and password.
0.19.0
0.18.0
0.17.0
Features
- #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.
Bug Fixes
- #177: Fix
TypeErrorwhen writing DataFrames. Serializer-specific kwargs (e.g.,data_frame_measurement_name) are now filtered before being passed to the HTTP layer.
What's Changed
- feat: make setting timeout values more visible and meaningful for users by @karel-rehor in #158
- fix: matrix not run properly by @NguyenHoangSon96 in #164
- docs: simplify wording of root cert inclusion comment by @oclyke in #131
- fix: support ipv6 hosts by @oclyke in #132
- Revert "fix: support ipv6 hosts" by @bednar in #166
- ci: remove workflow trigger by @NguyenHoangSon96 in #167
- chore: remove unused nightly workflow from CircleCI config by @NguyenHoangSon96 in #169
- chore: update CHANGELOG for config.yml and spacing fixes by @NguyenHoangSon96 in #168
- fix: update tests to use
ConstantFlightServerDelayedfor timeout by @NguyenHoangSon96 in #176 - feat: Add Dedicated DataFrame Methods for Writing and Querying by @lebuni in #177
- fix: remove unused import of MagicMock in test_influxdb_client_3.py by @bednar in #178
- feat: disable grpc response compression by @jansimonb in #179
- feat: add flush for batch writing by @lebuni in #180
- fix: add annotations for python3.8 by @NguyenHoangSon96 in #183
New Contributors
- @lebuni made their first contribution in #177
Full Changelog: v0.16.0...v0.17.0
v0.16.0
0.15.0
v0.14.0
Features
- #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
v0.13.0
v0.12.0
Features
- #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)Bug Fixes
- #121: Fix use of arguments
verify_sslandssl_ca_certinQueryApi.