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.
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.
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
ToPagedListAsync
method.ToPagedListAsync
method with a page size and get the next token backToListWithContinuationAsync
terminal method was added to return both results and continuation token backResponseMessage
so you have full access to the actual response and the StreamCosmosJsonNetSerializer
which is the default serializer that Cosmonaut will use. It should work like the old one.Please create issues for the preview and attach them to this thread.