- #411: Use new Codecov uploader for reporting code coverage
This release introduces a support for new version of InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi
, QueryApi
, BucketsApi
, OrganizationsApi
...
- Add
LegacyAuthorizationsService
to deal with legacy authorizations - Add
ResourceService
to retrieve all knows resources - Add
BackupService
to represents the data backup functions of InfluxDB - Add
ReplicationsService
to represents the replication functions of InfluxDB - Add
RestoreService
to represents the data restore functions of InfluxDB - Add
ConfigService
to retrieve InfluxDB's runtime configuration - Add
RemoteConnectionsService
to deal with registered remote InfluxDB connections - Add
TelegrafPluginsService
to retrieve all Telegraf's plugins - Update
TemplatesService
to deal withStack
andTemplate
API DBRPsService
:- doesn't requires
org_id
parameter for operations get_dbr_ps_id
operation usesDBRPGet
as a type of resultpatch_dbrpid
operation usesDBRPGet
as a type of resultpost_dbrp
operation usesDBRPCreate
as a type of request
- doesn't requires
DefaultService
:get_routes
operation is moved toRoutesService
get_telegraf_plugin
operation is moved toTelegrafsService
post_signin
operation is moved toSigninService
post_signout
operation is moved toSignoutService
OrganizationsService
:get_orgs_id_secrets
operation is moved toSecretsService
patch_orgs_id_secrets
operation is moved toSecretsService
post_orgs_id_secrets
operation is moved toSecretsService
- Remove
DocumentApi
in favour of InfluxDB Community Templates. For more info see - influxdb#19300, openapi#192 TelegrafsService
usesTelegrafPluginRequest
to createTelegraf
configurationTelegrafsService
usesTelegrafPluginRequest
to updateTelegraf
configuration
- #399: Use the latest InfluxDB OSS API definitions to generated APIs
- #408: Improve error message when the client cannot find organization by name
- #407: Use
pandas.concat()
instead of deprecatedDataFrame.append()
[DataFrame]
- #393: Added callback function for getting profilers output with example and test
- #375: Construct
InfluxDBError
without HTTP response - #378: Correct serialization DataFrame with nan values [DataFrame]
- #384: Timeout can be specified as a
float
- #380: Correct data types for querying [DataFrame]
- #391: Ping function uses debug for log
- #395: Add an example How to use create a Task by API
- #370: Add Python 3.10 to CI builds
- #358: Update management API:
BucketsApi
- add possibility to:update
OrganizationsApi
- add possibility to:update
UsersApi
- add possibility to:update
,delete
,find
- #356: Add
MultiprocessingWriter
to write data in independent OS process
- #359: Correct serialization empty columns into LineProtocol [DataFrame]
InfluxDBClient.health()
: instead useInfluxDBClient.ping()
- #352: Add
PingService
to check status of OSS and Cloud instance
- #344: Add an example How to use Invocable scripts Cloud API
- #330: Add support for write structured data -
NamedTuple
,Data Classes
- #335: Add support for custom precision for index specified as number [DataFrame]
- #341: Add support for handling batch events
- #348: Optimize appending new columns to Pandas DataFrame [DataFrame]
- #331: Add Migration Guide
- #341: How to handle client errors
- #319: Add supports for array expressions in query parameters
- #320: Add JSONEncoder to encode query results to JSON
- #317:
delete_api
also acceptdatetime
as a value forstart
andstop
- #321: Fixes return type for dashboard when
include=properties
is used
- #327: Switch to next-gen CircleCI's convenience images
- #281:
FluxTable
,FluxColumn
andFluxRecord
objects have helpful reprs - #293:
dataframe_serializer
supports batching - #301: Add
proxy_headers
to configuration options - #306: Supports
numpy
type in serialization to Line protocol
- #301: How to configure proxy
- #283: Set proxy server in config file
- #290:
Threshold
domain models mapping - #290:
DashboardService
responses types - #303: Backslash escaping in serialization to Line protocol
- #312: Zip structure for AWS Lambda
- #299: Deploy package to Anaconda.org
- #264: Org parameter can be specified as ID, Name or Organization Object [write, query]
- #264: Deprecated
org_id
options BucketsApi.create_bucket in favor oforg
parameter
- #270: Supports
write_precision
for write Pandas DataFrame
This release introduces a support for new InfluxDB OSS API definitions - oss.yml. The following breaking changes are in underlying API services and doesn't affect common apis such as - WriteApi
, QueryApi
, BucketsApi
, OrganizationsApi
...
AuthorizationsService
usesAuthorizationPostRequest
to createAuthorization
BucketsService
usesPatchBucketRequest
to updateBucket
DashboardsService
usesPatchDashboardRequest
to updateDashboard
DeleteService
is used to delete time series date instead ofDefaultService
DBRPs
contains list ofDBRP
incontent
propertyOrganizationsService
usesPostOrganizationRequest
to createOrganization
Run
contains list ofLogEvent
inlog
propertyOrganizationsService
usesPatchOrganizationRequest
to updateOrganization
OnboardingResponse
usesUserResponse
asuser
propertyResourceMember
andResourceOwner
inherits fromUserResponse
Users
contains list ofUserResponse
inusers
propertyUsersService
usesUserResponse
as a response to requests
- #237: Use kwargs to pass query parameters into API list call - useful for the ability to use pagination.
- #241: Add detail error message for not supported type of
Point.field
- #238: Add possibility to specify default
timezone
for datetimes withouttzinfo
- #262: Add option
auth_basic
to allow proxied access to InfluxDB 1.8.x compatibility API
- #254: Serialize
numpy
floats into LineProtocol
- #255: Fix invalid description for env var
INFLUXDB_V2_CONNECTION_POOL_MAXSIZE
- #261: Use InfluxDB OSS API definitions to generated APIs
- #222: Pass configured timeout to HTTP client
- #218: Support for
with .. as ..
statement - #232: Specify package requirements in
setup.py
- #235: Write a dictionary-style object without tags
- #206: Use default (system) certificates instead of Mozilla's root certificates (certifi.where())
- #217: Fix clone_task function
- #209: Allow setting shard-group durations for buckets via API
- #202: Added an example how to use RxPY and sync batching
- #213: Added an example how to use Buckets API
- #193: Fixed
tasks_api
to use proper function to getRun
- #200: Updated docs, examples, tests: use
close
instead of__del__
.
- #199: Updated stable image to
influxdb:latest
and nightly toquay.io/influxdb/influxdb:nightly
- #176: Allow providing proxy option to InfluxDBClient
- #179: Updated default docker image to v2.0.3
- #189: Updated docs about
DeleteApi
.
- #171: CSV parser is able to parse export from UI
- #170: Skip DataFrame rows without data - all fields are nan.
- #175: Updated default docker image to v2.0.2
- #163: Added support for Python 3.9
- #161: Added logging message for retries
- #164: Excluded tests from packaging
- #152: WriteApi supports generic Iterable type
- #158: Added possibility to specify certificate file path to verify the peer
- #151: Default port changed from 9999 -> 8086
- #156: Removed labels in organization API, removed Pkg* structure and package service
- #154: Fixed escaping string fields in DataFrame serialization
- #140: Added exponential backoff strategy for batching writes, Allowed to configure default retry strategy. Default value for
retry_interval
is 5_000 milliseconds. - #136: Allows users to skip of verifying SSL certificate
- #143: Skip of verifying SSL certificate could be configured via config file or environment properties
- #141: Added possibility to use datetime nanoseconds precision by
pandas.Timestamp
- #145: Api generator was moved to influxdb-clients-apigen
- #112: Support timestamp with different timezone in _convert_timestamp
- #120: ciso8601 is an optional dependency and has to be installed separably
- #121: Added query_data_frame_stream method
- #132: Use microseconds resolutions for data points
- #117: Fixed appending default tags for single Point
- #115: Fixed serialization of
\n
,\r
and\t
to Line Protocol,=
is valid sign for measurement name - #118: Fixed serialization of DataFrame with empty (NaN) values
- #130: Use
Retry-After
header value for Retryable error codes
- #92: Optimize serializing Pandas DataFrame for writing
- #110: Removed log system from Bucket, Dashboard, Organization, Task and Users API - influxdb#18459, Update swagger to latest version
- #105: Fixed mapping dictionary without timestamp and tags into LineProtocol
- #108: The WriteApi uses precision from Point instead a default precision
- #79: Added support for writing Pandas DataFrame
- #85: Fixed a possibility to generate empty write batch
- #86: BREAKING CHANGE: Fixed parameters in delete api - now delete api accepts also bucket name and org name instead of only ids
- #93: Remove trailing slash from connection URL
- #75: Updated docs to clarify how to use an org parameter
- #84: Clarify how to use a client with InfluxDB 1.8
- #72: Optimize serializing data into Pandas DataFrame
- #59: Set User-Agent to influxdb-client-python/VERSION for all requests
- #61: Correctly parse CSV where multiple results include multiple tables
- #66: Correctly close connection pool manager at exit
- #69:
InfluxDBClient
andWriteApi
could serialized by pickle (python3.7 or higher)
- #52: Initialize client library from config file and environmental properties
- #54: Add Python 3.7 and 3.8 to CI builds
- #56: Fix default tags for write batching, added new test
- #58: Source distribution also contains: requirements.txt, extra-requirements.txt and test-requirements.txt
- #50: Implemented default tags
- #47: Updated swagger to latest version
- #49: Added beta release to continuous integration
- #48: InfluxDBClient default org is used by WriteAPI
- #44: Optimized serialization into LineProtocol, Clarified how to use client for import large amount of data
- #42: Updated swagger to latest version
- #45: Pandas is a optional dependency and has to installed separably
- #29: Added support for serialise response into Pandas DataFrame
- #24: Added possibility to write dictionary-style object
- #27: Added possibility to write bytes type of data
- #30: Added support for streaming a query response
- #35: FluxRecord supports dictionary-style access
- #31: Added support for delete metrics
- #28: Updated swagger to latest version
- #19: Removed strict checking of enum values
- #22: Documented how to connect to InfluxCloud
- #2: The write client is able to write data in batches (configuration:
batch_size
,flush_interval
,jitter_interval
,retry_interval
) - #5: Added support for gzip compression of query response and write body
- #10: Updated swagger to latest version