brendanhay/gogol

Please update gogol-datastore to v1

runeksvendsen opened this issue · 6 comments

Hi there

There's a final version of the Datastore API out, v1: https://cloud.google.com/datastore/docs/reference/rest/#collection-v1projects

Will you update gogol-datastore to support this version?

Thank you.

Sure, I'll look at regenerating all the libraries.

The develop branch now has the updated gogol-datastore code. The documentation is as usual available here. I'll release this when the other libraries have been built and tested on CI.

First of all: thanks!

I've now had a chance to try out the library, and everything works as promised. I've tested by starting with a non-transactional insert of an Entity, followed by a repeated number of beginTransaction -> lookup -> commit update/rollback transactions, and everything works like a charm.

Side note: I get around 80 milliseconds average latency for a single of the above transaction type (comprising three requests). Not bad for achieving global consistency.

Great! That's good to know @runeksvendsen, thanks for sharing your findings. When the build for Release 0.1.1 successfully goes through, I'll upload the updated packages to Hackage.

The updated gogol-datastore supporting V1 of the API is now available on Hackage.

Wonderful! Thanks again.