2017-09-09 18:13:41 by David A. Holland | Files touched by this commit (1) |
Log message:
pkglint
|
2017-08-17 19:04:35 by Filip Hajny | Files touched by this commit (3) | |
Log message:
Update databases/mongo-c-driver to 1.7.0.
- CMake build now installs .pc files for programs that link to
libmongoc using pkg-config.
- New CMake option ENABLE_STATIC can be ON, OFF, or AUTO (the default)
- Minimum required CMake version has been increased to 3.1.
- Support for wire compression.
- Support for snappy and zlib. MongoDB 3.4 only supports snappy,
while zlib support is expected in MongoDB 3.6.
- New functions: mongoc_uri_get_compressors &
mongoc_uri_set_compressors, to get and set compressor
configuration on mongoc_uri_t
- Added support for comma seperated "compressors" connection string
option (e.g. mongodb://localhost/?compressors=snappy,zlib)
- Added support for configuring zlib compression level in the
connection string (e.g.
mongodb://localhost/?compressors=zlib&zlibcompressionlevel=8)
- Now requires the use of CMake config files for libbson to build
libmongoc with CMake
- Added pkg-config support for libressl.
- New function mongoc_uri_set_auth_mechanism to update the
authentication mechanism of a mongoc_uri_t after it is created from
a string.
- New function mongoc_bulk_operation_insert_with_opts provides
immediate error checking.
- New function mongoc_uri_new_with_error provides a way to parse a
connection string, and retrieve the failure reason, if any.
- Support for MongoDB Connection String specification
- All connection string options are now represented by
MONGOC_URI_xxx macros
- Paths to Unix Domain Sockets must be url encoded
- Repeated options now issue warnings
- Special characters in username, password and other values must be
url encoded
- Unsupported connection string options now issue warnings
- Boolean values can now be represented as true/yes/y/t/1 and
false/no/n/f/0.
- Case is now preserved in Unix domain paths.
- New function mongoc_cursor_error_document provides access to
server's error reply if a query or command fails.
- New function mongoc_write_concern_is_default determines whether any
write concern options have been set, and
mongoc_read_concern_is_default checks if read concern options are set.
- mongoc_gridfs_find_one_with_opts optimized to use limit 1.
|
2017-07-31 00:32:28 by Thomas Klausner | Files touched by this commit (229) |
Log message:
Switch github HOMEPAGEs to https.
|
2017-06-14 12:27:21 by Filip Hajny | Files touched by this commit (3) | |
Log message:
Update databases/mongo-c-driver to 1.6.3.
mongo-c-driver 1.6.3
- mongoc_client_pool_t did not apply all TLS options to pooled connections
- SNI wasn't provided when allow_invalid_hostname is set
mongo-c-driver 1.6.2
- This release further improves HP-UX compatibility, especially when building
with CMake, adds missing Windows SSPI files to the distribution tarball, and
fixes distribution issues we introduced when porting the documentation from
Mallard to Sphinx.
mongo-c-driver 1.6.1
- Correct the rules to parse localThresholdMS option from the MongoDB URI.
- Prevent crash in mongoc_cursor_destroy if "query" or \
"filter" are invalid.
- Include a file, mongoc-cluster-sspi.c, that had been omitted from the
release archive.
- Fix logic bugs in mongoc_bulk_operation_t validation code.
mongo-c-driver 1.6.0
- Enterprise authentication on Windows now uses the native GSSAPI library;
Cyrus SASL is no longer required for enterprise auth on Windows.
- BSON documents are more thoroughly validated before insert or update.
- New function mongoc_uri_set_mechanism_properties to replace all the
authMechanismProperties on an existing URI.
- mongoc_uri_get_mechanism_properties asserts its inputs are not NULL.
- For consistency with other MongoDB drivers, mongoc_collection_save is
deprecated in favor of mongoc_collection_insert or mongoc_collection_update.
- The driver is now built and continuously tested with MinGW-W64 on Windows.
- Experimental support for HPUX.
- The correct operation ids are now passed to Command Monitoring callbacks.
- Fix a crash if the driver couldn't connect to the server to create an index.
- The documentation is ported from Mallard XML to ReStructured Text, the
HTML documentation is restyled, and numerous man page syntax errors fixed.
- Getter functions for options in mongoc_find_and_modify_opts_t:
* mongoc_find_and_modify_opts_get_bypass_document_validation
* mongoc_find_and_modify_opts_get_fields
* mongoc_find_and_modify_opts_get_flags
* mongoc_find_and_modify_opts_get_max_time_ms
* mongoc_find_and_modify_opts_get_sort
* mongoc_find_and_modify_opts_get_update
- All public functions now have the __cdecl calling convention on Windows.
mongo-c-driver 1.5.5
- This release fixes bugs parsing the localThresholdMS option from the MongoDB
URI, and a crash in mongoc_cursor_destroy if "query" or \
"filter" are
invalid.
mongo-c-driver 1.5.4
- This release fixes an error in cursor iteration when a readConcern is set.
|
2017-01-12 15:48:15 by Filip Hajny | Files touched by this commit (2) | |
Log message:
Update databases/mongo-c-driver to 1.5.3.
Changes since 1.5.0:
- allow mixed $ and non-$ query ops.
- Missing exports of mongoc_gridfs_file_set_*() functions.
- update define constants for "find" opts to be unique.
- Windows CA stores should be opened with read-only flag.
- Fix SEGFAULT with performance counters on NUMA (thanks to Jonathan Wang).
- Prevent rare assertion error in mongoc_cluster_stream_for_server.
- Improve error messages from auth failure.
- Escape quotes when appending CFLAGS to handshake metadata.
- Fix OpenSSL header lookups in non-default paths.
- Fix build failure with LibreSSL.
|
2016-12-17 15:25:31 by Joerg Sonnenberger | Files touched by this commit (3) |
Log message:
Add missing Python build dependency. Deal with MAX/MIN macros on NetBSD
and possibly other systems.
|
2016-12-09 14:54:21 by Filip Hajny | Files touched by this commit (3) | |
Log message:
Update databases/mongo-c-driver to 1.5.0.
New features and bug fixes:
- MongoDB 3.4 Support
- New URI and read preference option, "maxStalenessSeconds"
- Set MongoDB client handshake data with mongoc_client_set_appname or
mongoc_client_pool_set_appname.
- writeConcern and readConcern enhancements.
- Collation allows users to specify language-specific rules for string
comparison when sorting documents.
- mongoc_collection_count_with_opts uses the collection's read
preference if none is passed in
- Improved TLS support
- Fixed LibreSSL (libssl) support
- Added LibreSSL (libtls) support
- Fixed Secure Channel build on VS 2010
- OpenSSL now supports SNI (all others already do)
- Additional features for Application Performance Monitoring
- New functions accept flexible options as a BSON document.
- mongoc_collection_find is now deprecated in favor of
mongoc_collection_find_with_opts.
- New helper function to include read concern in one of the above
function's options parameter: mongoc_read_concern_append.
- mongoc_client_command no longer applies the client's read preference
and read concern by default. Same change for mongoc_database_command
and mongoc_collection_command.
- mongoc_collection_count_with_opts now applies the collection's read
preference if no read preference is provided
- mongoc_collection_create_index and mongoc_collection_drop_index now
apply the collection's write concern.
- mongoc_collection_create_index_with_opts now applies the collection's
write concern if none is specified in "opts"
- connectTimeoutMS timer now begins after DNS resolution, and resets for
each interface attempted (e.g., if the driver first tries IPv6, then
IPv4).
- New error code MONGOC_ERROR_DUPLICATE_KEY.
- mongoc_collection_find no longer treats the "filter" key specially in
queries - querying for a document with a key named "filter" is the
same now as any other key.
- The server description parameter to the following functions is
"const":
- mongoc_server_description_host
- mongoc_server_description_id
- mongoc_server_description_ismaster
- mongoc_server_description_round_trip_time
- mongoc_server_description_type
- Exported symbols are no longer declared in seperate export files.
- mongoc no longer crashes when multi roundtrip bulk operation fails.
- Added support for the new readConcernLevel "linearizable".
- Clients now check for misformatted "readPreferenceTags" in URI.
- New CMake option ENABLE_TRACING allows debug output, which before had
only been available with "configure --enable-tracing".
- Bugfix: "PossiblePrimary"-type replicas could be selected for reads
- Bugfixes: The random number generator used to select servers is now
properly seeded, and secondary queries are now properly distributed
according to localThresholdMS, not just to the lowest-latency secondary.
The latency estimate is reset after a connection error.
- Fix crashes in mongoc_topology_invalidate_server and
mongoc_client_kill_cursor.
- mongoc_collection_insert, mongoc_collection_update,
mongoc_collection_remove consistently use domain MONGOC_ERROR_BSON,
code MONGOC_ERROR_BSON_INVALID if passed oversized BSON, and
MONGOC_ERROR_COLLECTION for other errors. mongoc_bulk_operation_execute
continues to use MONGOC_ERROR_COMMAND for all errors.
- If mongoc_client_pool_t fails to start its scanner thread in the
background, it logs and aborts instead of silently continuing, then
failing to connect.
- The driver now updates its view of the whole topology with information
from each new connection handshake.
- Improved error reporting when the driver fails to reach the server,
and correctly distinguish "connection error" and "connection \
timeout".
Deprecations:
- mongoc_collection_find is deprecated for
mongoc_collection_find_with_opts.
Removed configure flags:
- --enable-experimental has been removed. All previously experimental
features are now always on.
- The configure option "--enable-hardening" had had no effect. It is
removed in favor of system-wide compiler configuration.
|
2016-10-02 11:31:47 by Filip Hajny | Files touched by this commit (2) |
Log message:
Update databases/mongo-c-driver to 1.4.2.
mongo-c-driver 1.4.2
- Fixes bugs in "minPoolSize" logic, see CDRIVER-1558 for details.
mongo-c-driver 1.4.1
- mongoc_client_get_server_descriptions could return a list
including NULLs
- Tailable cursors on MongoDB 3.2 only worked with
MONGOC_QUERY_AWAIT_DATA
- Spurious warnings with MONGOC_DISABLE_SHM
|
2016-09-05 10:43:10 by Filip Hajny | Files touched by this commit (2) |
Log message:
Fix PLIST SSL option handling, thanks joerg@ for the headsup. PKGREVISION++
|
2016-08-17 16:11:42 by Filip Hajny | Files touched by this commit (3) |
Log message:
Update databases/mongo-c-driver to 1.4.0.
- The driver can now use the native TLS and crypto functions
included in Mac OS X and Windows.
- The driver implements the MongoDB Command Monitoring Spec.
- New functions mongoc_client_set_error_api and
mongoc_client_pool_set_error_api
allow applications to distinguish client and server errors.
- Unacknowledged writes (writes whose mongoc_write_concern_t "w"
value is zero) now reply with an empty document instead of one
with nInserted: 0, nUpdated: 0, and so on.
- Public API For Higher-Level Drivers
- New connection string option "localThresholdMS".
- zSeries, POWER8, and ARM 64-bit platform support.
- Performance enhancements, reduce allocation and copying in
command code.
- All man page names now begin with "mongoc_" to avoid install
conflicts.
- New function mongoc_gridfs_file_set_id.
|