Up to [cvs.NetBSD.org] / pkgsrc / databases / mongo-c-driver
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for icu 76 shlib major version bump
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
*: recursive bump for icu 74.1
*: bump for openssl 3
mongo-c-driver: updated to 1.24.2 libmongoc 1.24.2 ================ Fixes: * Fix possible crash if thread creation fails. * Fix possible assertion if `mongoc_cursor_new_from_command_reply_with_opts` is called with open cursor and no `serverId` option. libmongoc 1.24.1 ================ Fixes: * Remove unnecessary assert in bulk API. May result in an abort when creating bulk operations with the `mongoc_bulk_operation_new` API intended for wrapping drivers. libmongoc 1.24.0 ================ New Features: * Support MongoDB server version 7.0. * Support updated Queryable Encryption protocol. * Introduces backwards breaking changes to the Queryable Encryption protocol. Using Queryable Encryption now requires MongoDB server version 7.0+. * Support new Queryable Encryption features. * Add `mongoc_client_encryption_create_encrypted_collection` to automatically create data encryption keys when creating a new encrypted collection. * Support new security features. * Add ability to fetch KMS credentials automatically from Azure, GCP, and AWS environments. * Support authentication with KMS AWS temporary credentials. * Cache fetched AWS credentials. * Support AWS IAM Roles for service accounts, EKS in particular. * Retry operations if the connection handshake fails. * Add index creation helper: `mongoc_collection_create_indexes_with_opts`. Fixes: * Fix default applied credentials for Kerberos with SSPI on Windows. * Fix possible overcounting in Performance Counters used by `mongoc-stat`. Language Standard Support: * C89 support has been dropped. C99 is the default tested C standard. Platform Support: * Support for macOS 10.14 will be dropped in an upcoming release. * Support for Ubuntu 14.04 will be dropped in an upcoming release. * Support for Debian 8.1 will be dropped in an upcoming release. Build Configuration: * The `ENABLE_BSON` configure-time option has been removed. Build scripts that used `ENABLE_BSON=SYSTEM` should be updated to use `USE_SYSTEM_LIBBSON=TRUE`. If the build script needs to support building arbitrary versions of the C driver, add both `ENABLE_BSON=SYSTEM` and `USE_SYSTEM_LIBBSON=TRUE`.
revbump after textproc/icu update
massive revision bump after textproc/icu update
revbump for textproc/icu update
revbump for icu and libffi
revbump for textproc/icu
*: Recursive revbump from textproc/icu-68.1
Revbump for icu
Recursive revision bump after textproc/icu update
mongo-c-driver: updated to 1.16.2 mongo-c-driver 1.16.2 libbson No change since 1.16.1; released to keep pace with libmongoc's version. libmongoc It is my pleasure to announce the MongoDB C Driver 1.16.2. Bug fixes: Fix compilation with LibreSSL when configuring with -DENABLE_SSL=AUTO
*: Recursive revision bump for openssl 1.1.1.
Recursive revbump from textproc/icu
mongo-c-driver: updated to 1.14.0 mongo-c-driver 1.14.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.14.0. Features: * Support for OpenSSL 1.1.1 and its implementation of TLS v1.3. * New function mongoc_stream_should_retry. * New accessor mongoc_server_description_last_update_time. * New method mongoc_client_reset to be called after forking. Bug fixes: * OP_MSG with unacknowledged writes (write concern of w:0) would serialize incorrectly on big-endian platforms, causing writes to use the default write concern of w:1. * mongoc_collection_update_many and mongoc_collection_delete_many would fail with the URI option retryWrites=true. * In a transaction, the driver now properly ignores the readConcern configured on a client, database, or collection: only the mongoc_transaction_opt_t's readConcern is used. * Remove timestamp from uninstall scripts to permit reproducible build. * Setting mongoc_ssl_opt_t.pem_file or ca_file to a bad file path caused a hang with Darwin SSL. * Fix the ENABLE_SASL cmake option: * Remove unnecessary GSSAPI value. It was equivalent to specifying ENABLE_SASL=CYRUS. * ENABLE_SASL=AUTO now correctly chooses SSPI on Windows instead of CYRUS. * The client pool failed to set proper apm callbacks for clients created via try_pop(). mongo-c-driver 1.13.1 ===================== It is my pleasure to announce the MongoDB C Driver 1.13.1. Bug fixes: * mongoc_collection_update_many and mongoc_collection_delete_many would fail with the URI option retryWrites=true. * Remove timestamp from uninstall scripts to permit reproducible build. * Add missing header files to the release tarball to fix compilation when configuring with ENABLE_SASL=GSSAPI. * Separate libmongoc and libbson uninstall scripts so they do not overwrite each other. * Fix running make install with DESTDIR. mongo-c-driver 1.13.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.13.0. Features: * Report a new error code, MONGOC_ERROR_GRIDFS_CORRUPT, when a chunk larger than chunkSize is detected. Before, the driver had crashed with an assert. * Restructure of install directory. All mongoc headers are under mongoc/ and all bson headers are under bson/. The preferred way of including the headers are mongoc/mongoc.h and bson/bson.h respectively. Forwarding headers in the root are provided for backwards compatibility. * The default CMake build type had been unspecified, now it is RelWithDebInfo. * Support LibreSSL 2.7+. Bug fixes: * mongoc_collection_replace_one is now a correctly exported symbol. * Fix multiple issues with readConcern and writeConcern inheritance. * Fix rare crash with mongodb+srv URIs on Windows. * mongoc_gridfs_create_file_from_stream ignored errors while writing chunks to the server. * The following functions should not have taken a "bypassDocumentValidation" option in bson_t *opts, the option is now prohibited: - mongoc_bulk_operation_insert_with_opts - mongoc_bulk_operation_update_one_with_opts - mongoc_bulk_operation_update_many_with_opts - mongoc_bulk_operation_replace_one_with_opts * The heartbeat-succeeded and heartbeat-failed events (part of SDAM Monitoring) had uninitialized "duration" fields, they are now set correctly. mongo-c-driver 1.12.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.12.0. Features: * New function mongoc_client_session_in_transaction to check if a multi- document transaction is started. * New examples for change streams and transactions, improved guide for migrating from mongoc_collection_count to mongoc_collection_count_documents Bug fixes: * Fix occasional crash in sharded queries * Retry all retryable write concern errors * mongoc_client_session_commit_transaction sets the correct error label when the primary is unavailable * mongoc_collection_find_with_opts had prohibited read preference "primary" in a transaction * mongoc_collection_aggregate had not inherited its mongoc_collection_t's read preference; only an explicitly provided read preference was used. * Allow unencoded delimiters in username/password if unambiguous mongo-c-driver 1.11.0 ===================== It is my pleasure to announce the MongoDB C Driver 1.11.0. This release adds support for MongoDB 4.0 features. It includes the following additions and improvements: * Multi-document transactions, see mongoc_client_session_start_transaction * New function mongoc_error_has_label to check for specific error labels such as "TransientTransactionError" or "UnknownTransactionCommitResult" in error replies. * New functions to subscribe to changes on an entire client or database: - mongoc_client_watch - mongoc_database_watch * New option for change streams, "startAtOperationTime". * mongoc_collection_count_with_opts is deprecated for two new functions: - mongoc_collection_count_documents - mongoc_collection_estimated_document_count * Support for SCRAM-SHA-256 authentication, including support for non-ASCII passwords using libicu is an optional dependency. * Faster mongoc_database_get_collection_names_with_opts fetches only names, not the entire collection metadata. Additional changes not specific to MongoDB 4.0: * All "destroy" functions such as mongoc_collection_destroy now ignore a NULL argument. * The driver now returns an error if you attempt to use "arrayFilters" in an update with a MongoDB server older than 3.6. * Update functions include a new "upsertedCount" field in the reply document. * Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPS compliance). Bug fixes: * Functions incorrectly marked with the "const" compiler attribute are now marked as "pure", fixes build error when link-time optimization is enabled. mongo-c-driver 1.10.3 ===================== No change since 1.10.2; released to keep pace with libbson's version. mongo-c-driver 1.10.2 ===================== It is my pleasure to announce the MongoDB C Driver 1.10.2. This release fixes the libbson and libmongoc installed library filenames and SONAMEs on Linux. They had changed unintentionally with the switch to CMake in 1.10.0; they are now consistent with 1.9.x and previous releases. Thanks to Roberto C. Sánchez for the fix. mongo-c-driver 1.10.1 ===================== It is my pleasure to announce the MongoDB C Driver 1.10.1. This release fixes the following bugs introduced in version 1.10.0: * Client sessions were not prohibited with unacknowledged write concern and mongoc_bulk_operation_execute; now they are prohibited. Client sessions have been prohibited with all other unacknowledged writes since 1.10. * The "arrayFilters" update option, new in MongoDB 3.6 and supported since libmongoc 1.9.0, was inadvertently prohibited by mongoc_bulk_operation_update_one_with_opts and mongoc_bulk_operation_update_many_with_opts in 1.10. The option is now permitted again. * The mongoc-stat tool for displaying shared counters was disabled on Linux and not installed; it is now restored. mongo-c-driver 1.10.0 ===================== It is my pleasure to announce MongoDB C Driver 1.10.0. This version drops support for MongoDB 2.6 and adds the following features and bugfixes: * libbson and libmongoc are now maintained in the mongo-c-driver repository, although they are still built as separate libraries, and libbson can still be used without libmongoc. * Building libbson and libmongoc now requires CMake on all platforms. The Autotools build scripts ("configure" and related scripts) have been deleted. See the "installing" page for updated instructions, including the new ENABLE_MONGOC option and changes to the ENABLE_BSON option. * IPv6 is now fully supported and conforms to RFC-6555. If a hostname has both IPv4 and IPv6 DNS records, the driver tries connecting with IPv6 first. If a connection can't be established after 250ms then IPv4 is tried in parallel. Whichever succeeds connection first cancels the other. The successful DNS result is cached for 10 minutes. * If CMake is configured with ENABLE_SSL=AUTO (the default), libmongoc now uses native TLS libraries on Mac and Windows, and OpenSSL everywhere else. Before, it would search for OpenSSL on all platforms and only use native TLS on Mac and Windows as a fallback. * The driver now handshakes SSL connections to multiple servers in a replica set or sharded cluster in parallel, so long as it uses OpenSSL or Windows SChannel. (SSL handshakes with Apple's Secure Transport are still serial.) A larger receive buffer with SChannel increases performance over slow connections. * All functions that accept read concern now prohibit it, if MongoDB is too old to support it (MongoDB 3.0). * Client sessions are now prohibited with unacknowledged writes. * mongoc_collection_find_and_modify_with_opts now prohibits write concern if MongoDB is too old to support it (MongoDB 3.0). * Other helper functions for commands that write, now prohibit write concern if MongoDB is too old to support it (pre-3.4): mongoc_client_read_write_command_with_opts mongoc_client_write_command_with_opts mongoc_collection_read_write_command_with_opts mongoc_collection_write_command_with_opts mongoc_database_read_write_command_with_opts mongoc_database_write_command_with_opts mongoc_collection_aggregate with $out mongoc_collection_drop_index_with_opts mongoc_collection_drop_with_opts mongoc_collection_rename_with_opts mongoc_database_drop_with_opts Write concern behavior is unchanged for regular CRUD functions. * Setting a negative writeConcern level of -2 or smaller, via the "opts" parameter to functions that accept BSON options, is now prohibited. The special "w" values -2 through -4 are only used internally. The deprecated "w=-1" is still allowed, as a synonym for "w=0". * The Kerberos URI option authMechanismProperties=CANONICALIZE_HOST_NAME:true is now implemented with the Windows Kerberos provider, SSPI. * This repository now includes GDB and LLDB customizations for pretty-printing bson_t structs as JSON while debugging. See the "debugging" page. * The internal preprocessor symbol HAVE_STRINGS_H has been renamed BSON_HAVE_STRINGS_H. If you maintain a handwritten bson-config.h you must rename this symbol. * The following helper functions do not work with mongoc_client_session_t, they are deprecated in favor of running MongoDB commands directly with a function like mongoc_client_read_command_with_opts: mongoc_client_get_server_status mongoc_collection_stats mongoc_collection_validate * mongoc_cursor_is_alive is now deprecated for mongoc_cursor_more, which is functionally equivalent.
pkglint
Bump PKGREVISION for security/openssl ABI bump.
Update databases/mongo-c-driver to 1.2.0. mongo-c-driver 1.2.0 - Much improved reporting of network errors, unavailable servers, and authentication failure - Destroying an exhaust cursor must close its socket - Various bugs in server reconnection logic - mongoc_collection_aggregate returned invalid cursor after failure - Wrong error message after failed network write on Sparc - Missing JSON test files in release tarball - Enable runtime asserts in release build. - mongoc_client_kill_cursor is now deprecated and will be removed in version 2.0. mongo-c-driver 1.1.11 - Undetected network errors when sending messages to the server - Off-by-one error in mongoc_gridfs_file_seek with mode SEEK_END - Memory leak parsing a URI that contains an invalid option
Update databases/mongo-c-driver to 1.1.2. mongo-c-driver 1.1.2 ==================== * Process connectTimeoutMS cast insensitively * Addition of missing trace macros * Improvement of internal error messages * Fix a segfault in OpenSSL cleanup routines * Fix for IPv66 support for replica sets * Coalesce small vectorized TLS writes * MinGW fixups * Fix for a memory leak in get_database_names() * Fixes for patching write concern through the bulk api * Fix to normalize hostnames in uri parsing * Fix for managing connections in the client pool * Various other fixes mongo-c-driver 1.1.0 ==================== * ABI versioning for 1.1 versus 1.0 symbols * additional geo index options * authMechanismProperties in URI * fixes for OS X Yosemite * removal of replica set member limit * SCRAM-SHA-1 SASL mechanism * updated dependency on libbson 1.1 abi * validation for bulk insert * various memory leak fixes * Fixes to documentation typos * "How to Ask For Help" in the README * Removed dependency on sasl for PLAIN authentication * Use provided username, if available, for X.509 auth * Fixed WriteConcern error reporting for some writes * Check for closed sockets before attempting RPCs * Fixes for gridfs file seek * Fixes for mongoc_cursor_clone() * Fixes for unix domain socket support * Fixes for polling on win32 * Improved warnings on failure to connect * Addition of wired tiger options * Fixes for examples Additions to the ABI include: * support for extra option in count - mongoc_collection_count_with_opts * additional index options - mongoc_index_opt_geo_get_default - mongoc_index_opt_geo_init - mongoc_index_opt_wt_get_default - mongoc_index_opt_wt_init * rand interface to seed and verify the strong random number generation needed by some auth mechanisms - mongoc_rand_seed - mongoc_rand_add - mongoc_rand_status * URI additions to support more complicated auth credentials - mongoc_uri_get_credentials - mongoc_uri_get_mechanism_properties * Support for cursor returning metadata crud operations - mongoc_client_find_databases - mongoc_collection_find_indexes - mongoc_database_find_collections * Kill cursor supportp - mongoc_client_kill_cursor * Various get/setters on cursor - mongoc_cursor_get_batch_size - mongoc_cursor_get_id - mongoc_cursor_set_batch_size * More socket/stream options - mongoc_socket_check_closed - mongoc_socket_inet_ntop - mongoc_stream_check_closed - mongoc_stream_write
Update mongo-c-driver to 0.98.0. Changes in 0.98.0: - This release is primarily a bugfix release and stabilization effort as we approach 1.0 of the MongoDB C driver. - This release requires 0.98.0 of Libbson for improvements to the memory management system. You can now setup custom memory allocators at the start of the process. Changes in 0.96.4: - build/mci.sh script for automatically building Debian packages, RPMs, and Solaris packaging based on the host operating system. - Various libbson improvements, now depending on 0.8.4. - Alignment fixes for Solaris Studio C compiler via libbson. - Addition of mongoc_gridfs_remove_by_filename() for removing a file from gridfs by filename. - client command functions can now take a fully qualified namespace. - collections can now support names that indicate a command namespace. - Commands will no longer fail if they do not contain an "ok" field. - OP_QUERY will now set the slaveOk bit in the wire protocol if readPreferences are set to non-PRIMARY. - Various documentation and build fixes.
Import mongo-c-driver as databases/mongo-c-driver. mongo-c-driver is a client library written in C for MongoDB.