Cosmonaut
Cosmonaut copied to clipboard
Cosmonaut v3 SDK
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
ToPagedListAsyncmethod. - WithPagination that take a token can use the
ToPagedListAsyncmethod with a page size and get the next token back -
ToListWithContinuationAsyncterminal method was added to return both results and continuation token back - CosmosResponse now contains the
ResponseMessageso you have full access to the actual response and the Stream - Added the
CosmosJsonNetSerializerwhich 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.