couchbase 3.8.0 → 3.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ext/cache/extconf_include.rb +4 -4
  4. data/ext/cache/mozilla-ca-bundle.crt +3 -575
  5. data/ext/cache/mozilla-ca-bundle.sha256 +1 -1
  6. data/ext/couchbase/CMakeLists.txt +3 -1
  7. data/ext/couchbase/core/error_context/base_error_context.hxx +32 -0
  8. data/ext/couchbase/core/error_context/key_value.cxx +1 -0
  9. data/ext/couchbase/core/error_context/key_value.hxx +23 -0
  10. data/ext/couchbase/core/error_context/key_value_error_context.hxx +35 -0
  11. data/ext/couchbase/core/error_context/subdocument_error_context.hxx +41 -0
  12. data/ext/couchbase/core/impl/binary_collection.cxx +123 -88
  13. data/ext/couchbase/core/impl/collection.cxx +416 -189
  14. data/ext/couchbase/core/impl/error.cxx +29 -4
  15. data/ext/couchbase/core/impl/invoke_with_node_id.hxx +44 -0
  16. data/ext/couchbase/core/impl/node_id.cxx +110 -0
  17. data/ext/couchbase/core/impl/node_id.hxx +40 -0
  18. data/ext/couchbase/core/io/http_session_manager.hxx +97 -57
  19. data/ext/couchbase/core/operations/document_get_all_replicas.hxx +14 -4
  20. data/ext/couchbase/core/operations/document_get_projected.cxx +3 -4
  21. data/ext/couchbase/core/operations/document_lookup_in_all_replicas.hxx +4 -0
  22. data/ext/couchbase/core/operations/document_query.cxx +12 -12
  23. data/ext/couchbase/core/operations/management/collection_create.cxx +11 -11
  24. data/ext/couchbase/core/operations/management/collection_drop.cxx +11 -11
  25. data/ext/couchbase/core/operations/management/collection_update.cxx +11 -11
  26. data/ext/couchbase/core/operations/management/error_utils.cxx +9 -6
  27. data/ext/couchbase/core/operations/management/query_index_create.cxx +5 -4
  28. data/ext/couchbase/core/operations/management/query_index_drop.cxx +7 -6
  29. data/ext/couchbase/core/operations/management/scope_create.cxx +12 -13
  30. data/ext/couchbase/core/operations/management/scope_drop.cxx +8 -9
  31. data/ext/couchbase/core/topology/configuration.cxx +21 -0
  32. data/ext/couchbase/core/topology/configuration.hxx +28 -0
  33. data/ext/couchbase/core/utils/contains_string.cxx +61 -0
  34. data/ext/couchbase/core/utils/contains_string.hxx +26 -0
  35. data/ext/couchbase/couchbase/collection.hxx +73 -0
  36. data/ext/couchbase/couchbase/error.hxx +16 -0
  37. data/ext/couchbase/couchbase/node_id.hxx +123 -0
  38. data/ext/couchbase/couchbase/node_id_for_options.hxx +61 -0
  39. data/ext/couchbase/couchbase/node_ids_options.hxx +62 -0
  40. data/ext/couchbase/couchbase/result.hxx +42 -0
  41. data/ext/rcb_crud.cxx +2 -0
  42. data/ext/rcb_logger.cxx +15 -17
  43. data/lib/couchbase/datastructures/couchbase_list.rb +1 -0
  44. data/lib/couchbase/datastructures/couchbase_map.rb +1 -0
  45. data/lib/couchbase/datastructures/couchbase_queue.rb +1 -0
  46. data/lib/couchbase/datastructures/couchbase_set.rb +1 -0
  47. data/lib/couchbase/errors.rb +1 -1
  48. data/lib/couchbase/json_transcoder.rb +1 -1
  49. data/lib/couchbase/options.rb +2 -2
  50. data/lib/couchbase/protostellar/client.rb +0 -2
  51. data/lib/couchbase/protostellar/cluster.rb +4 -0
  52. data/lib/couchbase/protostellar/generated/admin/analytics/v1/analytics_pb.rb +54 -0
  53. data/lib/couchbase/protostellar/generated/admin/analytics/v1/analytics_services_pb.rb +51 -0
  54. data/lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_pb.rb +5 -24
  55. data/lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_services_pb.rb +16 -0
  56. data/lib/couchbase/protostellar/generated/admin/collection/v1/collection_pb.rb +5 -24
  57. data/lib/couchbase/protostellar/generated/admin/collection/v1/collection_services_pb.rb +16 -0
  58. data/lib/couchbase/protostellar/generated/admin/query/v1/query_pb.rb +5 -24
  59. data/lib/couchbase/protostellar/generated/admin/query/v1/query_services_pb.rb +18 -0
  60. data/lib/couchbase/protostellar/generated/admin/search/v1/search_pb.rb +2 -23
  61. data/lib/couchbase/protostellar/generated/admin/search/v1/search_services_pb.rb +23 -0
  62. data/lib/couchbase/protostellar/generated/analytics/v1/analytics_pb.rb +4 -25
  63. data/lib/couchbase/protostellar/generated/analytics/v1/analytics_services_pb.rb +10 -0
  64. data/lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_pb.rb +6 -25
  65. data/lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_services_pb.rb +18 -0
  66. data/lib/couchbase/protostellar/generated/internal/xdcr/v1/xdcr_pb.rb +46 -0
  67. data/lib/couchbase/protostellar/generated/internal/xdcr/v1/xdcr_services_pb.rb +56 -0
  68. data/lib/couchbase/protostellar/generated/kv/v1/kv_pb.rb +3 -26
  69. data/lib/couchbase/protostellar/generated/kv/v1/kv_services_pb.rb +47 -0
  70. data/lib/couchbase/protostellar/generated/query/v1/query_pb.rb +4 -26
  71. data/lib/couchbase/protostellar/generated/query/v1/query_services_pb.rb +10 -0
  72. data/lib/couchbase/protostellar/generated/routing/v2/routing_pb.rb +26 -0
  73. data/lib/couchbase/protostellar/generated/routing/v2/routing_services_pb.rb +43 -0
  74. data/lib/couchbase/protostellar/generated/search/v1/search_pb.rb +5 -26
  75. data/lib/couchbase/protostellar/generated/search/v1/search_services_pb.rb +11 -0
  76. data/lib/couchbase/protostellar/generated/transactions/v1/transactions_pb.rb +2 -23
  77. data/lib/couchbase/protostellar/generated/transactions/v1/transactions_services_pb.rb +30 -0
  78. data/lib/couchbase/protostellar/generated/view/v1/view_pb.rb +2 -23
  79. data/lib/couchbase/protostellar/generated/view/v1/view_services_pb.rb +9 -0
  80. data/lib/couchbase/protostellar/request_generator/admin/collection.rb +4 -2
  81. data/lib/couchbase/protostellar/request_generator/admin/query.rb +2 -0
  82. data/lib/couchbase/protostellar/request_generator/kv.rb +1 -1
  83. data/lib/couchbase/protostellar/scope.rb +4 -0
  84. data/lib/couchbase/utils/observability.rb +10 -4
  85. data/lib/couchbase/version.rb +1 -1
  86. metadata +19 -7
  87. data/lib/couchbase/protostellar/generated/routing/v1/routing_pb.rb +0 -52
  88. data/lib/couchbase/protostellar/generated/routing/v1/routing_services_pb.rb +0 -30
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 813511324b2b710b8cbd506baa2c667681aa76196f03d18bf4794937816b1752
4
- data.tar.gz: 8be9b87e36bfc0107177d03a52639ba3f4a1ab77611ae3f11c42b8920fd1753e
3
+ metadata.gz: fbb98c4aa181b040acdc62e785326b4b8936ed2bc8e9b14f0c7266b327ce4eb0
4
+ data.tar.gz: 135d823382c9751150329e77e496e2a587a3d988844d5891e9510a8d986e32e8
5
5
  SHA512:
6
- metadata.gz: 7588419b1c521b519a3b6254c69d256e1d028c9a5ee3abf5ecdfc76dd8e694924697c837e49a7edc7089bebfc5b97aa7532075a06ed9f97a7507c8ba8bd1b489
7
- data.tar.gz: 37a97565573466d39914827c04060842e47b853c3f5d187ac699e1af9017076456e937de7ff51986e71bbef955f876beb74df06cba4c6d3c8abe6cafac4ca317
6
+ metadata.gz: 37e01b547103e82da0e9712a292959731ca77039b14e55fd4a5ff7b5273da4442f1af8f1d25c18fa101dcca45fb328495525d871a9dbf071c319b4fa1489424e
7
+ data.tar.gz: 4bc55960dfcaca68decfdc326d72c96056a63408ef41c4a4c19ddacd32c5d82509e0e8f4e3c59b2d68e63629fd48aa60987dd7d1cd319f73759743da341f0832
data/README.md CHANGED
@@ -23,7 +23,7 @@ The library has been tested with MRI 3.2, 3.3, 3.4 and 4.0. Supported platforms
23
23
  Add this line to your application's Gemfile:
24
24
 
25
25
  ```ruby
26
- gem "couchbase", "3.8.0"
26
+ gem "couchbase", "3.8.1"
27
27
  ```
28
28
 
29
29
  And then execute:
@@ -3,7 +3,7 @@ cmake_flags << "-DCPM_USE_NAMED_CACHE_DIRECTORIES=ON"
3
3
  cmake_flags << "-DCPM_USE_LOCAL_PACKAGES=OFF"
4
4
  cmake_flags << "-DCPM_SOURCE_CACHE=#{File.expand_path('cache', __dir__)}"
5
5
  cmake_flags << "-DCOUCHBASE_CXX_CLIENT_EMBED_MOZILLA_CA_BUNDLE_ROOT=#{File.expand_path('cache', __dir__)}"
6
- cmake_flags << "-DEXT_GIT_REVISION=c609eb00e1add25ee13de4f59ef04f61b6458460"
7
- cmake_flags << "-DCOUCHBASE_CXX_CLIENT_GIT_REVISION=fb3f860843c3ca594f2676225dcc95ed8d6c1375"
8
- cmake_flags << "-DCOUCHBASE_CXX_CLIENT_GIT_DESCRIBE=1.3.1-0-gfb3f860"
9
- cmake_flags << "-DCOUCHBASE_CXX_CLIENT_BUILD_TIMESTAMP=2026-03-20T20:19:59"
6
+ cmake_flags << "-DEXT_GIT_REVISION=2c61cd44005215cde1147b4f63461c378f23b3c7"
7
+ cmake_flags << "-DCOUCHBASE_CXX_CLIENT_GIT_REVISION=49d3be2fc0fcde4118e2b720b6041bbbd9c87420"
8
+ cmake_flags << "-DCOUCHBASE_CXX_CLIENT_GIT_DESCRIBE=1.3.2-0-g49d3be2f"
9
+ cmake_flags << "-DCOUCHBASE_CXX_CLIENT_BUILD_TIMESTAMP=2026-06-02T16:50:29"