pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/mongo-c-driver



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb  6 20:20:42 UTC 2020

Modified Files:
        pkgsrc/databases/mongo-c-driver: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/databases/mongo-c-driver/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/databases/mongo-c-driver/PLIST
cvs rdiff -u -r1.35 -r1.36 pkgsrc/databases/mongo-c-driver/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mongo-c-driver/Makefile
diff -u pkgsrc/databases/mongo-c-driver/Makefile:1.40 pkgsrc/databases/mongo-c-driver/Makefile:1.41
--- pkgsrc/databases/mongo-c-driver/Makefile:1.40       Sat Jan 18 21:47:59 2020
+++ pkgsrc/databases/mongo-c-driver/Makefile    Thu Feb  6 20:20:42 2020
@@ -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}

Index: pkgsrc/databases/mongo-c-driver/PLIST
diff -u pkgsrc/databases/mongo-c-driver/PLIST:1.17 pkgsrc/databases/mongo-c-driver/PLIST:1.18
--- pkgsrc/databases/mongo-c-driver/PLIST:1.17  Tue Mar  5 14:24:13 2019
+++ pkgsrc/databases/mongo-c-driver/PLIST       Thu Feb  6 20:20:42 2020
@@ -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-bulk
 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-vers
 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-co
 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_include_and_link.3
 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_get
 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_remove_on
 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_on
 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.3
 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_get_write_concern
 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_clust
 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_set_max_await_tim
 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_clone.3
 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_topology_description_typ
 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_hosts.3
 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_replica_set.3
 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_for_host_port.3
 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_database.3
 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_w.3
 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_w.3
 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

Index: pkgsrc/databases/mongo-c-driver/distinfo
diff -u pkgsrc/databases/mongo-c-driver/distinfo:1.35 pkgsrc/databases/mongo-c-driver/distinfo:1.36
--- pkgsrc/databases/mongo-c-driver/distinfo:1.35       Tue Mar  5 14:24:13 2019
+++ pkgsrc/databases/mongo-c-driver/distinfo    Thu Feb  6 20:20:42 2020
@@ -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