You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2413 lines
80 KiB

  1. mongo-c-driver 1.13.1
  2. =====================
  3. It is my pleasure to announce the MongoDB C Driver 1.13.1.
  4. Bug fixes:
  5. * mongoc_collection_update_many and mongoc_collection_delete_many would fail
  6. with the URI option retryWrites=true.
  7. * Remove timestamp from uninstall scripts to permit reproducible build.
  8. * Add missing header files to the release tarball to fix compilation when
  9. configuring with ENABLE_SASL=GSSAPI.
  10. * Separate libmongoc and libbson uninstall scripts so they do not overwrite
  11. each other.
  12. * Fix running make install with DESTDIR.
  13. Thanks to everyone who contributed to the development of this release.
  14. * Kevin Albertson
  15. * A. Jesse Jiryu Davis
  16. * Henrik Edin
  17. Peace,
  18. Kevin Albertson
  19. mongo-c-driver 1.13.0
  20. =====================
  21. It is my pleasure to announce the MongoDB C Driver 1.13.0.
  22. Features:
  23. * Report a new error code, MONGOC_ERROR_GRIDFS_CORRUPT, when a chunk larger
  24. than chunkSize is detected. Before, the driver had crashed with an assert.
  25. * Restructure of install directory. All mongoc headers are under mongoc/
  26. and all bson headers are under bson/. The preferred way of including the
  27. headers are mongoc/mongoc.h and bson/bson.h respectively.
  28. Forwarding headers in the root are provided for backwards compatibility.
  29. * The default CMake build type had been unspecified, now it is RelWithDebInfo.
  30. * Support LibreSSL 2.7+.
  31. Bug fixes:
  32. * mongoc_collection_replace_one is now a correctly exported symbol.
  33. * Fix multiple issues with readConcern and writeConcern inheritance.
  34. * Fix rare crash with mongodb+srv URIs on Windows.
  35. * mongoc_gridfs_create_file_from_stream ignored errors while writing chunks
  36. to the server.
  37. * The following functions should not have taken a "bypassDocumentValidation"
  38. option in bson_t *opts, the option is now prohibited:
  39. - mongoc_bulk_operation_insert_with_opts
  40. - mongoc_bulk_operation_update_one_with_opts
  41. - mongoc_bulk_operation_update_many_with_opts
  42. - mongoc_bulk_operation_replace_one_with_opts
  43. * The heartbeat-succeeded and heartbeat-failed events (part of SDAM
  44. Monitoring) had uninitialized "duration" fields, they are now set correctly.
  45. Thanks to everyone who contributed to the development of this release.
  46. * A. Jesse Jiryu Davis
  47. * Roberto C. Sánchez
  48. * Kevin Albertson
  49. * Henrik Edin
  50. * Spencer McKenney
  51. * Jeremy Mikola
  52. * Evgeni Dobranov
  53. * Tomas Mozes
  54. * Derick Rethans
  55. * Gustaf Neumann
  56. * Jeroen
  57. * Jeroen Ooms
  58. * Kaitlin Mahar
  59. Peace,
  60. Kevin Albertson
  61. mongo-c-driver 1.12.0
  62. =====================
  63. It is my pleasure to announce the MongoDB C Driver 1.12.0.
  64. Features:
  65. * New function mongoc_client_session_in_transaction to check if a multi-
  66. document transaction is started.
  67. * New examples for change streams and transactions, improved guide for
  68. migrating from mongoc_collection_count to mongoc_collection_count_documents
  69. Bug fixes:
  70. * Fix occasional crash in sharded queries
  71. * Retry all retryable write concern errors
  72. * mongoc_client_session_commit_transaction sets the correct error label when
  73. the primary is unavailable
  74. * mongoc_collection_find_with_opts had prohibited read preference "primary"
  75. in a transaction
  76. * mongoc_collection_aggregate had not inherited its mongoc_collection_t's
  77. read preference; only an explicitly provided read preference was used.
  78. * Allow unencoded delimiters in username/password if unambiguous
  79. Thanks to everyone who contributed to the development of this release.
  80. * Roberto C. Sánchez
  81. * A. Jesse Jiryu Davis
  82. * Kevin Albertson
  83. * Spencer McKenney
  84. * Evgeni Dobranov
  85. * Jeremy Mikola
  86. * 平民·寻梦(Pingmin Fenlly Liu)
  87. Peace,
  88. A. Jesse Jiryu Davis
  89. mongo-c-driver 1.11.0
  90. =====================
  91. It is my pleasure to announce the MongoDB C Driver 1.11.0. This release adds
  92. support for MongoDB 4.0 features. It includes the following additions and
  93. improvements:
  94. * Multi-document transactions, see mongoc_client_session_start_transaction
  95. * New function mongoc_error_has_label to check for specific error labels such
  96. as "TransientTransactionError" or "UnknownTransactionCommitResult" in
  97. error replies.
  98. * New functions to subscribe to changes on an entire client or database:
  99. - mongoc_client_watch
  100. - mongoc_database_watch
  101. * New option for change streams, "startAtOperationTime".
  102. * mongoc_collection_count_with_opts is deprecated for two new functions:
  103. - mongoc_collection_count_documents
  104. - mongoc_collection_estimated_document_count
  105. * Support for SCRAM-SHA-256 authentication, including support for non-ASCII
  106. passwords using libicu is an optional dependency.
  107. * Faster mongoc_database_get_collection_names_with_opts fetches only names,
  108. not the entire collection metadata.
  109. Additional changes not specific to MongoDB 4.0:
  110. * All "destroy" functions such as mongoc_collection_destroy now ignore a NULL
  111. argument.
  112. * The driver now returns an error if you attempt to use "arrayFilters" in an
  113. update with a MongoDB server older than 3.6.
  114. * Update functions include a new "upsertedCount" field in the reply document.
  115. * Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPS compliance).
  116. Bug fixes:
  117. * Functions incorrectly marked with the "const" compiler attribute are now
  118. marked as "pure", fixes build error when link-time optimization is enabled.
  119. Thanks to everyone who contributed to the development of this release.
  120. * A. Jesse Jiryu Davis
  121. * Kevin Albertson
  122. * Evgeni Dobranov
  123. * Spencer McKenney
  124. * Jeremy Mikola
  125. * Roberto C. Sánchez
  126. * Remi Collet
  127. Peace,
  128. A. Jesse Jiryu Davis
  129. mongo-c-driver 1.10.3
  130. =====================
  131. No change since 1.10.2; released to keep pace with libbson's version.
  132. -- A. Jesse Jiryu Davis
  133. mongo-c-driver 1.10.2
  134. =====================
  135. It is my pleasure to announce the MongoDB C Driver 1.10.2. This release fixes
  136. the libbson and libmongoc installed library filenames and SONAMEs on Linux.
  137. They had changed unintentionally with the switch to CMake in 1.10.0; they are
  138. now consistent with 1.9.x and previous releases. Thanks to Roberto C. Sánchez
  139. for the fix.
  140. Peace,
  141. A. Jesse Jiryu Davis
  142. mongo-c-driver 1.10.1
  143. =====================
  144. It is my pleasure to announce the MongoDB C Driver 1.10.1. This release fixes
  145. the following bugs introduced in version 1.10.0:
  146. * Client sessions were not prohibited with unacknowledged write concern and
  147. mongoc_bulk_operation_execute; now they are prohibited. Client sessions have
  148. been prohibited with all other unacknowledged writes since 1.10.
  149. * The "arrayFilters" update option, new in MongoDB 3.6 and supported since
  150. libmongoc 1.9.0, was inadvertently prohibited by
  151. mongoc_bulk_operation_update_one_with_opts and
  152. mongoc_bulk_operation_update_many_with_opts in 1.10. The option is now
  153. permitted again.
  154. * The mongoc-stat tool for displaying shared counters was disabled on Linux
  155. and not installed; it is now restored.
  156. Thanks to everyone who contributed to the development of this release.
  157. * A. Jesse Jiryu Davis
  158. * Jeremy Mikola
  159. * Remi Collet
  160. Peace,
  161. A. Jesse Jiryu Davis
  162. mongo-c-driver 1.10.0
  163. =====================
  164. It is my pleasure to announce MongoDB C Driver 1.10.0. This version drops
  165. support for MongoDB 2.6 and adds the following features and bugfixes:
  166. * libbson and libmongoc are now maintained in the mongo-c-driver repository,
  167. although they are still built as separate libraries, and libbson can still
  168. be used without libmongoc.
  169. * Building libbson and libmongoc now requires CMake on all platforms. The
  170. Autotools build scripts ("configure" and related scripts) have been deleted.
  171. See the "installing" page for updated instructions, including the new
  172. ENABLE_MONGOC option and changes to the ENABLE_BSON option.
  173. * IPv6 is now fully supported and conforms to RFC-6555. If a hostname has both
  174. IPv4 and IPv6 DNS records, the driver tries connecting with IPv6 first. If a
  175. connection can't be established after 250ms then IPv4 is tried in parallel.
  176. Whichever succeeds connection first cancels the other. The successful DNS
  177. result is cached for 10 minutes.
  178. * If CMake is configured with ENABLE_SSL=AUTO (the default), libmongoc now
  179. uses native TLS libraries on Mac and Windows, and OpenSSL everywhere else.
  180. Before, it would search for OpenSSL on all platforms and only use native
  181. TLS on Mac and Windows as a fallback.
  182. * The driver now handshakes SSL connections to multiple servers in a replica
  183. set or sharded cluster in parallel, so long as it uses OpenSSL or Windows
  184. SChannel. (SSL handshakes with Apple's Secure Transport are still serial.)
  185. A larger receive buffer with SChannel increases performance over slow
  186. connections.
  187. * All functions that accept read concern now prohibit it, if MongoDB is too
  188. old to support it (MongoDB 3.0).
  189. * Client sessions are now prohibited with unacknowledged writes.
  190. * mongoc_collection_find_and_modify_with_opts now prohibits write concern if
  191. MongoDB is too old to support it (MongoDB 3.0).
  192. * Other helper functions for commands that write, now prohibit write concern
  193. if MongoDB is too old to support it (pre-3.4):
  194. mongoc_client_read_write_command_with_opts
  195. mongoc_client_write_command_with_opts
  196. mongoc_collection_read_write_command_with_opts
  197. mongoc_collection_write_command_with_opts
  198. mongoc_database_read_write_command_with_opts
  199. mongoc_database_write_command_with_opts
  200. mongoc_collection_aggregate with $out
  201. mongoc_collection_drop_index_with_opts
  202. mongoc_collection_drop_with_opts
  203. mongoc_collection_rename_with_opts
  204. mongoc_database_drop_with_opts
  205. Write concern behavior is unchanged for regular CRUD functions.
  206. * Setting a negative writeConcern level of -2 or smaller, via the "opts"
  207. parameter to functions that accept BSON options, is now prohibited. The
  208. special "w" values -2 through -4 are only used internally. The deprecated
  209. "w=-1" is still allowed, as a synonym for "w=0".
  210. * The Kerberos URI option authMechanismProperties=CANONICALIZE_HOST_NAME:true
  211. is now implemented with the Windows Kerberos provider, SSPI.
  212. * This repository now includes GDB and LLDB customizations for pretty-printing
  213. bson_t structs as JSON while debugging. See the "debugging" page.
  214. * The internal preprocessor symbol HAVE_STRINGS_H has been renamed
  215. BSON_HAVE_STRINGS_H. If you maintain a handwritten bson-config.h you must
  216. rename this symbol.
  217. * The following helper functions do not work with mongoc_client_session_t,
  218. they are deprecated in favor of running MongoDB commands directly with a
  219. function like mongoc_client_read_command_with_opts:
  220. mongoc_client_get_server_status
  221. mongoc_collection_stats
  222. mongoc_collection_validate
  223. * mongoc_cursor_is_alive is now deprecated for mongoc_cursor_more, which is
  224. functionally equivalent.
  225. Thanks to everyone who contributed to the development of this release.
  226. * A. Jesse Jiryu Davis
  227. * Kevin Albertson
  228. * Roberto C. Sánchez
  229. * Jeremy Mikola
  230. * Xiangyu Yao
  231. * Jeroen Ooms
  232. * Derick Rethans
  233. * Kaitlin Mahar
  234. * Pavithra Vetriselvan
  235. * NotSpooky
  236. * Iulian Rotaru
  237. * Katherine Walker
  238. Peace,
  239. A. Jesse Jiryu Davis
  240. mongo-c-driver 1.9.5
  241. ====================
  242. It is my pleasure to announce mongo-c-driver 1.9.5. This release fixes the following bugs:
  243. * New change streams API functions were not marked extern "C"
  244. * mongoc_collection_watch now accepts a pipeline argument as a BSON array, in
  245. addition to accepting a BSON document with a "pipeline" array field
  246. * Crashes in several change stream error handling paths
  247. * Commands could return false with an empty bson_error_t after a replica set
  248. reconfig
  249. * Network error messages omitted the command name when using OP_MSG
  250. Thanks to everyone who contributed to the development of this release.
  251. * A. Jesse Jiryu Davis
  252. * Kevin Albertson
  253. Peace,
  254. A. Jesse Jiryu Davis
  255. mongo-c-driver 1.9.4
  256. ====================
  257. It is my pleasure to announce mongo-c-driver 1.9.4. This release offers
  258. compatibility with Sphinx 1.7.0 and above and fixes two bugs:
  259. * Ensure a change stream uses the proper session id while iterating
  260. * Fix a rare crash in pooled mode when a replica set member was disconnected
  261. Thanks to everyone who contributed to the development of this release.
  262. * A. Jesse Jiryu Davis
  263. * Kevin Albertson
  264. Peace,
  265. A. Jesse Jiryu Davis
  266. mongo-c-driver 1.9.3
  267. ====================
  268. It is my pleasure to announce mongo-c-driver 1.9.3. This version fixes a
  269. session-management bug that could cause an authentication error while connected
  270. to MongoDB 3.6+ and iterating a cursor, and it permits the $gleStats modifier
  271. with mongoc_collection_aggregate.
  272. Thanks to everyone who contributed to the development of this release.
  273. * A. Jesse Jiryu Davis
  274. * Jeremy Mikola
  275. Peace,
  276. A. Jesse Jiryu Davis
  277. mongo-c-driver 1.9.2
  278. ====================
  279. No change since 1.9.1; released to keep pace with libbson's version number.
  280. -- A. Jesse Jiryu Davis
  281. mongo-c-driver 1.9.1
  282. ====================
  283. It is my pleasure to announce mongo-c-driver 1.9.1. This release fixes a bug
  284. that caused session ID to be included in authentication and server monitoring
  285. commands. Thanks to Jeremy Mikola for finding and fixing the issue.
  286. Peace,
  287. A. Jesse Jiryu Davis
  288. mongo-c-driver 1.9.0
  289. ====================
  290. It is my pleasure to announce mongo-c-driver 1.9.0. This version drops support
  291. for MongoDB 2.4 and adds support for MongoDB 3.6 features:
  292. * New struct mongoc_change_stream_t to watch a collection for changes.
  293. * New struct mongoc_client_session_t represents a MongoDB 3.6 session,
  294. which supports causal consistency: you are guaranteed to read your writes
  295. and to perform monotonic reads, even when reading from secondaries or in
  296. a sharded cluster.
  297. * New functions that accept flexible options as a BSON document. These
  298. accept a "sessionId" option and any future options. In addition, the
  299. two new "update" functions accept the "arrayFilters" option that is new
  300. in MongoDB 3.6:
  301. mongoc_collection_insert_one
  302. mongoc_collection_insert_many
  303. mongoc_collection_update_one
  304. mongoc_collection_update_many
  305. mongoc_collection_replace_one
  306. mongoc_collection_delete_one
  307. mongoc_collection_delete_many
  308. mongoc_client_command_with_opts
  309. mongoc_database_command_with_opts
  310. mongoc_collection_command_with_opts
  311. mongoc_client_find_databases_with_opts
  312. mongoc_client_get_database_names_with_opts
  313. mongoc_collection_create_bulk_operation_with_opts
  314. mongoc_collection_find_indexes_with_opts
  315. mongoc_database_find_collections_with_opts
  316. mongoc_database_get_collection_names_with_opts
  317. * New URI option "retryWrites=true" safely and automatically retries certain
  318. write operations if the server is a MongoDB 3.6 replica set or sharded
  319. cluster.
  320. * Support for MongoDB OP_MSG wire protocol.
  321. Additional changes not specific to MongoDB 3.6:
  322. * Support for mongodb+srv URIs to query DNS for SRV and TXT records that
  323. configure the connection to MongoDB.
  324. * Support LibreSSL with CMake build
  325. * The "minPoolSize" URI option is deprecated: it's confusing and not useful.
  326. Bug fixes:
  327. * mongoc_bulk_operation_execute did not always initialize "reply".
  328. * Fix C99 pedantic warnings.
  329. Thanks to everyone who contributed to the development of this release.
  330. * A. Jesse Jiryu Davis
  331. * Hannes Magnusson
  332. * Jeremy Mikola
  333. * Kevin Albertson
  334. * Jeroen Ooms
  335. * Iulian Rotaru
  336. * Derick Rethans
  337. * Graham Whitted
  338. * Brian Moss
  339. * Alex Masterov
  340. * Michael Kuhn
  341. * Sriharsha Vardhan
  342. Peace,
  343. A. Jesse Jiryu Davis
  344. mongo-c-driver 1.8.2
  345. ====================
  346. It is my pleasure to announce mongo-c-driver 1.8.2. This release fixes the
  347. following bugs:
  348. * Remove option to bundle the Snappy compression library, it caused issues
  349. for programs linking to libmongoc
  350. * Fix pkg-config and CMake config file flags for programs that statically
  351. link to libmongoc when libmongoc is statically linked to zLib
  352. * The configure flag "--with-zlib=no" was ignored
  353. Crash in authentication when username is NULL
  354. Thanks to everyone who contributed to the development of this release.
  355. * A. Jesse Jiryu Davis
  356. * Derick Rethans
  357. * Hannes Magnusson
  358. * Jeremy Mikola
  359. Peace,
  360. A. Jesse Jiryu Davis
  361. mongo-c-driver 1.8.1
  362. ====================
  363. It is my pleasure to announce mongo-c-driver 1.8.1. This release fixes the
  364. following bugs:
  365. * Remove a syntax error in the configure script that affects some shells.
  366. * The configure script respects --with-zlib=system and --with-snappy=system.
  367. * The internal mongoc_server_description_t struct is properly reinitialized
  368. after a network error.
  369. * Fix the encoding of this NEWS file.
  370. Thanks to everyone who contributed to the development of this release.
  371. * A. Jesse Jiryu Davis
  372. * Jeremy Mikola
  373. Peace,
  374. A. Jesse Jiryu Davis
  375. mongo-c-driver 1.8.0
  376. ====================
  377. * The zLib and Snappy compression libraries are bundled if not available.
  378. Wire protocol compression is enabled on Windows.
  379. * mongoc_collection_find_and_modify_with_opts now respects a "writeConcern"
  380. field in the "extra" BSON document in its mongoc_find_and_modify_opts_t.
  381. * The command functions mongoc_client_read_write_command_with_opts,
  382. mongoc_database_read_write_command_with_opts, and
  383. mongoc_collection_read_write_command_with_opts now ignore the "read_prefs"
  384. parameter.
  385. * mongoc_collection_create_index and mongoc_collection_create_index_with_opts
  386. are both now deprecated. Use mongoc_database_write_command_with_opts
  387. instead; a guide to creating an index using that function has been added.
  388. * Use select, not WSAPoll, on Windows.
  389. * Always mark a server "Unknown" after a network error (besides a timeout).
  390. * mongoc_client_pool_t sends platform metadata to the server; before, only a
  391. single mongoc_client_t did.
  392. * New stream method mongoc_stream_timed_out.
  393. * Wire version checks introduced in 1.8.0 will prevent the driver from
  394. connecting to a future MongoDB server version if its wire protocol is
  395. incompatible.
  396. * New CMake option ENABLE_MAINTAINER_FLAGS.
  397. Thanks to everyone who contributed to the development of this release.
  398. * A. Jesse Jiryu Davis
  399. * Hannes Magnusson
  400. * Jeremy Mikola
  401. Peace,
  402. A. Jesse Jiryu Davis
  403. mongo-c-driver 1.7.0
  404. ====================
  405. It is my pleasure to announce mongo-c-driver 1.7.0.
  406. New features and bug fixes:
  407. * CMake build now installs .pc files for programs that link to libmongoc using
  408. pkg-config. Both the CMake and Autotools build systems now install .cmake
  409. files for programs that link to libmongoc using CMake. Linking to libmongoc
  410. statically or dynamically is now much more convenient. See the new tutorial
  411. section "Include and link libmongoc in your C program".
  412. * New CMake option ENABLE_STATIC can be ON, OFF, or AUTO (the default)
  413. * Minimum required CMake version has been increased to 3.1.
  414. * CMake remains experimental on non-Windows platforms and issues a warning now
  415. * Support for wire compression.
  416. * Support for snappy and zlib. MongoDB 3.4 only supports snappy, while zlib
  417. support is expected in MongoDB 3.6.
  418. The enable, configure mongoc like so:
  419. ./configure --with-snappy --with-zlib
  420. * New functions: mongoc_uri_get_compressors & mongoc_uri_set_compressors, to
  421. get and set compressor configuration on mongoc_uri_t
  422. * Added support for comma separated "compressors" connection string option (e.g.
  423. mongodb://localhost/?compressors=snappy,zlib)
  424. * Added support for configuring zlib compression level in the connection string
  425. (e.g. mongodb://localhost/?compressors=zlib&zlibcompressionlevel=8)
  426. * Now requires the use of CMake config files for libbson to build libmongoc
  427. with CMake
  428. * Added pkg-config support for libressl.
  429. * New function mongoc_uri_set_auth_mechanism to update the authentication
  430. mechanism of a mongoc_uri_t after it is created from a string.
  431. * New function mongoc_bulk_operation_insert_with_opts provides immediate
  432. error checking.
  433. * New function mongoc_uri_new_with_error provides a way to parse a connection
  434. string, and retrieve the failure reason, if any.
  435. * Support for MongoDB Connection String specification
  436. * All connection string options are now represented by MONGOC_URI_xxx macros
  437. * Paths to Unix Domain Sockets must be url encoded
  438. * Repeated options now issue warnings
  439. * Special characters in username, password and other values must be url encoded
  440. * Unsupported connection string options now issue warnings
  441. * Boolean values can now be represented as true/yes/y/t/1 and false/no/n/f/0.
  442. * Case is now preserved in Unix domain paths.
  443. * New function mongoc_cursor_error_document provides access to server's error
  444. reply if a query or command fails.
  445. * New function mongoc_write_concern_is_default determines whether any write
  446. concern options have been set, and mongoc_read_concern_is_default checks if
  447. read concern options are set.
  448. * mongoc_gridfs_find_one_with_opts optimized to use limit 1.
  449. Thanks to everyone who contributed to the development of this release.
  450. * Hannes Magnusson
  451. * A. Jesse Jiryu Davis
  452. * David Golden
  453. * Jeremy Mikola
  454. * Bernard Spil
  455. * Aleksander Melnikov
  456. * Adam Seering
  457. * Remi Collet
  458. Peace,
  459. A. Jesse Jiryu Davis
  460. mongo-c-driver 1.6.0
  461. ====================
  462. It is my pleasure to announce mongo-c-driver 1.6.0.
  463. New features and bug fixes:
  464. * Enterprise authentication on Windows now uses the native GSSAPI library;
  465. Cyrus SASL is no longer required for enterprise auth on Windows.
  466. * BSON documents are more thoroughly validated before insert or update.
  467. * New function mongoc_uri_set_mechanism_properties to replace all the
  468. authMechanismProperties on an existing URI.
  469. * mongoc_uri_get_mechanism_properties asserts its inputs are not NULL.
  470. * For consistency with other MongoDB drivers, mongoc_collection_save is
  471. deprecated in favor of mongoc_collection_insert or mongoc_collection_update.
  472. * The driver is now built and continuously tested with MinGW-W64 on Windows.
  473. * Experimental support for HPUX.
  474. * The correct operation ids are now passed to Command Monitoring callbacks.
  475. * Fix a crash if the driver couldn't connect to the server to create an index.
  476. * The documentation is ported from Mallard XML to ReStructured Text, the
  477. HTML documentation is restyled, and numerous man page syntax errors fixed.
  478. * Getter functions for options in mongoc_find_and_modify_opts_t:
  479. * mongoc_find_and_modify_opts_get_bypass_document_validation
  480. * mongoc_find_and_modify_opts_get_fields
  481. * mongoc_find_and_modify_opts_get_flags
  482. * mongoc_find_and_modify_opts_get_max_time_ms
  483. * mongoc_find_and_modify_opts_get_sort
  484. * mongoc_find_and_modify_opts_get_update
  485. * All public functions now have the __cdecl calling convention on Windows.
  486. Thanks to everyone who contributed to the development of this release.
  487. * A. Jesse Jiryu Davis
  488. * Hannes Magnusson
  489. * Aleksander Melnikov
  490. * Jeroen Ooms
  491. * Brian McCarthy
  492. * Jonathan Wang
  493. * Peter Beckman
  494. * Remi Collet
  495. * Rockford Wei
  496. * Alexey Ponomarev
  497. * Christopher Wang
  498. * David Golden
  499. * Jeremy Mikola
  500. Peace,
  501. A. Jesse Jiryu Davis
  502. mongo-c-driver 1.5.5
  503. ====================
  504. It is my pleasure to announce mongo-c-driver 1.5.5. This release fixes bugs
  505. parsing the localThresholdMS option from the MongoDB URI, and a crash in
  506. mongoc_cursor_destroy if "query" or "filter" are invalid. Thanks to Jeremy
  507. Mikola.
  508. Peace,
  509. A. Jesse Jiryu Davis
  510. mongo-c-driver 1.5.4
  511. ====================
  512. It is my pleasure to announce mongo-c-driver 1.5.4. This release fixes an error
  513. in cursor iteration when a readConcern is set. Thanks to Jeremy Mikola and
  514. Hannes Magnusson.
  515. Peace,
  516. A. Jesse Jiryu Davis
  517. mongo-c-driver 1.5.3
  518. ====================
  519. This release fixes a bug that prevented connecting to IPv4-only MongoDB servers
  520. by hostname.
  521. https://jira.mongodb.org/browse/CDRIVER-1988
  522. The driver has reverted to its 1.5.1 behavior: it connects to MongoDB over IPv6
  523. if given an IPv6 connection string like "mongodb://[::1]", and requires an IPv4
  524. connection when given a hostname like "mongodb://localhost".
  525. Peace,
  526. A. Jesse Jiryu Davis
  527. mongo-c-driver 1.5.2
  528. ====================
  529. It is my pleasure to announce mongo-c-driver 1.5.2.
  530. Thanks to everyone who contributed to the development of this release.
  531. New bug fixes:
  532. * CDRIVER-1975 allow mixed $ and non-$ query ops.
  533. * CDRIVER-1972 Support for ipv6 hostnames.
  534. * CDRIVER-1971 Missing exports of mongoc_gridfs_file_set_*() functions.
  535. * CDRIVER-1970 update define constants for "find" opts to be unique.
  536. * CDRIVER-1964 Windows CA stores should be opened with read-only flag.
  537. Thanks to everyone who contributed to the development of this release.
  538. * Hannes Magnusson
  539. * A. Jesse Jiryu Davis
  540. * Alexey Ponomarev
  541. * Peter Beckman
  542. * Rockford Wei
  543. Peace,
  544. Hannes Magnusson
  545. mongo-c-driver 1.5.1
  546. ====================
  547. It is my pleasure to announce mongo-c-driver 1.5.1. This is a bugfix release:
  548. * Fix SEGFAULT with performance counters on NUMA (thanks to Jonathan Wang).
  549. * Prevent rare assertion error in mongoc_cluster_stream_for_server.
  550. * Improve error messages from auth failure.
  551. * Escape quotes when appending CFLAGS to handshake metadata.
  552. * Fix OpenSSL header lookups in non-default paths.
  553. * Fix build failure with LibreSSL.
  554. Thanks to everyone who contributed to the development of this release.
  555. * A. Jesse Jiryu Davis
  556. * Hannes Magnusson
  557. * Jeroen Ooms
  558. * Jonathan Wang
  559. Peace,
  560. A. Jesse Jiryu Davis
  561. mongo-c-driver 1.5.0
  562. ====================
  563. It is my pleasure to announce mongo-c-driver 1.5.0.
  564. New features and bug fixes:
  565. * MongoDB 3.4 Support
  566. * New URI and read preference option, "maxStalenessSeconds"
  567. * MongoDB Handshake
  568. * writeConcern and readConcern enhancements
  569. * Collation allows users to specify language-specific rules for string
  570. comparison when sorting documents. See the code examples for
  571. mongoc_client_read_command_with_opts, mongoc_collection_count_with_opts,
  572. mongoc_collection_find_with_opts, and mongoc_index_opt_t, as well as the
  573. "Setting Collation Order" section of the "Bulk Write Operations" guide.
  574. * mongoc_collection_count_with_opts uses the collection's read preference if
  575. none is passed in
  576. * Improved TLS support
  577. * Fixed LibreSSL (libssl) support
  578. * Added LibreSSL (libtls) support
  579. * Fixed Secure Channel build on VS 2010
  580. * OpenSSL now supports SNI (all others already do)
  581. * Additional features for Application Performance Monitoring:
  582. * mongoc_topology_description_has_writable_server
  583. * mongoc_topology_description_has_readable_server
  584. * New functions accept flexible options as a BSON document:
  585. * mongoc_collection_find_with_opts
  586. * mongoc_client_read_command_with_opts
  587. * mongoc_client_write_command_with_opts
  588. * mongoc_client_read_write_command_with_opts
  589. * mongoc_database_read_command_with_opts
  590. * mongoc_database_write_command_with_opts
  591. * mongoc_database_read_write_command_with_opts
  592. * mongoc_collection_read_command_with_opts
  593. * mongoc_collection_write_command_with_opts
  594. * mongoc_collection_read_write_command_with_opts
  595. * mongoc_gridfs_find_with_opts
  596. * mongoc_gridfs_find_one_with_opts
  597. * mongoc_collection_find is now deprecated in favor of
  598. mongoc_collection_find_with_opts.
  599. * New helper function to include read concern in one of the above function's
  600. options parameter: mongoc_read_concern_append.
  601. * mongoc_client_command no longer applies the client's read preference and
  602. read concern by default. Same change for mongoc_database_command and
  603. mongoc_collection_command.
  604. * mongoc_collection_count_with_opts now applies the collection's read
  605. preference if no read preference is provided
  606. * mongoc_collection_create_index and mongoc_collection_drop_index now apply
  607. the collection's write concern.
  608. * connectTimeoutMS timer now begins after DNS resolution, and resets
  609. for each interface attempted (e.g., if the driver first tries IPv6,
  610. then IPv4).
  611. * New error code MONGOC_ERROR_DUPLICATE_KEY.
  612. * mongoc_collection_find no longer treats the "filter" key specially in
  613. queries - querying for a document with a key named "filter" is the same
  614. now as any other key.
  615. * The server description parameter to the following functions is "const":
  616. * mongoc_server_description_host
  617. * mongoc_server_description_id
  618. * mongoc_server_description_ismaster
  619. * mongoc_server_description_round_trip_time
  620. * mongoc_server_description_type
  621. * Exported symbols are no longer declared in separate export files.
  622. This could break ABI with applications using clang, which previously
  623. exported symbols from the internal private ABI.
  624. * mongoc no longer crashes when multi roundtrip bulk operation fails.
  625. * Added support for the new readConcernLevel "linearizable".
  626. * Clients now check for misformatted "readPreferenceTags" in URI.
  627. * New CMake option ENABLE_TRACING allows debug output, which before had only
  628. been available with "configure --enable-tracing".
  629. * Bugfix: "PossiblePrimary"-type replicas could be selected for reads
  630. * Bugfixes: The random number generator used to select servers is now properly
  631. seeded, and secondary queries are now properly distributed according to
  632. localThresholdMS, not just to the lowest-latency secondary.
  633. * mongoc_collection_insert, mongoc_collection_update, mongoc_collection_remove
  634. consistently use domain MONGOC_ERROR_BSON, code MONGOC_ERROR_BSON_INVALID
  635. if passed oversized BSON, and MONGOC_ERROR_COLLECTION for other errors.
  636. mongoc_bulk_operation_execute continues to use MONGOC_ERROR_COMMAND for
  637. all errors.
  638. * If mongoc_client_pool_t fails to start its scanner thread in the background,
  639. it logs and aborts instead of silently continuing, then failing to connect.
  640. * The driver now updates its view of the whole topology with information from
  641. each new connection handshake.
  642. * mongoc_client_set_apm_callbacks can be used repeatedly to change or clear
  643. the list of monitoring callbacks.
  644. * Improved error reporting when the driver fails to reach the server.
  645. Deprecations:
  646. * mongoc_collection_find is deprecated for mongoc_collection_find_with_opts.
  647. Removed configure flags:
  648. * --enable-experimental has been removed. All previously experimental
  649. features are now always on.
  650. * The configure option "--enable-hardening" had had no effect. It is removed
  651. in favor of system-wide compiler configuration.
  652. Thanks to everyone who contributed to the development of this release.
  653. * A. Jesse Jiryu Davis
  654. * Hannes Magnusson
  655. * Fiona Rowan
  656. * Ian Boros
  657. * Remi Collet
  658. * Brian McCarthy
  659. * Jeroen Ooms
  660. * J. Rassi
  661. * Christoph Schwarz
  662. * Alexey Vorobeyev
  663. Peace,
  664. A. Jesse Jiryu Davis
  665. mongo-c-driver 1.4.2
  666. ====================
  667. It is my pleasure to announce mongo-c-driver 1.4.2. This release fixes bugs in
  668. "minPoolSize" logic, see CDRIVER-1558 for details.
  669. Peace,
  670. A. Jesse Jiryu Davis
  671. mongo-c-driver 1.4.1
  672. ====================
  673. It is my pleasure to announce mongo-c-driver 1.4.1. This is a bugfix release:
  674. * mongoc_client_get_server_descriptions could return a list including NULLs
  675. * Tailable cursors on MongoDB 3.2 only worked with MONGOC_QUERY_AWAIT_DATA
  676. * Spurious warnings with MONGOC_DISABLE_SHM
  677. Thanks to everyone who contributed to the development of this release.
  678. * A. Jesse Jiryu Davis
  679. * Hannes Magnusson
  680. Peace,
  681. A. Jesse Jiryu Davis
  682. mongo-c-driver 1.4.0
  683. ====================
  684. It is my pleasure to announce the release of mongo-c-driver 1.4.0.
  685. TLS
  686. ---
  687. The driver can now use the native TLS and crypto functions included in macOS
  688. and Windows. OpenSSL is no longer required for TLS or authentication on Mac or
  689. Windows. By default, OpenSSL is used if available, the default will switch in
  690. version 2.0 to prefer native TLS.
  691. For native TLS on Mac:
  692. ./configure --enable-ssl=darwin
  693. For Windows:
  694. cmake "-DENABLE_SSL=WINDOWS" -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"
  695. All of the TLS implementations now load the native default certificate store,
  696. with OpenSSL on Windows falling back on the Windows native certificate store if
  697. no other can be found.
  698. The "ca_dir" field on mongoc_ssl_opt_t is only supported by OpenSSL. All other
  699. fields, including "pem_file", are supported by all implementations.
  700. A new field, "allow_invalid_hostname", has been added to mongoc_ssl_opt_t and is
  701. preferred over the existing "allow_invalid_certificate" to disable hostname
  702. verification.
  703. The driver now supports the latest OpenSSL 1.1 in addition to past versions.
  704. Application Performance Monitoring
  705. ----------------------------------
  706. The driver implements the MongoDB Command Monitoring Spec. Applications can
  707. record the duration and other details of every operation the driver performs on
  708. the server. See "Introduction to Application Performance Monitoring" in the
  709. docs.
  710. Error API
  711. ---------
  712. New functions mongoc_client_set_error_api and mongoc_client_pool_set_error_api
  713. allow applications to distinguish client and server errors. See the "Error
  714. Reporting" doc.
  715. Unacknowledged Write Results
  716. ----------------------------
  717. Unacknowledged writes (writes whose mongoc_write_concern_t "w" value is zero)
  718. now reply with an empty document instead of one with nInserted: 0, nUpdated: 0,
  719. and so on.
  720. Command functions now ignore the read preferences set on a client, database,
  721. or collection. Instead, they use the mongoc_read_prefs_t passed in explicitly,
  722. or default to "primary". This change was made to bring them in line with the
  723. Server Selection Spec. These are the affected functions:
  724. * mongoc_client_command
  725. * mongoc_client_command_simple
  726. * mongoc_database_command
  727. * mongoc_database_command_simple
  728. * mongoc_collection_command
  729. * mongoc_collection_command_simple
  730. On the other hand, the following command-specific helper functions now use the
  731. collection's read preference:
  732. * mongoc_collection_count
  733. * mongoc_collection_stats
  734. New functions to send maxTimeMS or any arbitrary options with findAndModify:
  735. * mongoc_find_and_modify_opts_set_max_time_ms
  736. * mongoc_find_and_modify_opts_append
  737. New function to include a write concern with a generic command function
  738. like mongoc_client_command_simple:
  739. * mongoc_write_concern_append
  740. Public API For Higher-Level Drivers
  741. -----------------------------------
  742. New functions support language drivers (specifically the PHP and HHVM drivers)
  743. using only the libmongoc public API:
  744. * mongoc_bulk_operation_get_hint
  745. * mongoc_client_command_simple_with_server_id
  746. * mongoc_client_get_server_description
  747. * mongoc_client_get_server_description_by_id
  748. * mongoc_client_get_server_descriptions
  749. * mongoc_client_select_server
  750. * mongoc_cursor_get_limit
  751. * mongoc_cursor_new_from_command_reply
  752. * mongoc_cursor_set_hint
  753. * mongoc_cursor_set_limit
  754. * mongoc_log_trace_disable
  755. * mongoc_log_trace_enable
  756. * mongoc_server_description_ismaster
  757. * mongoc_server_description_round_trip_time
  758. * mongoc_server_description_type
  759. * mongoc_server_descriptions_destroy_all
  760. * mongoc_uri_get_option_as_bool
  761. * mongoc_uri_get_option_as_int32
  762. * mongoc_uri_get_option_as_utf8
  763. * mongoc_uri_option_is_bool
  764. * mongoc_uri_option_is_int32
  765. * mongoc_uri_option_is_utf8
  766. * mongoc_uri_set_auth_source
  767. * mongoc_uri_set_database
  768. * mongoc_uri_set_option_as_bool
  769. * mongoc_uri_set_option_as_int32
  770. * mongoc_uri_set_option_as_utf8
  771. * mongoc_uri_set_password
  772. * mongoc_uri_set_read_concern
  773. * mongoc_uri_set_read_prefs_t
  774. * mongoc_uri_set_username
  775. * mongoc_uri_set_write_concern
  776. * mongoc_write_concern_is_acknowledged
  777. * mongoc_write_concern_is_valid
  778. * mongoc_write_concern_journal_is_set
  779. Now that these public APIs are available, the PHP drivers no longer define the
  780. MONGOC_I_AM_A_DRIVER preprocessor symbol to access private APIs. The symbol is
  781. removed from C Driver headers, and libmongoc-priv.so is no longer installed.
  782. Other Features
  783. --------------
  784. * New connection string option "localThresholdMS".
  785. * zSeries and POWER8 platform support.
  786. * Performance enhancements, reduce allocation and copying in command code.
  787. * All man page names now begin with "mongoc_" to avoid install conflicts.
  788. * New function mongoc_gridfs_file_set_id.
  789. Deprecations
  790. ------------
  791. Automatically calling mongoc_init and mongoc_cleanup is a GCC-specific feature
  792. that is now deprecated, and will be removed in version 2. The driver should be
  793. built with:
  794. ./configure --disable-automatic-init-and-cleanup
  795. Or:
  796. cmake "-DENABLE_AUTOMATIC_INIT_AND_CLEANUP=OFF" -G "Visual Studio 10 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver"
  797. In this configuration, applications must explicitly init and cleanup libmongoc.
  798. Deprecated functions:
  799. * mongoc_write_concern_get_fsync
  800. * mongoc_write_concern_set_fsync
  801. Notable Bug Fixes
  802. -----------------
  803. * Logic bugs using tag sets to select replica set members with complex configs
  804. * mongoc_client_get_database_names no longer filters out a replica set
  805. member's "local" database.
  806. * mongoc_client_get_gridfs now ensures the proper indexes on the files and
  807. chunks collections.
  808. * SecondaryPreferred fails if primary matches tags but secondaries don't.
  809. * mongoc_collection_find_and_modify_with_opts can return true on
  810. writeConcernError.
  811. * mongoc_collection_validate doesn't always init "reply".
  812. * The strings referred to by mongoc_ssl_opt_t, like pem_file and ca_file, are
  813. now copied into the client or client pool by mongoc_client_set_ssl_opts or
  814. mongoc_client_pool_set_ssl_opts, and need not be kept valid afterward.
  815. * mongoc_collection_count_with_opts ignored flags and read_prefs.
  816. * minPoolSize of 0 should mean "no minimum".
  817. * mongoc_database_create_collection should always use the primary.
  818. * The GSSAPI properties SERVICE_NAME and CANONICALIZE_HOST_NAME are now
  819. properly parsed from the URI, see the "Authentication" doc for details.
  820. * Comprehensive compatibility with various C standards and compilers.
  821. Acknowledgements
  822. ----------------
  823. Thanks to everyone who contributed to the development of this release.
  824. * A. Jesse Jiryu Davis
  825. * Hannes Magnusson
  826. * Ian Boros
  827. * Fiona Rowan
  828. * Jeremy Mikola
  829. * Christoph Schwarz
  830. * Mike Lloyd
  831. * Remi Collet
  832. * Jean-Bernard Jansen
  833. * David Hatch
  834. * Derick Rethans
  835. * Brian Samek
  836. Peace,
  837. A. Jesse Jiryu Davis
  838. mongo-c-driver 1.3.5
  839. ====================
  840. It is my pleasure to announce mongo-c-driver 1.3.5. This release fixes a crash
  841. in mongoc_cleanup when an allocator had been set with bson_mem_set_vtable, and
  842. introduces a configure option MONGOC_NO_AUTOMATIC_GLOBALS which prevents code
  843. built with GCC from automatically calling mongoc_init and mongoc_cleanup when
  844. your code does not.
  845. Thanks to everyone who contributed to the development of this release.
  846. * A. Jesse Jiryu Davis
  847. * Hannes Magnusson
  848. Peace,
  849. A. Jesse Jiryu Davis
  850. mongo-c-driver 1.3.4
  851. ====================
  852. It is my pleasure to announce the MongoDB C Driver 1.3.4. This release fixes a
  853. security vulnerability: when a mongoc_client_t uses SSL and is disconnected, it
  854. failed to re-verify the server certificate after reconnecting. This flaw affects
  855. single clients, not pooled ones.
  856. Thanks to everyone who contributed to the development of this release.
  857. * A. Jesse Jiryu Davis
  858. * Hannes Magnusson
  859. * Remi Collet
  860. Peace,
  861. A. Jesse Jiryu Davis
  862. mongo-c-driver 1.3.3
  863. ====================
  864. It is my pleasure to announce MongoDB C Driver 1.3.3. This fixes a bug where
  865. a slightly-oversized bulk write operation was not split into batches; instead,
  866. it was sent whole to the server, which rejected it.
  867. Peace,
  868. A. Jesse Jiryu Davis
  869. mongo-c-driver 1.3.2
  870. ====================
  871. It is my pleasure to announce MongoDB C Driver 1.3.2. This is a bugfix release:
  872. * A socket is properly discarded after a network error from a command.
  873. * mongoc_database_get_collection now copies the database's read preferences,
  874. read concern, and write concern, instead of copying the client's.
  875. * mongoc_cursor_t's private struct now allows a negative limit.
  876. Thanks to everyone who contributed to this release.
  877. * A. Jesse Jiryu Davis
  878. * Jeremy Mikola
  879. * Hannes Magnusson
  880. Peace,
  881. A. Jesse Jiryu Davis
  882. mongo-c-driver 1.3.1
  883. ====================
  884. It is my pleasure to announce MongoDB C Driver 1.3.1. This is a bugfix release:
  885. * mongoc_client_get_gridfs now copies the client's read preferences, read
  886. concern, and write concern to the newly created mongoc_gridfs_t. Before
  887. this fix, GridFS operations were always executed with the default config:
  888. data was read from the primary, with the read concern level "local", and
  889. written with write concern "acknowledged". Now, if you have configured any
  890. of these options on the mongoc_client_t, they are respected by the
  891. mongoc_gridfs_t.
  892. * CMakeLists.txt now includes and installs the pkg-config files.
  893. Thanks to everyone who contributed to this release.
  894. * A. Jesse Jiryu Davis
  895. * Hannes Magnusson
  896. * Christopher Wang
  897. * Jean-Bernard Jansen
  898. * Jeremy Mikola
  899. * Jeroen Ooms
  900. Peace,
  901. A. Jesse Jiryu Davis
  902. mongo-c-driver 1.3.0
  903. ====================
  904. It is my pleasure to announce to you the release of the MongoDB C Driver 1.3.0.
  905. Changes since the release candidate 1.3.0-rc0:
  906. * Fix a cursor bug introduced on big-endian platforms in 1.3.0-beta0.
  907. * Improve documentation for mongoc_host_list_t.
  908. * Move private mongoc_host_list_t functions from public header.
  909. * Refactor the build system to declare library version in one place.
  910. All new features and changes since the previous stable release, 1.2.1:
  911. * If the driver is compiled without SSL support but a URI with "ssl=true"
  912. is passed to mongoc_client_new, mongoc_client_new_from_uri, or
  913. mongoc_client_pool_new, the function logs an error and returns NULL. Before,
  914. the driver would attempt a non-SSL connection.
  915. * mongoc_collection_find_and_modify will now apply the mongoc_collection_t's
  916. write_concern_t when talking to MongoDB 3.2.
  917. * Support for MongoDB 3.2's "readConcern" feature for queries, counts, and
  918. aggregations. The option "readConcernLevel" is now accepted in the MongoDB
  919. URI. New struct mongoc_read_concern_t, and functions operating on it:
  920. - mongoc_client_get_read_concern
  921. - mongoc_client_set_read_concern
  922. - mongoc_database_get_read_concern
  923. - mongoc_database_set_read_concern
  924. - mongoc_collection_get_read_concern
  925. - mongoc_collection_set_read_concern
  926. - mongoc_read_concern_copy
  927. - mongoc_read_concern_destroy
  928. - mongoc_read_concern_get_level
  929. - mongoc_read_concern_new
  930. - mongoc_read_concern_set_level
  931. - mongoc_uri_get_read_concern
  932. * Support for MongoDB 3.2's "bypassDocumentValidation" option for writes.
  933. * New struct mongoc_bulk_write_flags_t and related functions:
  934. - mongoc_bulk_operation_set_bypass_document_validation
  935. * New struct mongoc_find_and_modify_opts_t and related functions:
  936. - mongoc_find_and_modify_opts_new
  937. - mongoc_find_and_modify_opts_destroy
  938. - mongoc_find_and_modify_opts_set_sort
  939. - mongoc_find_and_modify_opts_set_update
  940. - mongoc_find_and_modify_opts_set_fields
  941. - mongoc_find_and_modify_opts_set_flags
  942. - mongoc_find_and_modify_opts_set_bypass_document_validation
  943. - mongoc_collection_find_and_modify_with_opts
  944. * New functions to copy database and collection handles:
  945. - mongoc_collection_copy
  946. - mongoc_database_copy
  947. * Support for MongoDB 3.2 wire protocol: use commands in place of OP_QUERY,
  948. OP_GETMORE, and OP_KILLCURSORS messages.
  949. * To explain a query plan with MongoDB 3.2, you must now call the "explain"
  950. command, instead of including the "$explain" key in a mongoc_collection_find
  951. query. See the mongoc_collection_find documentation page for details.
  952. * Configurable wait time on tailable cursors with MongoDB 3.2:
  953. - mongoc_cursor_get_max_await_time_ms
  954. - mongoc_cursor_set_max_await_time_ms
  955. * Use electionId to detect a stale replica set primary during a network split.
  956. * Disconnect from replica set members whose "me" field does not match the
  957. connection address.
  958. * The client side matching feature, mongoc_matcher_t and related functions,
  959. are deprecated and scheduled for removal in version 2.0.
  960. * New CMake options ENABLE_SSL, ENABLE_SASL, ENABLE_TESTS, and ENABLE_EXAMPLES.
  961. * Use constant-time comparison when verifying credentials.
  962. * Combine environment's CFLAGS with configure options when building.
  963. * Improved man page output and "whatis" entries.
  964. There are extensive bugfixes and improvements in GridFS since 1.2.1, including:
  965. * Handle seeking, reading, and writing past the end of a GridFS file.
  966. * If a GridFS chunk is missing, mongoc_gridfs_file_readv sets file->error to
  967. domain MONGOC_ERROR_GRIDFS and a new code MONGOC_ERROR_GRIDFS_CHUNK_MISSING.
  968. * Optimization for long seeks forward with mongoc_gridfs_file_seek.
  969. Other fixes since 1.2.1:
  970. * Memory leaks in mongoc_database_has_collection and mongoc_cursor_next.
  971. * Report writeConcern failures from findAndModify and from legacy writes.
  972. * Memory leak in mongoc_database_find_collections.
  973. * Set OP_QUERY's nToReturn from the provided limit.
  974. * Fix compiler warnings and errors, especially with Visual Studio 2015,
  975. GCC 4.8, and IBM XL C.
  976. * Bugs and typos in tutorial examples.
  977. Thanks to everyone who contributed to this release.
  978. * A. Jesse Jiryu Davis
  979. * Hannes Magnusson
  980. * Kyle Suarez
  981. * Jose Sebastian Battig
  982. * Matt Cotter
  983. * Claudio Canella
  984. * alexeyvo
  985. * Christopher Wang
  986. * Flavio Medeiros
  987. * Iago Rubio
  988. * Jeremy Mikola
  989. * Victor Leschuk
  990. * Jason Carey
  991. Peace,
  992. A. Jesse Jiryu Davis
  993. mongo-c-driver 1.3.0-rc0
  994. ========================
  995. It is my pleasure to announce to you the first release candidate of MongoDB C
  996. driver 1.3.0. It includes additive ABI changes and bugfixes, and support for
  997. the upcoming MongoDB 3.2. It is compatible with MongoDB 2.4 and later.
  998. New features and changes since 1.3.0-beta0:
  999. * If the driver is compiled without SSL support but a URI with "ssl=true"
  1000. is passed to mongoc_client_new, mongoc_client_new_from_uri, or
  1001. mongoc_client_pool_new, the function logs an error and returns NULL. Before,
  1002. the driver would attempt a non-SSL connection.
  1003. * New functions to copy database and collection handles:
  1004. - mongoc_collection_copy
  1005. - mongoc_database_copy
  1006. * If a GridFS chunk is missing, mongoc_gridfs_file_readv sets file->error to
  1007. domain MONGOC_ERROR_GRIDFS and a new code MONGOC_ERROR_GRIDFS_CHUNK_MISSING.
  1008. * Use electionId to detect a stale replica set primary during a network split.
  1009. * Disconnect from replica set members whose "me" field does not match the
  1010. connection address.
  1011. * The client side matching feature, mongoc_matcher_t and related functions,
  1012. are deprecated and scheduled for removal in version 2.0.
  1013. * New CMake options ENABLE_SSL, ENABLE_SASL, ENABLE_TESTS, and ENABLE_EXAMPLES.
  1014. * The build system is refactored to declare the current version and latest
  1015. release in one place.
  1016. Other fixes:
  1017. * Memory leaks in mongoc_database_has_collection and mongoc_cursor_next.
  1018. * Report writeConcern failures from findAndModify and from legacy writes.
  1019. Thanks to everyone who contributed to this release candidate.
  1020. * A. Jesse Jiryu Davis
  1021. * Hannes Magnusson
  1022. * Matt Cotter
  1023. * Claudio Canella
  1024. * Victor Leschuk
  1025. * Flavio Medeiros
  1026. * Christopher Wang
  1027. Peace,
  1028. A. Jesse Jiryu Davis
  1029. mongo-c-driver 1.3.0-beta0
  1030. ==========================
  1031. It is my pleasure to announce to you the beta of MongoDB C driver 1.3.0.
  1032. This beta includes additive ABI changes and bugfixes, and support for
  1033. the upcoming MongoDB 3.2. It is compatible with MongoDB 2.4 and later.
  1034. New features and changes:
  1035. * mongoc_collection_find_and_modify will now apply the mongoc_collection_t's
  1036. write_concern_t when talking to MongoDB 3.2.
  1037. * Support for MongoDB 3.2's "readConcern" feature for queries, counts, and
  1038. aggregations. The option "readConcernLevel" is now accepted in the MongoDB
  1039. URI. New struct mongoc_read_concern_t, and functions operating on it:
  1040. - mongoc_client_get_read_concern
  1041. - mongoc_client_set_read_concern
  1042. - mongoc_database_get_read_concern
  1043. - mongoc_database_set_read_concern
  1044. - mongoc_collection_get_read_concern
  1045. - mongoc_collection_set_read_concern
  1046. - mongoc_read_concern_copy
  1047. - mongoc_read_concern_destroy
  1048. - mongoc_read_concern_get_level
  1049. - mongoc_read_concern_new
  1050. - mongoc_read_concern_set_level
  1051. - mongoc_uri_get_read_concern
  1052. * Support for MongoDB 3.2's "bypassDocumentValidation" option for writes.
  1053. * New struct mongoc_bulk_write_flags_t and related functions:
  1054. - mongoc_bulk_operation_set_bypass_document_validation
  1055. * New struct mongoc_find_and_modify_opts_t and related functions:
  1056. - mongoc_find_and_modify_opts_new
  1057. - mongoc_find_and_modify_opts_destroy
  1058. - mongoc_find_and_modify_opts_set_sort
  1059. - mongoc_find_and_modify_opts_set_update
  1060. - mongoc_find_and_modify_opts_set_fields
  1061. - mongoc_find_and_modify_opts_set_flags
  1062. - mongoc_find_and_modify_opts_set_bypass_document_validation
  1063. - mongoc_collection_find_and_modify_with_opts
  1064. * Configurable wait time on tailable cursors with MongoDB 3.2:
  1065. - mongoc_cursor_get_max_await_time_ms
  1066. - mongoc_cursor_set_max_await_time_ms
  1067. * Support for MongoDB 3.2 wire protocol: use commands in place of OP_QUERY,
  1068. OP_GETMORE, and OP_KILLCURSORS messages.
  1069. * To explain a query plan with MongoDB 3.2, you must now call the "explain"
  1070. command, instead of including the "$explain" key in a mongoc_collection_find
  1071. query. See the mongoc_collection_find documentation page for details.
  1072. * Use constant-time comparison when verifying credentials.
  1073. * Combine environment's CFLAGS with configure options when building.
  1074. * Improved man page output and "whatis" entries.
  1075. Extensive bugfixes and improvements in GridFS, including:
  1076. * Handle seeking, reading, and writing past the end of a GridFS file.
  1077. * Optimization for long seeks forward with mongoc_gridfs_file_seek.
  1078. Other fixes:
  1079. * Memory leak in mongoc_database_find_collections.
  1080. * Set OP_QUERY's nToReturn from the provided limit.
  1081. * Fix compiler warnings and errors, especially with Visual Studio 2015,
  1082. GCC 4.8, and IBM XL C.
  1083. * Bugs and typos in tutorial examples
  1084. Thanks to everyone who contributed to this beta release.
  1085. * A. Jesse Jiryu Davis
  1086. * Hannes Magnusson
  1087. * Kyle Suarez
  1088. * Jose Sebastian Battig
  1089. * Jeremy Mikola
  1090. * Iago Rubio
  1091. * Matt Cotter
  1092. * alexeyvo
  1093. Peace,
  1094. A. Jesse Jiryu Davis
  1095. mongo-c-driver 1.2.2
  1096. ====================
  1097. It is my pleasure to announce to you the MongoDB C driver 1.2.2.
  1098. This release fixes a rare bug where the driver can direct reads to hidden
  1099. secondaries unintentionally. It also includes fixes and improvements to the
  1100. build system.
  1101. Peace,
  1102. A. Jesse Jiryu Davis
  1103. mongo-c-driver 1.2.1
  1104. ====================
  1105. It is my pleasure to announce to you the MongoDB C driver 1.2.1.
  1106. This release includes critical bugfixes for SSL connections with
  1107. mongoc_client_pool_t, and for Unix domain socket connections.
  1108. The documentation is updated for a change introduced in version 1.2.0:
  1109. mongoc_client_set_ssl_opts and mongoc_client_pool_set_ssl_opts now configure
  1110. the driver to require an SSL connection to the server, even if "ssl=true" is
  1111. omitted from the MongoDB URI. Before, SSL options were ignored unless
  1112. "ssl=true" was included in the URI.
  1113. The build instructions are improved, including the steps to build with OpenSSL
  1114. on OS X El Capitan. Build errors and warnings are fixed for clang in gnu99
  1115. mode and MinGW.
  1116. Thanks to everyone who contributed to this version of libmongoc.
  1117. * A. Jesse Jiryu Davis
  1118. * Hannes Magnusson
  1119. * Tamas Nagy
  1120. Peace,
  1121. A. Jesse Jiryu Davis
  1122. mongo-c-driver 1.2.0
  1123. ====================
  1124. It is my pleasure to announce to you the MongoDB C driver 1.2.0.
  1125. This is a stable release with additive ABI changes and bugfixes. It is
  1126. compatible with MongoDB version 2.4 and later.
  1127. The following notes summarize changes since the previous stable release,
  1128. 1.1.11, including changes in the 1.2.0 betas and release candidate.
  1129. This version rewrites mongoc_client_t's internals to match two important new
  1130. specs for MongoDB drivers: the Server Discovery And Monitoring Spec and the
  1131. Server Selection Spec. The rewritten client has many advantages:
  1132. * All replica set members or mongos servers are discovered and periodically
  1133. checked in parallel. The driver's performance is dramatically better and
  1134. more predictable with multi-server deployments, or with a flaky network,
  1135. or when some servers are slow or down.
  1136. * Clients from the same mongoc_client_pool_t share a background thread that
  1137. discovers and monitors all servers in parallel.
  1138. * Unnecessary round trips for server checks and pings are eliminated.
  1139. * Behavior is documented in the specs, and consistent with other drivers,
  1140. even in complex or unusual scenarios.
  1141. * The URI's "replicaSet" option is enforced: the driver now refuses to connect
  1142. to a server unless it is a member of a replica set with the correct setName.
  1143. * Many race conditions related to changing deployment conditions are fixed.
  1144. To conform to the new specs, the client now accepts these options in the
  1145. MongoDB URI; see the mongoc_uri_t documentation for details:
  1146. * heartbeatFrequencyMS
  1147. * serverSelectionTimeoutMS
  1148. * serverSelectionTryOnce
  1149. * socketCheckIntervalMS
  1150. Other features:
  1151. * All timeouts that can be configured in the URI now interpret 0 to mean "use
  1152. the default value for this timeout".
  1153. * The client's read preference can be configured in the URI with the new
  1154. options "readPreference" and "readPreferenceTags"; see the mongoc_uri_t
  1155. documentation.
  1156. * The new mongoc_uri_get_read_prefs_t function retrieves both the read mode
  1157. and tags from a mongoc_uri_t.
  1158. * New accessors mongoc_gridfs_file_get_id, mongoc_client_get_default_database,
  1159. and mongoc_bulk_operation_get_write_concern.
  1160. * Debug tracing can be controlled at runtime with mongoc_log_trace_enable and
  1161. mongoc_log_trace_disable.
  1162. * Set mongoc_client_pool_t's size with mongoc_client_pool_min_size()
  1163. and mongoc_client_pool_max_size().
  1164. Other changes:
  1165. * Enable runtime asserts in release build.
  1166. * The libbson submodule's URL now uses the recommended https://, not git://
  1167. * mongoc_client_kill_cursor is now deprecated and will be removed in 2.0.
  1168. * The write concern "w=-1" is documented as obsolete.
  1169. These notable bugs have been fixed since 1.1.11:
  1170. * The driver now uses the server's maxWireVersion to avoid an error and
  1171. extra round-trip when executing aggregations on MongoDB 2.4 and older.
  1172. * Much improved reporting of network errors, unavailable servers, and
  1173. authentication failure
  1174. * Off-by-one error in mongoc_gridfs_file_seek with mode SEEK_END
  1175. * The writeConcernErrors field of bulk results is properly formatted.
  1176. * A cursor with a server "hint" sets slaveOkay and / or $readPreference.
  1177. * Destroying an exhaust cursor must close its socket
  1178. * "wtimeoutms" was ignored for write concerns besides "majority".
  1179. * Bulk write operations might fail in mixed-version sharded clusters with
  1180. some pre-2.6 mongos servers.
  1181. * A variety of bugs and incorrect results in mongoc_bulk_operation_execute.
  1182. * Numerous compiler warnings and build failures on various platforms.
  1183. * Copious refinements to the documentation.
  1184. Thanks to everyone who contributed to this version of libmongoc.
  1185. * Jason Carey
  1186. * Samantha Ritter
  1187. * A. Jesse Jiryu Davis
  1188. * Hannes Magnusson
  1189. * Kyle Suarez
  1190. * Jeremy Mikola
  1191. * Remi Collet
  1192. * Jose Sebastian Battig
  1193. * Derick Rethans
  1194. * Yuchen Xie
  1195. * Manuel Schoenlaub
  1196. * Sujan Dutta
  1197. * Lloyd Zhou
  1198. * rubicks
  1199. * Pawel Szczurko
  1200. * Yuval Hager
  1201. Peace,
  1202. A. Jesse Jiryu Davis
  1203. mongo-c-driver 1.2.0-rc0
  1204. ========================
  1205. It is my pleasure to announce the release candidate of the MongoDB C driver
  1206. 1.2.0. It includes features and bugfixes developed since 1.2.0-beta1.
  1207. Notable bugs fixed:
  1208. * Much improved reporting of network errors, unavailable servers, and
  1209. authentication failure
  1210. * Destroying an exhaust cursor must close its socket
  1211. * Various bugs in server reconnection logic
  1212. * mongoc_collection_aggregate returned invalid cursor after failure
  1213. * Wrong error message after failed network write on Sparc
  1214. * Missing JSON test files in release tarball
  1215. Other changes:
  1216. * Enable runtime asserts in release build.
  1217. * mongoc_client_kill_cursor is now deprecated and will be removed in
  1218. version 2.0.
  1219. This release candidate also includes all bugfixes from 1.1.11.
  1220. Version 1.2.0 final will be a stable release with additive ABI changes and
  1221. bugfixes. It is compatible with MongoDB version 2.4 and later.
  1222. Thanks to everyone who contributed to this version of libmongoc.
  1223. * A. Jesse Jiryu Davis
  1224. * Hannes Magnusson
  1225. * Kyle Suarez
  1226. * rubicks
  1227. * Jose Sebastian Battig
  1228. * Jason Carey
  1229. * Remi Collet
  1230. * Yuval Hager
  1231. Peace,
  1232. A. Jesse Jiryu Davis
  1233. mongo-c-driver 1.2.0-beta1
  1234. ==========================
  1235. It is my pleasure to announce the second beta release of the MongoDB C driver
  1236. 1.2.0. It includes features and bugfixes developed since 1.2.0-beta.
  1237. New features:
  1238. * Set mongoc_client_pool_t's size with mongoc_client_pool_min_size()
  1239. and mongoc_client_pool_max_size().
  1240. * The write concern "w=-1" is now documented as obsolete.
  1241. * Abundant fixes and additions to the documentation, beyond those in the
  1242. previous beta.
  1243. Notable bugs fixed:
  1244. * Crashes and races in several replica set scenarios.
  1245. * The driver now uses the server's maxWireVersion to avoid an error and
  1246. extra round-trip when executing aggregations on MongoDB 2.4 and older.
  1247. * Fixed network error handling in multiple code paths.
  1248. * connectTimeoutMS limits the time the driver can spend reconnecting to
  1249. servers in single-threaded (non-pooled) mode with serverSelectionTryOnce.
  1250. Version 1.2.0 final will be a stable release with additive ABI changes and
  1251. bugfixes. It is compatible with MongoDB version 2.4 and later.
  1252. Thanks to everyone who contributed to this version of libmongoc.
  1253. * A. Jesse Jiryu Davis
  1254. * Hannes Magnusson
  1255. * Manuel Schoenlaub
  1256. * Kyle Suarez
  1257. * Remi Collet
  1258. Peace,
  1259. A. Jesse Jiryu Davis
  1260. mongo-c-driver 1.2.0-beta
  1261. =========================
  1262. It is my pleasure to announce to you the first beta release of the MongoDB C
  1263. driver 1.2.0.
  1264. This release is a stable release with additive ABI changes and bugfixes.
  1265. It is compatible with MongoDB version 2.4 and later.
  1266. Version 1.2.0 rewrites mongoc_client_t's internals to match two important new
  1267. specs for MongoDB drivers: the Server Discovery And Monitoring Spec and the
  1268. Server Selection Spec. The rewritten client has many advantages:
  1269. * All replica set members or mongoses are discovered and periodically
  1270. checked in parallel. The driver's performance is dramatically better and
  1271. more predictable with multi-server deployments, or with a flaky network,
  1272. or when some servers are slow or down.
  1273. * Clients from the same mongoc_client_pool_t share a background thread that
  1274. discovers and monitors all servers in parallel.
  1275. * Unnecessary round trips for server checks and pings are eliminated.
  1276. * Behavior is documented in the specs, and consistent with other drivers, even
  1277. in complex or unusual scenarios.
  1278. * The URI's "replicaSet" option is enforced: the driver now refuses to connect
  1279. to a server unless it is a member of a replica set with the right setName.
  1280. * Many race conditions related to changing deployment conditions are fixed.
  1281. To conform to the new specs, the client now accepts these options in the MongoDB
  1282. URI; see the mongoc_uri_t documentation for details:
  1283. * heartbeatFrequencyMS
  1284. * serverSelectionTimeoutMS
  1285. * serverSelectionTryOnce
  1286. * socketCheckIntervalMS
  1287. Other features:
  1288. * All timeouts that can be configured in the URI now interpret 0 to mean "use
  1289. the default value for this timeout".
  1290. * The client's read preference can be configured in the URI with the new
  1291. options "readPreference" and "readPreferenceTags", see the mongoc_uri_t
  1292. documentation.
  1293. * The new mongoc_uri_get_read_prefs_t function retrieves both the read mode
  1294. and tags from a mongoc_uri_t.
  1295. * New accessors mongoc_gridfs_file_get_id, mongoc_client_get_default_database,
  1296. and mongoc_bulk_operation_get_write_concern.
  1297. * Debug tracing can be controlled at runtime with mongoc_log_trace_enable and
  1298. mongoc_log_trace_disable.
  1299. Notable bugs fixed:
  1300. * "wtimeoutms" was ignored for write concerns besides "majority".
  1301. * Bulk write operations might fail in mixed-version sharded clusters with
  1302. some pre-2.6 mongos servers.
  1303. * Normal operations were logged during startup and could not be silenced.
  1304. * A variety of bugs and incorrect results in mongoc_bulk_operation_execute.
  1305. * Numerous compiler warnings and build failures on various platforms.
  1306. * Copious refinements to the documentation.
  1307. Thanks to everyone who contributed to this version of libmongoc.
  1308. * A. Jesse Jiryu Davis
  1309. * Sujan Dutta
  1310. * Jason Carey
  1311. * Hannes Magnusson
  1312. * Jeremy Mikola
  1313. * Derick Rethans
  1314. * Samantha Ritter
  1315. * Yuchen Xie
  1316. * Lloyd Zhou
  1317. Peace,
  1318. A. Jesse Jiryu Davis
  1319. mongo-c-driver 1.1.11
  1320. =====================
  1321. It is my pleasure to announce to you the MongoDB C driver 1.1.11.
  1322. This is a patch release with bug fixes:
  1323. * Undetected network errors when sending messages to the server
  1324. * Off-by-one error in mongoc_gridfs_file_seek with mode SEEK_END
  1325. * Memory leak parsing a URI that contains an invalid option
  1326. * The libbson submodule's URL now uses the recommended https://, not git://
  1327. Thanks to everyone who contributed to the development of this point release for
  1328. libmongoc.
  1329. * A. Jesse Jiryu Davis
  1330. * Hannes Magnusson
  1331. * Jason Carey
  1332. * Jose Sebastian Battig
  1333. * rubicks
  1334. Peace,
  1335. A. Jesse Jiryu Davis
  1336. mongo-c-driver 1.1.10
  1337. =====================
  1338. It is my pleasure to announce to you the MongoDB C driver 1.1.10.
  1339. This is a patch release with bug fixes:
  1340. * Occasional crash reconnecting to replica set.
  1341. * Queries sent to recovering replica set members.
  1342. * Memory leak when calling ismaster on replica set members.
  1343. Thanks to everyone who contributed to the development of this point release for
  1344. libmongoc.
  1345. * A. Jesse Jiryu Davis
  1346. * Daniil Zaitsev
  1347. * Jason Carey
  1348. * Jeremy Mikola
  1349. Peace,
  1350. A. Jesse Jiryu Davis
  1351. mongo-c-driver 1.1.9
  1352. ====================
  1353. It is my pleasure to announce to you the MongoDB C driver 1.1.9.
  1354. This release fixes a common crash in 1.1.8, which itself was introduced while
  1355. fixing a rare crash in 1.1.7. For further details:
  1356. https://jira.mongodb.org/browse/CDRIVER-721
  1357. https://jira.mongodb.org/browse/CDRIVER-695
  1358. Thanks to everyone who contributed to the development of this point release for
  1359. libmongoc.
  1360. Peace,
  1361. A. Jesse Jiryu Davis
  1362. mongo-c-driver 1.1.8
  1363. ====================
  1364. UPDATE: 1.1.8 suffered a severe new bug so I removed the release from GitHub:
  1365. https://jira.mongodb.org/browse/CDRIVER-721
  1366. This is a patch release with bug fixes:
  1367. * Crash freeing client after a replica set auth error.
  1368. * Compile error strict C89 mode.
  1369. mongo-c-driver 1.1.7
  1370. ====================
  1371. It is my pleasure to announce to you the 1.1.7 release of the MongoDB C driver.
  1372. This is a patch release with bug fixes:
  1373. * Thread-safe use of Cyrus SASL library.
  1374. * Experimental support for building with CMake and SASL.
  1375. * Faster reconnection to replica set with some hosts down.
  1376. * Crash iterating a cursor after reconnecting to a replica set.
  1377. * Unchecked errors decoding invalid UTF-8 in MongoDB URIs.
  1378. * Fix error reporting from mongoc_client_get_database_names.
  1379. Thanks to everyone who contributed to the development of this point release for
  1380. libmongoc.
  1381. * A. Jesse Jiryu Davis
  1382. * Jason Carey
  1383. * Hannes Magnusson
  1384. Peace,
  1385. A. Jesse Jiryu Davis
  1386. mongo-c-driver 1.1.6
  1387. ====================
  1388. It is my pleasure to announce to you the 1.1.6 release of the MongoDB C driver.
  1389. This is a patch release with performance enhancements and bug fixes:
  1390. * mongoc_bulk_operation_execute now coalesces consecutive update operations
  1391. into a single message to a MongoDB 2.6+ server, yielding huge performance
  1392. gains. Same for remove operations. (Inserts were always coalesced.)
  1393. * Large numbers of insert operations are now properly batched according to
  1394. number of documents and total data size.
  1395. * GSSAPI / Kerberos auth now works.
  1396. * The driver no longer tries three times in vain to reconnect to a primary,
  1397. so socketTimeoutMS and connectTimeoutMS now behave *closer* to what you
  1398. expect for replica sets with down members. A full fix awaits 1.2.0.
  1399. I snuck in a feature:
  1400. * mongoc_matcher_t now supports basic subdocument and array matching
  1401. Thanks to everyone who contributed to the development of this point release for
  1402. libmongoc.
  1403. * A. Jesse Jiryu Davis
  1404. * Jason Carey
  1405. * Kai Mast
  1406. * Matt Cotter
  1407. Peace,
  1408. A. Jesse Jiryu Davis
  1409. mongo-c-driver 1.1.5
  1410. ====================
  1411. It is my pleasure to announce to you the 1.1.5 release of the MongoDB C driver.
  1412. This is a patch release with performance enhancements and bug fixes:
  1413. * The fsync and j write concern flags now imply acknowledged writes
  1414. * Prevent using fsync or j with conflicting w=0 write concern
  1415. * Obey socket timeout consistently in TLS/SSL mode
  1416. * Return an error promptly after a network hangup in TLS mode
  1417. * Prevent crash using SSL in FIPS mode
  1418. * Always return NULL from mongoc_database_get_collection_names on error
  1419. * Fix version check for GCC 5 and future versions of Clang
  1420. * Fix warnings and errors building on various platforms
  1421. * Add configure flag to enable/disable shared memory performance counters
  1422. * Minor docs improvements and fix links from C Driver docs to Libbson docs
  1423. With this release, Libbson abandons the convention that odd-numbered patch
  1424. versions indicate unstable releases. We switch to simple semantic versioning:
  1425. 1.1.5 is a stable release with bug fixes since 1.1.4. During subsequent
  1426. development the version will be "1.1.6-dev".
  1427. Thanks to everyone who contributed to the development of this point release for
  1428. libmongoc.
  1429. * A. Jesse Jiryu Davis
  1430. * Christian Hergert
  1431. * Jason Carey
  1432. * Jeremy Mikola
  1433. * Jeroen Ooms
  1434. * Hannes Magnusson
  1435. Enjoy!
  1436. -- A. Jesse Jiryu Davis
  1437. mongo-c-driver 1.1.4
  1438. ====================
  1439. It is my pleasure to announce to you the 1.1.4 release of the MongoDB C driver.
  1440. This release is a stable release with performance enhancements and bugfixes.
  1441. Changes include:
  1442. * Fixed client pool concurrency issues
  1443. * Fixed some scenarios where replica sets would fail to reconnect on primary
  1444. step down.
  1445. * Improved write concern handling
  1446. * Validate port number in URI
  1447. * Various other fixes
  1448. Thanks to everyone who contributed to the development of this point release for
  1449. libmongoc.
  1450. * Jason Carey
  1451. * Andrew Clayton
  1452. * A. Jesse Jiryu Davis
  1453. * Jeremy Mikola
  1454. Enjoy!
  1455. -- Jason Carey
  1456. mongo-c-driver 1.1.2
  1457. ====================
  1458. It is my pleasure to announce to you the 1.1.2 release of the MongoDB C driver.
  1459. This release is a stable release with performance enhancements and bugfixes.
  1460. Changes include:
  1461. * Process connectTimeoutMS cast insensitively
  1462. * Addition of missing trace macros
  1463. * Improvement of internal error messages
  1464. * Fix a segfault in OpenSSL cleanup routines
  1465. * Fix for IPv6 support for replica sets
  1466. * Coalesce small vectorized TLS writes
  1467. * MinGW fixups
  1468. * Fix for a memory leak in get_database_names()
  1469. * Fixes for patching write concern through the bulk api
  1470. * Fix to normalize hostnames in uri parsing
  1471. * Fix for managing connections in the client pool
  1472. * Various other fixes
  1473. Thanks to everyone who contributed to the development of this point release for
  1474. libmongoc.
  1475. * Andrew Clayton
  1476. * Denis Gladkikh
  1477. * Hannes Magnusson
  1478. * Jason Carey
  1479. * Jeremy Mikola
  1480. * mschoenlaub
  1481. * Samantha Ritter
  1482. * Tyler Brock
  1483. Enjoy!
  1484. -- Jason Carey
  1485. mongo-c-driver 1.1.0
  1486. ====================
  1487. It is my pleasure to announce to you the 1.1.0 release of the MongoDB C driver.
  1488. This release is a stable release with additive ABI changes and bugfixes.
  1489. The below changes include some carried over from RC0.
  1490. Changes include:
  1491. * RC0
  1492. * ABI versioning for 1.1 versus 1.0 symbols
  1493. * additional geo index options
  1494. * authMechanismProperties in URI
  1495. * fixes for OS X Yosemite
  1496. * removal of replica set member limit
  1497. * SCRAM-SHA-1 SASL mechanism
  1498. * updated dependency on libbson 1.1 abi
  1499. * validation for bulk insert
  1500. * various memory leak fixes
  1501. * Fixes to documentation typos
  1502. * "How to Ask For Help" in the README
  1503. * Removed dependency on sasl for PLAIN authentication
  1504. * Use provided username, if available, for X.509 auth
  1505. * Fixed WriteConcern error reporting for some writes
  1506. * Check for closed sockets before attempting RPCs
  1507. * Fixes for gridfs file seek
  1508. * Fixes for mongoc_cursor_clone()
  1509. * Fixes for unix domain socket support
  1510. * Fixes for polling on win32
  1511. * Improved warnings on failure to connect
  1512. * Addition of wired tiger options
  1513. * Fixes for examples
  1514. Additions to the ABI include:
  1515. * support for extra option in count
  1516. - mongoc_collection_count_with_opts
  1517. * additional index options
  1518. - mongoc_index_opt_geo_get_default
  1519. - mongoc_index_opt_geo_init
  1520. - mongoc_index_opt_wt_get_default
  1521. - mongoc_index_opt_wt_init
  1522. * rand interface to seed and verify the strong random number generation needed
  1523. by some auth mechanisms
  1524. - mongoc_rand_seed
  1525. - mongoc_rand_add
  1526. - mongoc_rand_status
  1527. * URI additions to support more complicated auth credentials
  1528. - mongoc_uri_get_credentials
  1529. - mongoc_uri_get_mechanism_properties
  1530. * Support for cursor returning metadata crud operations
  1531. - mongoc_client_find_databases
  1532. - mongoc_collection_find_indexes
  1533. - mongoc_database_find_collections
  1534. * Kill cursor support
  1535. - mongoc_client_kill_cursor
  1536. * Various get/setters on cursor
  1537. - mongoc_cursor_get_batch_size
  1538. - mongoc_cursor_get_id
  1539. - mongoc_cursor_set_batch_size
  1540. * More socket/stream options
  1541. - mongoc_socket_check_closed
  1542. - mongoc_socket_inet_ntop
  1543. - mongoc_stream_check_closed
  1544. - mongoc_stream_write
  1545. Additional Notes:
  1546. Existing complex index names may contain a zero instead of a type due to
  1547. a bug in mongoc_collection_keys_to_index_string. As a result those indexes may
  1548. be hard to drop from the driver as they have a name you would not expect.
  1549. Thanks to everyone who contributed to the development of this point release for
  1550. libmongoc.
  1551. * Adam Midvidy
  1552. * aherlihy
  1553. * alexeyvo
  1554. * Christian Hergert
  1555. * Hannes Magnusson
  1556. * Jason Carey
  1557. * Jérôme Lebel
  1558. * Jesse Jiryu Davis
  1559. * lloydzhou
  1560. * Mark Benevenuto
  1561. * Paul Melnikow
  1562. * Samantha Ritter
  1563. * Shraya Ramani
  1564. * Spencer Jackson
  1565. * Tyler Brock
  1566. Enjoy!
  1567. -- Jason Carey
  1568. mongo-c-driver 1.1.0-rc0
  1569. ========================
  1570. It is my pleasure to announce to you the 1.1.0-rc0 release of the MongoDB C driver.
  1571. This release is a release candidate with additive ABI changes and bugfixes.
  1572. Changes include:
  1573. * ABI versioning for 1.1 versus 1.0 symbols
  1574. * additional geo index options
  1575. * authMechanismProperties in URI
  1576. * fixes for OS X Yosemite
  1577. * removal of replica set member limit
  1578. * SCRAM-SHA-1 SASL mechanism
  1579. * updated dependency on libbson 1.1 abi
  1580. * validation for bulk insert
  1581. * various memory leak fixes
  1582. Additions to the ABI include:
  1583. * support for extra option in count
  1584. - mongoc_collection_count_with_opts
  1585. * extra index and collection info
  1586. - mongoc_collection_get_index_info
  1587. - mongoc_database_get_collection_info
  1588. * additional geo options
  1589. - mongoc_index_opt_geo_get_default
  1590. - mongoc_index_opt_geo_init
  1591. * rand interface to seed and verify the strong random number generation needed
  1592. by some auth mechanisms
  1593. - mongoc_rand_seed
  1594. - mongoc_rand_add
  1595. - mongoc_rand_status
  1596. * URI additions to support more complicated auth credentials
  1597. - mongoc_uri_get_credentials
  1598. - mongoc_uri_get_mechanism_properties
  1599. Additional Notes:
  1600. Existing complex index names may contain a zero instead of a type due to
  1601. a bug in mongoc_collection_keys_to_index_string. As a result those indexes may
  1602. be hard to drop from the driver as they have a name you would not expect.
  1603. Thanks to everyone who contributed to the development of this point release for
  1604. libmongoc.
  1605. * Adam Midvidy
  1606. * aherlihy
  1607. * alexeyvo
  1608. * Christian Hergert
  1609. * Jason Carey
  1610. * Jérôme Lebel
  1611. * Samantha Ritter
  1612. * Spencer Jackson
  1613. * Tyler Brock
  1614. Enjoy!
  1615. -- Jason Carey
  1616. mongo-c-driver 1.0.2
  1617. ====================
  1618. It is my pleasure to announce to you the 1.0.2 release of the MongoDB C driver.
  1619. This release is a minor point release with no ABI changes and mostly small
  1620. bugfixes.
  1621. Changes include:
  1622. * A variety of fixes for read preference based node selection
  1623. * Avoided inclusion of getLastError in 2.6 writeConcern
  1624. * Correct handling of pass through params for collection_aggregate
  1625. * Improved error reporting in socket connect
  1626. * Public MONGOC_DEFAULT_CONNECTTIMEOUTMS
  1627. Thanks to everyone who contributed to the development of this point release for
  1628. libmongoc.
  1629. * Adam Midvidy
  1630. * Christian Hergert
  1631. * Denis Gladkikh
  1632. * Jason Carey
  1633. * Jeremy Mikola
  1634. * Jérôme Lebel
  1635. * Tyler Brock
  1636. * Wisdom Omuya
  1637. -- Jason Carey
  1638. mongo-c-driver 1.0.0
  1639. ====================
  1640. It is my very distinct pleasure to announce to you the 1.0 release of
  1641. the MongoDB C driver!
  1642. This is the culmination of just over a year of work and could not have
  1643. been done without the help of our wonderful community.
  1644. Thanks to everyone who contributed to the development of this driver!
  1645. * Christian Hergert
  1646. * Jason Carey
  1647. * Gary Murakami
  1648. * Christian Heckl
  1649. * Frank Watson Song
  1650. * Hannes Magnusson
  1651. * Jérôme Lebel
  1652. * Kyle Suarez
  1653. * Maga Napanga
  1654. * Michael Kuhn
  1655. * Vincent Giersch
  1656. * essentia44
  1657. * yuqing
  1658. Happy Hacking!
  1659. -- Christian Hergert
  1660. mongo-c-driver 0.98.2
  1661. =====================
  1662. One final step before our journey to 1.0!
  1663. This is a relatively small release, adding some features needed for drivers
  1664. building on top of the C driver.
  1665. A new libmongoc-priv.so library is installed that does not have symbols
  1666. hidden. You can access private headers via the -private.h variants. This
  1667. means you will need to recompile your project every time the library is
  1668. changed (if you use those private headers, as they are subject to change).
  1669. A special thanks to Hannes Magnusson for patches in this release.
  1670. See `git shortlog 0.98.0..0.98.2` for a list of all the changes.
  1671. -- Christian Hergert
  1672. mongo-c-driver 0.98.0
  1673. =====================
  1674. Another step in the rapidly approaching path to 1.0!
  1675. This release is primarily a bugfix release and stablization effort as we
  1676. approach 1.0 of the MongoDB C driver.
  1677. This release requires 0.98.0 of Libbson for improvements to the memory
  1678. management system. You can now setup custom memory allocators at the
  1679. start of the process.
  1680. This is a RC release that with a few improvements will likely become 1.0.
  1681. A special thanks to the following for patches in this cycle:
  1682. * Kyle Suarez
  1683. * yuqing
  1684. See `git shortlog 0.96.4..0.98.0` for a list of all the changes.
  1685. -- Christian Hergert
  1686. mongo-c-driver 0.96.4
  1687. =====================
  1688. Another incremental feature update and bugfix release!
  1689. In this release, you will find the following changes:
  1690. * build/mci.sh script for automatically building Debian packages, RPMs, and
  1691. Solaris packaging based on the host operating system.
  1692. * Various libbson improvements, now depending on 0.8.4.
  1693. * Alignment fixes for Solaris Studio C compiler via libbson.
  1694. * Addition of mongoc_gridfs_remove_by_filename() for removing a file from
  1695. gridfs by filename.
  1696. * client command functions can now take a fully qualified namespace.
  1697. * collections can now support names that indicate a command namespace.
  1698. * Commands will no longer fail if they do not contain an "ok" field.
  1699. * OP_QUERY will now set the slaveOk bit in the wire protocol if
  1700. * readPreferences are set to non-PRIMARY.
  1701. * Various documentation and build fixes.
  1702. Thanks again to all the contributors, and happy hacking!
  1703. mongo-c-driver 0.96.2
  1704. =====================
  1705. Hot on the heels of 0.96.0 we would like to present mongo-c-driver 0.96.2!
  1706. This is primarily a bugfix release. Included in this release are:
  1707. * Ensure batchSize is used in cursor GETMORE operations with `aggregate`.
  1708. * Ensure enough buffer space is allocated for incoming RPC when buffering
  1709. from a stream.
  1710. * Require libbson 0.8.2 for more robust `bson_next_power_of_two()` when
  1711. using `size_t` and BCON compilation fix with C++.
  1712. * Handle cursor id's that are not 64-bit values in response from
  1713. `aggregate` command.
  1714. * Handle upsert on MongoDB < 2.6 when _id does not contain an `ObjectId`.
  1715. * Use 100 for default batchSize in `aggregate` command.
  1716. Happy Hacking!
  1717. mongo-c-driver 0.96.0
  1718. =====================
  1719. It's that time again, time for another mongo-c-driver release!
  1720. This release includes much new documentation, which can be found at
  1721. http://docs.mongodb.org/ecosystem/drivers/c/.
  1722. Additionally, this release improves support for various exotic systems.
  1723. Solaris 10 is supported much better on SPARC and x86_64 based systems.
  1724. Some workarounds for mixed-mode sharded-clusters have been added to improve
  1725. resiliency when rolling upgrades are performed.
  1726. Build improvements have been added to help us detect SASL and SSL
  1727. implementations on platforms that do not support pkg-config. This should
  1728. simplify building for some of you.
  1729. We've added some more logging to SASL authentication to help debug
  1730. authentication failures.
  1731. A bug causing an abort() when SSL is used and a server is down has been fixed.
  1732. We've renamed various _delete() functions to _remove() to provide consistency
  1733. with other MongoDB drivers.
  1734. You can now specify SSL options for client pools.
  1735. -D_REENTRANT is always defined now on Solaris to help with errno detection.
  1736. This may not have been done before if using a non-GCC platform with pthreads.
  1737. A bug was fixed where timeouts could have been 1000x longer than expected
  1738. due to failure to convert from microseconds to milliseconds.
  1739. A bug was fixed with authentication in sharded cluster and replica set
  1740. scenarios.
  1741. Happy Hacking!
  1742. mongo-c-driver 0.94.2
  1743. =====================
  1744. Hot on the heels of 0.94.0 is 0.94.2, a bugfix release.
  1745. A bug has been fixed when using TLS streams and large result sets.
  1746. In this release, we added support for Sun's C compiler (Sun Pro C) on Solaris.
  1747. This allows for builds on Solaris 10 with SPARC using the native toolchain.
  1748. This release contains a couple of fixes in libbson as well.
  1749. Keep those bug reports coming, and as always, Happy Hacking!
  1750. mongo-c-driver 0.94.0
  1751. =====================
  1752. The mongo-c-driver team is proud to announce the release of 0.94.0. This
  1753. release is a followup to the previous release adding more features to be found
  1754. in MongoDB 2.6.
  1755. You will find some new API's, bug fixes, and more documentation. Under the
  1756. hood, 0.94.0 uses the new write-commands as part of MongoDB 2.6 when it
  1757. discovers it is communicating with a MongoDB server. There is now a bulk
  1758. operation API (See `mongoc-bulk-operation.h`).
  1759. Helpers for common server commands have been added. You can find most of
  1760. them `mongoc-collection.h`.
  1761. To simply using mongo-c-driver from Windows, we've included pre-built binaries
  1762. on the release page.
  1763. Thanks to all of the contributors this release!
  1764. Happy Hacking!
  1765. mongo-c-driver 0.92.0
  1766. =====================
  1767. The mongo-c-driver team is proud to announce the release of 0.92.0. This
  1768. release is the culimation of a few months work and has many bug fixes and
  1769. new features. It contains over 350 commits from 4 authors since the 0.90.0
  1770. release.
  1771. The mongo-c-driver release tarballs now contain a bundled copy of libbson.
  1772. If you do not have libbson installed or the system installed libbson is too
  1773. old, the bundled copy of libbson will be installed.
  1774. * Revamped build system to simplify installation.
  1775. * Windows Vista and newer support.
  1776. * Various GridFS fixes and features.
  1777. * Kerberos support via cyrus-sasl.
  1778. * Various SSL improvements.
  1779. * Support for Solaris 11, FreeBSD 10, RHEL 5+, and SmartOS.
  1780. * A new client side expression matcher to perform basic query processing.
  1781. It can perform queries such as {'field': {'$in': [1,2,3]}}. See
  1782. mongoc_matcher_t for more information.
  1783. * A new socket abstraction for platform independent network sockets.
  1784. * A new mongoc-dump example for how to write a simple mongodump replacement.
  1785. * Counters can use rdtscp instruction on Core iX systems for very fast
  1786. counters.
  1787. * configure has new options. If in doubt, the defaults are sensible.
  1788. * --enable-coverage=yes|no
  1789. * --enable-debug=yes|no
  1790. * --enable-debug-symbols=yes|no
  1791. * --enable-hardening=yes|no
  1792. * --enable-optimizations=yes|no
  1793. * --enable-ssl=yes|no
  1794. * --enable-sasl=yes|no
  1795. * --enable-tracing=yes|no
  1796. * --with-libbson=auto|system|bundled
  1797. mongo-c-driver 0.92.0 requires libbson 0.6.4 or newer.
  1798. Happy Hacking!
  1799. Libmongoc 0.90.0
  1800. ================
  1801. This is the initial release of the new Libmongoc. We chose 0.90.0 for the
  1802. release version to differentiate ourselves from the, now legacy, version of
  1803. libmongoc. We will rapidly work towards reaching an API/ABI stable library fit
  1804. for a 1.0.0 release.
  1805. Libmongoc is Apache licensed so it can be embedded in a multitude of scenarios.
  1806. The API of 0.90.0 is completely different from the previous versions. We think
  1807. this allowed us to create a high-quality library that you will enjoy using in
  1808. your applications.
  1809. Many outstanding bugs were closed in the process of creating Libbson 0.90.0. So
  1810. if you had a pet issue, please take a look to see if it was resolved as part of
  1811. this effort!
  1812. Thanks, and enjoy developing your applications with libmongoc!