Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removing deprecated interfaces and methods #173

Merged
merged 4 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 1.5.0 [In progress]
## 2.0.0 [In progress]
### Breaking changes
1. [#173](https://github.com/influxdata/influxdb-client-go/pull/173) Removed orgs labels API cause [it has been removed from the server API](https://github.com/influxdata/influxdb/pull/19104)
1. [#173](https://github.com/influxdata/influxdb-client-go/pull/173) Removed deprecated API.
1. [#174](https://github.com/influxdata/influxdb-client-go/pull/174) Removed orgs labels API cause [it has been removed from the server API](https://github.com/influxdata/influxdb/pull/19104)

### Features
1. [#165](https://github.com/influxdata/influxdb-client-go/pull/165) Allow overriding the http.Client for the http service.
Expand Down Expand Up @@ -61,6 +62,6 @@

- initial release of new client version

### Apis
### APIs

- initial release of new client version
83 changes: 0 additions & 83 deletions api/authorizations_deprecated.go

This file was deleted.

166 changes: 0 additions & 166 deletions api/buckets_deprecated.go

This file was deleted.

4 changes: 2 additions & 2 deletions api/buckets_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,13 @@ func TestBucketsAPI(t *testing.T) {
buckets, err = bucketsAPI.FindBucketsByOrgID(ctx, *org.Id, api.PagingWithLimit(100))
require.Nil(t, err, err)
require.NotNil(t, buckets)
////+2 for system buckets
//+2 for system buckets
assert.Len(t, *buckets, 30+2)
// test filtering buckets by org name
buckets, err = bucketsAPI.FindBucketsByOrgName(ctx, org.Name, api.PagingWithLimit(100))
require.Nil(t, err, err)
require.NotNil(t, buckets)
////+2 for system buckets
//+2 for system buckets
assert.Len(t, *buckets, 30+2)
// delete buckete
for _, b := range *buckets {
Expand Down
51 changes: 0 additions & 51 deletions api/delete_deprecated.go

This file was deleted.

29 changes: 0 additions & 29 deletions api/http/options_deprecated_test.go

This file was deleted.

Loading