pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mongo-c-driver mongo-c-driver: updated to 1....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/029b746730d2
branches:  trunk
changeset: 422927:029b746730d2
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 06 20:20:42 2020 +0000

description:
mongo-c-driver: updated to 1.16.1

mongo-c-driver 1.16.1

I'm pleased to announce version 1.16.1 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson
It is my pleasure to announce libbson 1.16.1.

Features:
Add bson_isspace, a safer isspace alternative.

libmongoc
It is my pleasure to announce the MongoDB C Driver 1.16.1.

Bug fixes:
Fix listed library dependency on mongoc_static target when building with libmongocrypt.
Replace a call of free to bson_free.
Vendor Sphinx basic theme and correctly list static files for docs.
Fix a compilation warning introduced in 1.16.0.


mongo-c-driver 1.16.0

I'm pleased to announce version 1.16.0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson
It is my pleasure to announce libbson 1.16.0.

Bug fixes:
Fix crash if an empty BSON binary value is copied and then appended.
Fix out-of-bounds read when parsing JSON.
Fix out-of-bounds read when parsing base64.

libmongoc
It is my pleasure to announce the MongoDB C Driver 1.16.0.

Features:
Support Client-side Field Level Encryption.
Support ability to pass an index hint to update operations.
Add cmake export targets.

Bug fixes:
Fix a bug with Windows SSPI failing to authenticate with GSSAPI when using
pooled clients for certain operations.
Fix behavior for bulk writes that retry to keep track of the successful server.
Remove hard limit of 1024 characters for SRV response.
Fix racy crash when using client pool against a sharded cluster if a server is invalidated shortly before a new socket is opened against it.
Remove unnecessary library dependencies causing overlinking.
Ensure server proof has been validated during SCRAM conversation.


mongo-c-driver 1.15.3

I'm pleased to announce version 1.15.3 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson
It is my pleasure to announce libbson 1.15.3.
No changes since 1.15.2; release to keep pace with libmongoc's version.

libmongoc
It is my pleasure to announce the MongoDB C Driver 1.15.3.

Bug fixes:
* Fix a hang on macOS when connecting to a server over TLS
* Add zstd as a dependency when libmongoc static library is compiled with zstd support
* Fix compilation on AIX 6.1


mongo-c-driver 1.15.2

I'm pleased to announce version 1.15.2 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson
No changes since 1.15.1; release to keep pace with libmongoc's version.

libmongoc

Bug fixes:
Prevent mongoc_transaction_opts_set_max_commit_time_ms from applying to subsequent transactions that should be using the default.
Do not report the initial error if a retry for a change stream function (mongoc_collection_watch, mongoc_database_watch, or mongoc_client_watch) succeeds


mongo-c-driver 1.15.1

I'm pleased to announce version 1.15.1 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson
No change since 1.15.0; released to keep pace with libmongoc's version.

libmongoc
It is my pleasure to announce the MongoDB C Driver 1.15.1.

Bug fixes:
Fix change stream resume logic when no documents received
Reduce the required cmake version to build with zstd support
Minor fixes to mongos pinning logic
Do not resume a change stream on NonResumableChangeStreamError


mongo-c-driver 1.15.0

I'm pleased to announce version 1.15.0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson
No change since 1.14.1; released to keep pace with libmongoc's version.

libmongoc
It is my pleasure to announce the MongoDB C Driver 1.15.0. This release adds
support for MongoDB 4.2 features.

Features:
Support for sharded transactions on MongoDB sharded clusters 4.2+.
Add convenient transaction runner (mongoc_client_session_with_transaction),
which accepts a callback and performs appropriate retry logic.
Add a new transaction option to specify maximum time to wait for a commit,
mongoc_transaction_opts_set_max_commit_time_ms.
Add URI option "retryReads=true" safely and automatically retries certain
read operations if the server is a MongoDB 3.6+. Note, this may require applications to adjust any custom retry logic to prevent inadvertently retrying for too long
Poll SRV records to mongos servers periodically.
Keep connections alive after a primary stepdown detected.
Standardizes URI options supported across all spec-compliant MongoDB drivers.
"retryWrites" URI option now defaults to true (requires crypto for session
support).
Send any aggregate with $out or $merge stage to a primary.
Add the ability to specify an aggregate pipeline as an update document.
Add a database aggregate helper, mongoc_database_aggregate.
Add option for change streams, "startAfter".
Add mongoc_change_stream_get_resume_token, which returns the resume token
which should be used to resume a change stream.
Add support for zstd compression.

Bug fixes:
Correctly report an error in mongoc_change_stream_next if the resume token
(_id) is not a document. Previously, an error was only reported if the
field was missing.
Fix mongoc_collection_update with MONGOC_UPDATE_MULTI_UPDATE,
mongoc_collection_remove, and mongoc_collection_delete when retryWrites
was enabled. They would fail previously.
Command options are now correctly taken into account when batching bulk
writes for OP_QUERY. It was possible to exceed the maximum document size
before.
Fix a crash if a multi-batch bulk write with OP_MSG errored on a batch.

diffstat:

 databases/mongo-c-driver/Makefile |   5 +-
 databases/mongo-c-driver/PLIST    |  64 ++++++++++++++++++++++++++++++++++++++-
 databases/mongo-c-driver/distinfo |  10 +++---
 3 files changed, 70 insertions(+), 9 deletions(-)

diffs (243 lines):

diff -r 03c451c873cf -r 029b746730d2 databases/mongo-c-driver/Makefile
--- a/databases/mongo-c-driver/Makefile Thu Feb 06 20:13:08 2020 +0000
+++ b/databases/mongo-c-driver/Makefile Thu Feb 06 20:20:42 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2020/01/18 21:47:59 jperkin Exp $
+# $NetBSD: Makefile,v 1.41 2020/02/06 20:20:42 adam Exp $
 
-DISTNAME=      mongo-c-driver-1.14.0
-PKGREVISION=   2
+DISTNAME=      mongo-c-driver-1.16.1
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mongodb/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
diff -r 03c451c873cf -r 029b746730d2 databases/mongo-c-driver/PLIST
--- a/databases/mongo-c-driver/PLIST    Thu Feb 06 20:13:08 2020 +0000
+++ b/databases/mongo-c-driver/PLIST    Thu Feb 06 20:20:42 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2019/03/05 14:24:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.18 2020/02/06 20:20:42 adam Exp $
 ${PLIST.unix}bin/mongoc-stat
 include/libbson-1.0/bson.h
 include/libbson-1.0/bson/bcon.h
@@ -33,6 +33,7 @@
 include/libmongoc-1.0/mongoc/mongoc-change-stream.h
 include/libmongoc-1.0/mongoc/mongoc-client-pool.h
 include/libmongoc-1.0/mongoc/mongoc-client-session.h
+include/libmongoc-1.0/mongoc/mongoc-client-side-encryption.h
 include/libmongoc-1.0/mongoc/mongoc-client.h
 include/libmongoc-1.0/mongoc/mongoc-collection.h
 include/libmongoc-1.0/mongoc/mongoc-config.h
@@ -76,6 +77,10 @@
 include/libmongoc-1.0/mongoc/mongoc-version.h
 include/libmongoc-1.0/mongoc/mongoc-write-concern.h
 include/libmongoc-1.0/mongoc/mongoc.h
+lib/cmake/bson-1.0/bson-1.0-config-version.cmake
+lib/cmake/bson-1.0/bson-1.0-config.cmake
+lib/cmake/bson-1.0/bson-targets-relwithdebinfo.cmake
+lib/cmake/bson-1.0/bson-targets.cmake
 lib/cmake/libbson-1.0/libbson-1.0-config-version.cmake
 lib/cmake/libbson-1.0/libbson-1.0-config.cmake
 lib/cmake/libbson-static-1.0/libbson-static-1.0-config-version.cmake
@@ -84,6 +89,10 @@
 lib/cmake/libmongoc-1.0/libmongoc-1.0-config.cmake
 lib/cmake/libmongoc-static-1.0/libmongoc-static-1.0-config-version.cmake
 lib/cmake/libmongoc-static-1.0/libmongoc-static-1.0-config.cmake
+lib/cmake/mongoc-1.0/mongoc-1.0-config-version.cmake
+lib/cmake/mongoc-1.0/mongoc-1.0-config.cmake
+lib/cmake/mongoc-1.0/mongoc-targets-relwithdebinfo.cmake
+lib/cmake/mongoc-1.0/mongoc-targets.cmake
 lib/libbson-1.0.so
 lib/libbson-1.0.so.0
 lib/libbson-1.0.so.0.0.0
@@ -172,6 +181,7 @@
 man/man3/bson_init.3
 man/man3/bson_init_from_json.3
 man/man3/bson_init_static.3
+man/man3/bson_isspace.3
 man/man3/bson_iter_array.3
 man/man3/bson_iter_as_bool.3
 man/man3/bson_iter_as_double.3
@@ -414,6 +424,16 @@
 man/man3/mongoc_apm_topology_opening_t.3
 man/man3/mongoc_application_performance_monitoring.3
 man/man3/mongoc_authentication.3
+man/man3/mongoc_auto_encryption_opts_destroy.3
+man/man3/mongoc_auto_encryption_opts_new.3
+man/man3/mongoc_auto_encryption_opts_set_bypass_auto_encryption.3
+man/man3/mongoc_auto_encryption_opts_set_extra.3
+man/man3/mongoc_auto_encryption_opts_set_key_vault_client.3
+man/man3/mongoc_auto_encryption_opts_set_key_vault_client_pool.3
+man/man3/mongoc_auto_encryption_opts_set_key_vault_namespace.3
+man/man3/mongoc_auto_encryption_opts_set_kms_providers.3
+man/man3/mongoc_auto_encryption_opts_set_schema_map.3
+man/man3/mongoc_auto_encryption_opts_t.3
 man/man3/mongoc_basic_troubleshooting.3
 man/man3/mongoc_bulk.3
 man/man3/mongoc_bulk_operation_delete.3
@@ -431,6 +451,7 @@
 man/man3/mongoc_bulk_operation_replace_one.3
 man/man3/mongoc_bulk_operation_replace_one_with_opts.3
 man/man3/mongoc_bulk_operation_set_bypass_document_validation.3
+man/man3/mongoc_bulk_operation_set_client_session.3
 man/man3/mongoc_bulk_operation_set_hint.3
 man/man3/mongoc_bulk_operation_t.3
 man/man3/mongoc_bulk_operation_update.3
@@ -439,6 +460,7 @@
 man/man3/mongoc_bulk_operation_update_one_with_opts.3
 man/man3/mongoc_change_stream_destroy.3
 man/man3/mongoc_change_stream_error_document.3
+man/man3/mongoc_change_stream_get_resume_token.3
 man/man3/mongoc_change_stream_next.3
 man/man3/mongoc_change_stream_t.3
 man/man3/mongoc_check_version.3
@@ -447,7 +469,31 @@
 man/man3/mongoc_client_command_simple.3
 man/man3/mongoc_client_command_simple_with_server_id.3
 man/man3/mongoc_client_command_with_opts.3
+man/man3/mongoc_client_decryption_decrypt.3
 man/man3/mongoc_client_destroy.3
+man/man3/mongoc_client_enable_auto_encryption.3
+man/man3/mongoc_client_encryption_create_datakey.3
+man/man3/mongoc_client_encryption_datakey_opts_destroy.3
+man/man3/mongoc_client_encryption_datakey_opts_new.3
+man/man3/mongoc_client_encryption_datakey_opts_set_keyaltnames.3
+man/man3/mongoc_client_encryption_datakey_opts_set_masterkey.3
+man/man3/mongoc_client_encryption_datakey_opts_t.3
+man/man3/mongoc_client_encryption_destroy.3
+man/man3/mongoc_client_encryption_encrypt.3
+man/man3/mongoc_client_encryption_encrypt_opts_destroy.3
+man/man3/mongoc_client_encryption_encrypt_opts_new.3
+man/man3/mongoc_client_encryption_encrypt_opts_set_algorithm.3
+man/man3/mongoc_client_encryption_encrypt_opts_set_keyaltname.3
+man/man3/mongoc_client_encryption_encrypt_opts_set_keyid.3
+man/man3/mongoc_client_encryption_encrypt_opts_t.3
+man/man3/mongoc_client_encryption_new.3
+man/man3/mongoc_client_encryption_opts_destroy.3
+man/man3/mongoc_client_encryption_opts_new.3
+man/man3/mongoc_client_encryption_opts_set_key_vault_namespace.3
+man/man3/mongoc_client_encryption_opts_set_keyvault_client.3
+man/man3/mongoc_client_encryption_opts_set_kms_providers.3
+man/man3/mongoc_client_encryption_opts_t.3
+man/man3/mongoc_client_encryption_t.3
 man/man3/mongoc_client_find_databases_with_opts.3
 man/man3/mongoc_client_get_collection.3
 man/man3/mongoc_client_get_database.3
@@ -467,6 +513,7 @@
 man/man3/mongoc_client_new.3
 man/man3/mongoc_client_new_from_uri.3
 man/man3/mongoc_client_pool_destroy.3
+man/man3/mongoc_client_pool_enable_auto_encryption.3
 man/man3/mongoc_client_pool_max_size.3
 man/man3/mongoc_client_pool_min_size.3
 man/man3/mongoc_client_pool_new.3
@@ -493,9 +540,13 @@
 man/man3/mongoc_client_session_get_lsid.3
 man/man3/mongoc_client_session_get_operation_time.3
 man/man3/mongoc_client_session_get_opts.3
+man/man3/mongoc_client_session_get_server_id.3
+man/man3/mongoc_client_session_get_transaction_state.3
 man/man3/mongoc_client_session_in_transaction.3
 man/man3/mongoc_client_session_start_transaction.3
 man/man3/mongoc_client_session_t.3
+man/man3/mongoc_client_session_with_transaction.3
+man/man3/mongoc_client_session_with_transaction_cb_t.3
 man/man3/mongoc_client_set_apm_callbacks.3
 man/man3/mongoc_client_set_appname.3
 man/man3/mongoc_client_set_error_api.3
@@ -590,6 +641,7 @@
 man/man3/mongoc_cursor_t.3
 man/man3/mongoc_cursors.3
 man/man3/mongoc_database_add_user.3
+man/man3/mongoc_database_aggregate.3
 man/man3/mongoc_database_command.3
 man/man3/mongoc_database_command_simple.3
 man/man3/mongoc_database_command_with_opts.3
@@ -764,6 +816,7 @@
 man/man3/mongoc_session_opts_destroy.3
 man/man3/mongoc_session_opts_get_causal_consistency.3
 man/man3/mongoc_session_opts_get_default_transaction_opts.3
+man/man3/mongoc_session_opts_get_transaction_opts.3
 man/man3/mongoc_session_opts_new.3
 man/man3/mongoc_session_opts_set_causal_consistency.3
 man/man3/mongoc_session_opts_set_default_transaction_opts.3
@@ -817,13 +870,16 @@
 man/man3/mongoc_transaction_opt_t.3
 man/man3/mongoc_transaction_opts_clone.3
 man/man3/mongoc_transaction_opts_destroy.3
+man/man3/mongoc_transaction_opts_get_max_commit_time_ms.3
 man/man3/mongoc_transaction_opts_get_read_concern.3
 man/man3/mongoc_transaction_opts_get_read_prefs.3
 man/man3/mongoc_transaction_opts_get_write_concern.3
 man/man3/mongoc_transaction_opts_new.3
+man/man3/mongoc_transaction_opts_set_max_commit_time_ms.3
 man/man3/mongoc_transaction_opts_set_read_concern.3
 man/man3/mongoc_transaction_opts_set_read_prefs.3
 man/man3/mongoc_transaction_opts_set_write_concern.3
+man/man3/mongoc_transaction_state_t.3
 man/man3/mongoc_tutorial.3
 man/man3/mongoc_update_flags_t.3
 man/man3/mongoc_uri_copy.3
@@ -836,6 +892,7 @@
 man/man3/mongoc_uri_get_mechanism_properties.3
 man/man3/mongoc_uri_get_option_as_bool.3
 man/man3/mongoc_uri_get_option_as_int32.3
+man/man3/mongoc_uri_get_option_as_int64.3
 man/man3/mongoc_uri_get_option_as_utf8.3
 man/man3/mongoc_uri_get_options.3
 man/man3/mongoc_uri_get_password.3
@@ -846,6 +903,7 @@
 man/man3/mongoc_uri_get_service.3
 man/man3/mongoc_uri_get_ssl.3
 man/man3/mongoc_uri_get_string.3
+man/man3/mongoc_uri_get_tls.3
 man/man3/mongoc_uri_get_username.3
 man/man3/mongoc_uri_get_write_concern.3
 man/man3/mongoc_uri_new.3
@@ -853,6 +911,7 @@
 man/man3/mongoc_uri_new_with_error.3
 man/man3/mongoc_uri_option_is_bool.3
 man/man3/mongoc_uri_option_is_int32.3
+man/man3/mongoc_uri_option_is_int64.3
 man/man3/mongoc_uri_option_is_utf8.3
 man/man3/mongoc_uri_set_auth_mechanism.3
 man/man3/mongoc_uri_set_auth_source.3
@@ -861,6 +920,7 @@
 man/man3/mongoc_uri_set_mechanism_properties.3
 man/man3/mongoc_uri_set_option_as_bool.3
 man/man3/mongoc_uri_set_option_as_int32.3
+man/man3/mongoc_uri_set_option_as_int64.3
 man/man3/mongoc_uri_set_option_as_utf8.3
 man/man3/mongoc_uri_set_password.3
 man/man3/mongoc_uri_set_read_concern.3
@@ -879,6 +939,7 @@
 man/man3/mongoc_write_concern_get_wmajority.3
 man/man3/mongoc_write_concern_get_wtag.3
 man/man3/mongoc_write_concern_get_wtimeout.3
+man/man3/mongoc_write_concern_get_wtimeout_int64.3
 man/man3/mongoc_write_concern_is_acknowledged.3
 man/man3/mongoc_write_concern_is_default.3
 man/man3/mongoc_write_concern_is_valid.3
@@ -890,6 +951,7 @@
 man/man3/mongoc_write_concern_set_wmajority.3
 man/man3/mongoc_write_concern_set_wtag.3
 man/man3/mongoc_write_concern_set_wtimeout.3
+man/man3/mongoc_write_concern_set_wtimeout_int64.3
 man/man3/mongoc_write_concern_t.3
 share/mongo-c-driver/COPYING
 share/mongo-c-driver/NEWS
diff -r 03c451c873cf -r 029b746730d2 databases/mongo-c-driver/distinfo
--- a/databases/mongo-c-driver/distinfo Thu Feb 06 20:13:08 2020 +0000
+++ b/databases/mongo-c-driver/distinfo Thu Feb 06 20:20:42 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.35 2019/03/05 14:24:13 adam Exp $
+$NetBSD: distinfo,v 1.36 2020/02/06 20:20:42 adam Exp $
 
-SHA1 (mongo-c-driver-1.14.0.tar.gz) = 4e2dc235cd6a5dfbd0dfb7b15bf6e07cc7358752
-RMD160 (mongo-c-driver-1.14.0.tar.gz) = 1e4804d27735d7fcc4a120a3fc83fa0131f85883
-SHA512 (mongo-c-driver-1.14.0.tar.gz) = 99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
-Size (mongo-c-driver-1.14.0.tar.gz) = 6573651 bytes
+SHA1 (mongo-c-driver-1.16.1.tar.gz) = f9bd005195895538af821708112bf861090da354
+RMD160 (mongo-c-driver-1.16.1.tar.gz) = ea611d4ad2e602a9e28283f79584df8b15dd9899
+SHA512 (mongo-c-driver-1.16.1.tar.gz) = 96257f0613cf65f8324aa447dc302e59619e86975d39fb623bb408d38a2ad6298106df83813d5a83a33cc2c9fd357309015992838ac3ea54d6db2e2f497ce56a
+Size (mongo-c-driver-1.16.1.tar.gz) = 6888267 bytes



Home | Main Index | Thread Index | Old Index