Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

Releases: talkiq/gcloud-rest

3.0.0

15 Oct 04:01
5141034
Compare
Choose a tag to compare

DEPRECATION

This repository and the gcloud-rest project is now officially deprecated and will see no future development. Please see the gcloud-aio repository for all future work.

We now autogenerate gcloud-rest-* from the gcloud-aio codebase; eg. if you were using gcloud-rest-datastore, that project is still ongoing (but it is now generated from the gcloud-aio repository and has seen a major version bump!). If you were using the gcloud-rest package, you can migrate to using the individual gcloud-rest-* packages as need be, eg. gcloud-rest-kms for KMS support.

Please submit any issues, PRs, comments, etc to the gcloud-aio repository!

datastore-1.2.0

28 Aug 22:37
db80eff
Compare
Choose a tag to compare

Features

Add support for projection and distinctOn in queries (#49)

datastore-1.1.0

22 Jul 22:43
76e586d
Compare
Choose a tag to compare

Features

Add support for geoPointValue (#40)

2.0.0

18 Jul 18:29
cd47ee8
Compare
Choose a tag to compare

Removals

gcloud.rest.taskqueue has been removed from this library -- the v2beta2 API (which was the last Google API to support Pull Queues) has officially been sunset, so our code may as well follow suit. In the future, we will likely re-introduce this library to support Push queues.

If you were using Pull Queues, Google recommends switching over to Pub/Sub.

datastore-1.0.0

09 Jul 18:51
d22e6de
Compare
Choose a tag to compare

Features

This marks the first release of gcloud-rest-datastore, our first project released independently from gcloud-rest -- we will be continuing work on refactoring this project to allow independent release cycles for each utility; ie. gcloud-rest's KMS module will soon become gcloud-rest-kms, etc.

As mentioned in the 1.6.0 release notes, we are now working on the unification of the gcloud-aio and gcloud-rest projects. As such, gcloud-rest-datastore==1.0.0 is pretty much a carbon copy of gcloud-aio-datastore==4.3.0 (latest at the time of this release), modified to fit in the -rest ecosystem.

The new features are too many to list; gcloud-rest-datastore supports a whole slew of Google Datastore features as outlined in its README. For a release-by-release breakdown, see the gcloud-aio release log.

1.6.0

02 Jul 00:02
ce885ce
Compare
Choose a tag to compare

Auth

This release marks the first step in unification of gcloud-aio and gcloud-rest; this project has been deprecated for a while, so -aio got pretty far ahead in feature support and fixes. Over the next several releases, we will be migrating all new features from gcloud-aio into this RESTful version!

Features

This release includes the new IamClient class, which includes support for getting and listing service account keys (IamClient.get_public_key() and IamClient.list_public_key()) and blob signing (IamClient.sign_blob()).

The Token class has been updated to include support for personal CloudSDK credentials and credential-less usage on GCE/GKE/GAEv2 instances through the GCP metadata server. Furthermore, token retreival should be all around more resilient to any issues such as network blips.

Deprecations

In keeping with the above, we want to make sure that the APIs of gcloud-aio and gcloud-rest are the same. That mostly means changing some variable names and types and moving around some methods. This release will start printing DeprecationWarnings on some usages of Token -- we encourage you to update following the advice in those warnings. We will be removing fallback code in v2.0, at which point your old code will start failing if you've not updated it accordingly.

The changes should be very straightforward, assuming you're using only the publically exposed APIs of gcloud-rest:

  • Token(creds, ...) is now Token(service_file)
  • Token(timeout) is no longer used
  • Token.acquire() is now Token.acquire_access_token(). Unchanged: you still probably don't need to call this manually.
  • Token.ensure() is now Token.ensure_token(). Unchanged: you still probably don't need to call this manually.

1.5.2

09 Aug 21:53
2938dfd
Compare
Choose a tag to compare

TaskManager

  • remove some instances of double-logging
  • handle 429s silently -- the pre-existing backoff logic was correct, so there's not much need to log the HTTPResponse

1.5.1

09 Aug 21:26
ce9eaa7
Compare
Choose a tag to compare

Fixes

  • Ensure cryptography is a dependency, rather than relying on requests[security]. This should help avoid edge cases with pip's dependency resolver (see pypa/pip#4957)

Minor

  • attach more info to exception logs

1.5.0

05 Jul 21:55
9941564
Compare
Choose a tag to compare

TaskManager

  • fix: add early guard for tasks which have failed more than retry_limit but have not yet been deadlettered

1.4.0

28 Jun 20:45
3c7878b
Compare
Choose a tag to compare

KMS

  • implement first version of KMS API (encrypt and decrypt)