Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Cosmonaut v3 SDK #117

Open
Elfocrash opened this issue Oct 20, 2019 · 0 comments
Open

Cosmonaut v3 SDK #117

Elfocrash opened this issue Oct 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Elfocrash
Copy link
Owner

Finally a preview of Cosmonaut v3 is out

So I took some time to upgrade Cosmonaut to the v3 SDK of Microsoft.Azure.Cosmos.
From what I can see it is about the same performance as the previous version. A bit slower in a few places and a bit faster in others.

You can download Cosmonaut v3 here: https://www.nuget.org/packages/Cosmonaut/3.0.0-preview1

I will start releasing preview versions and I will need you people to test as much as possible and report any issues back so I can fix them

Some breaking changes

  • Anything named "Collection" is now "Container"
  • CosmonautClient has no methods but it will still be needed. I will be using it as a proxy client to do some optimization in future updates
  • Any operation that needed the partition key on the requestoptions object new has it at the signature
  • WithPagination that needed page number and page size will now use the Skip and Take begind the scenes so it will no longer be usable with the ToPagedListAsync method.
  • WithPagination that take a token can use the ToPagedListAsync method with a page size and get the next token back
  • ToListWithContinuationAsync terminal method was added to return both results and continuation token back
  • CosmosResponse now contains the ResponseMessage so you have full access to the actual response and the Stream
  • Added the CosmosJsonNetSerializer which is the default serializer that Cosmonaut will use. It should work like the old one.
  • Many small signature things

Please create issues for the preview and attach them to this thread.

@Elfocrash Elfocrash added the enhancement New feature or request label Oct 20, 2019
@Elfocrash Elfocrash added this to the v3 milestone Oct 20, 2019
@Elfocrash Elfocrash self-assigned this Oct 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant