Skip to content

feat: update to azure cosmos sdk v4(step1: CRUD)#81

Merged
thunderz99 merged 1 commit into
masterfrom
feat/use-sdkv4-and-remove-sdkv2
Mar 6, 2024
Merged

feat: update to azure cosmos sdk v4(step1: CRUD)#81
thunderz99 merged 1 commit into
masterfrom
feat/use-sdkv4-and-remove-sdkv2

Conversation

@thunderz99
Copy link
Copy Markdown
Owner

@thunderz99 thunderz99 commented Mar 1, 2024

Backgroud

v2 is deprecated by Azure.

https://azure.github.io/azure-sdk/releases/deprecated/java.html
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/migrate-java-v4-sdk?tabs=java-v4-async

Before

  • CRUD : v2
  • query : v2
  • database operations: v2
  • container operations: v2
  • patch(JSON Patch) : v4
  • batch operations : v4
  • bulk operations : v4

After

  • CRUD : v4
  • query : v2
  • database operations: v2
  • container operations: v2
  • patch(JSON Patch) : v4
  • batch operations : v4
  • bulk operations : v4

TODO

  • query will be done at step2 (0.6.2)
  • db / container operations will be done at step3(0.6.3)

@thunderz99 thunderz99 changed the title [WIP]feat: update to azure cosmos sdk v4 feat: update to azure cosmos sdk v4(step1: CRUD) Mar 6, 2024
@thunderz99 thunderz99 force-pushed the feat/use-sdkv4-and-remove-sdkv2 branch from eb64718 to 5a3b6db Compare March 6, 2024 00:36
@thunderz99 thunderz99 force-pushed the feat/use-sdkv4-and-remove-sdkv2 branch from 5a3b6db to 8baa66e Compare March 6, 2024 10:23
@thunderz99 thunderz99 merged commit 566f380 into master Mar 6, 2024
@thunderz99 thunderz99 deleted the feat/use-sdkv4-and-remove-sdkv2 branch September 7, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant