@@ -33,18 +33,6 @@ Learn what's new in:
3333* :ref:`Version 1.13 <version-1.13>`
3434* :ref:`Version 1.12.1 <version-1.12.1>`
3535* :ref:`Version 1.12 <version-1.12>`
36- * :ref:`Version 1.11 <version-1.11>`
37- * :ref:`Version 1.10 <version-1.10>`
38- * :ref:`Version 1.9 <version-1.9>`
39- * :ref:`Version 1.8 <version-1.8>`
40- * :ref:`Version 1.7 <version-1.7>`
41- * :ref:`Version 1.6 <version-1.6>`
42- * :ref:`Version 1.5 <version-1.5>`
43- * :ref:`Version 1.4 <version-1.4>`
44- * :ref:`Version 1.3 <version-1.3>`
45- * :ref:`Version 1.2 <version-1.2>`
46- * :ref:`Version 1.1 <version-1.1>`
47- * :ref:`Version 1.0 <version-1.0>`
4836
4937.. _golang-version-1.17:
5038
@@ -261,295 +249,3 @@ Additional Changes
261249 cursor.
262250- Addition of the ``UnmarshalValue()`` method to allow ummarshalling of
263251 BSON values marshalled with the ``MarshalValue()`` method.
264-
265- .. _version-1.11.0:
266- .. _version-1.11:
267-
268- What's New in 1.11
269- ------------------
270-
271- .. important:: Upgrade to Version 1.11.9 or Later
272-
273- Versions 1.11.0 through 1.11.2 of the driver have been retracted because
274- of a bug that could cause undefined behavior when reading the ``Raw`` field
275- on database error types, such as ``CommandError`` and
276- ``WriteException``.
277-
278- Version 1.11.8 of the driver has been retracted because
279- it incorrectly contains changes intended for 1.12.1.
280-
281- Upgrade to version 1.11.9 or later if you are using a retracted
282- version of the driver.
283-
284- New features of the 1.11 Go driver release include:
285-
286- - Removal of support for MongoDB versions 3.5 and older.
287-
288- - Removal of support for Go versions 1.12 and older.
289-
290- - Improvements to ``Timeout`` API and behavior, including:
291-
292- - Modified retry logic for greater application resiliency.
293-
294- - Extended ``mongo.IsTimeout`` error helper to catch more timeout errors.
295-
296- - New GridFS methods that take contexts instead of using ``SetReadDeadline``
297- and ``SetWriteDeadline``.
298-
299- - Reduced memory allocations during operation execution.
300-
301- - Fix for SRV polling bug that prevented changes in SRV records when the
302- associated MongoDB connection string included a username and password.
303-
304- - Support for :abbr:`GCP (Google Cloud Platform)` service accounts when using
305- Google Cloud Key Management Services.
306-
307- - Improvements to server-side resource cleanup when using the ``Cursor.All`` and
308- ``Session.WithTransaction`` functions.
309-
310- - ``SERVICE_HOST`` Kerberos authentication parameter specification enabled with
311- the ``authMechanismProperties`` connection string option.
312-
313- - Corrected output from the ``bson.Raw.String()`` method to Extended JSON
314- type for timestamps when the BSON document contains a UTC Timestamp
315- field.
316-
317- - Resolution of conflicts when retrying reads with read concern
318- ``"available"`` or ``"linearizable"``.
319-
320-
321- .. _version-1.10.0:
322- .. _version-1.10:
323-
324- What's New in 1.10
325- ------------------
326-
327- .. important:: Upgrade to Version 1.10.1 or Higher
328-
329- The 1.10.1 Go driver patches a bug that can cause data corruption when
330- rotating :ref:`Data Encryption Keys <csfle-key-architecture>` encrypted
331- with a :ref:`Customer Master Key <csfle-key-architecture>` hosted on Google
332- Cloud Key Management Service or Azure Key Vault.
333-
334- New features of the 1.10 Go driver release include:
335-
336- - Full compatibility with MongoDB 6.0.
337-
338- - Support for new features related to :ref:`qe-manual-feature-qe`,
339- including new options for automatic and manual encryption.
340-
341- - Support for the new Automatic Encryption Shared Library, which replaces the
342- ``mongocryptd`` process. The shared library requires MongoDB v6.0 Enterprise
343- or later and ``libmongocrypt`` 1.5.0 or later.
344-
345- - :ref:`clustered index <golang-clustered-indexes>` creation support.
346-
347- - A new API and ``ClientEncryption`` entity operations for encryption key
348- management.
349-
350- - A ``Timeout`` client option to set default context timeouts for
351- each operation sent through that client.
352-
353- - A patch to default data to either ``primitive.M`` or ``primitive.D`` when
354- decoding empty types.
355-
356- - Support for encoding atypical map key types for data that can be unmarshalled
357- into a textual representation of itself.
358-
359- - Performance optimizations, including:
360-
361- - Improved full document requests for before and after updates in change
362- stream events.
363-
364- - Improved :abbr:`PRN (pseudo-random number)` and :abbr:`UUID (universally
365- unique identifier)` generation.
366-
367- - Reduced memory consumption when compressing wire messages.
368-
369- - Troubleshooting support for `frequently encountered issues.
370- <https://github.com/mongodb/mongo-go-driver/blob/master/docs/common-issues.md>`__
371-
372-
373- .. _version-1.9:
374-
375- What's New in 1.9
376- -----------------
377-
378- New features of the 1.9 Go driver release include:
379-
380- - Improved connection storm mitigation.
381-
382- - ``Custom`` options to change-stream and aggregate operations.
383-
384- - ``Let`` option on most CRUD commands that specifies parameters for use
385- in an aggregate expression. ``Let`` must be a document that maps
386- parameter names to values that are constant or closed expressions without
387- references to document fields. MongoDB v5.0 or later is required.
388-
389- - New constructor functions that create ``Cursor`` and ``SingleResult``
390- instances from marshallable and non-nil BSON documents.
391-
392-
393- .. _version-1.8:
394-
395- What's New in 1.8
396- -----------------
397-
398- New features of the 1.8 Go driver release include:
399-
400- - Full compatibility with MongoDB 5.1.
401-
402- - Support for :abbr:`KMIP (Key Management Interoperability Protocol)` as a KMS
403- provider for :abbr:`{+csfle-short+} ({+csfle-long+})`.
404-
405- - Redesigned driver connection pool for low operation ``Context`` timeouts and
406- to reduce connection churn. Behavior changes include:
407-
408- - New connection creation times out at ``connectTimeoutMS``.
409-
410- - At most, two new connections can be established at the same time.
411-
412- - Removal of oppressive and unnecessarily gendered language in the Go driver
413- documentation, code, tests, and spec tests.
414-
415-
416- .. _version-1.7:
417-
418- What's New in 1.7
419- -----------------
420-
421- .. important:: Upgrade to Version 1.7.2 or Higher
422-
423- The 1.7.2 Go driver contains a bug fix for a data race that can occur between
424- creating and checking out connections when ``minPoolSize > 0``.
425-
426- New features of the 1.7 Go driver release include:
427-
428- - Full compatibility with MongoDB 5.0.
429-
430- - Support for the :readconcern:`"snapshot"` read concern outside of
431- multi-document transactions for certain read operations.
432-
433- - Improved ``WriteException`` and ``BulkWriteException`` error messages for
434- schema validation reported by the ``WriteError.Details`` field.
435-
436-
437- .. _version-1.6:
438-
439- What's New in 1.6
440- -----------------
441-
442- .. important:: Upgrade to Version 1.6.2 or Higher
443-
444- The 1.6.2 Go driver contains a bug fix for a data race that can occur between
445- creating and checking out connections when ``minPoolSize > 0``.
446-
447- New features of the 1.6 Go driver release include:
448-
449- - Support for the MongoDB Stable API. For more information, see the
450- :ref:`Stable API Guide <golang-stable-api>`.
451-
452- - Support for connections to any MongoDB service that runs behind a load
453- balancer.
454-
455- - Support for creating time series collections. For more information, see
456- the :ref:`Time Series Collections Guide <golang-time-series>`.
457-
458- - ``Let`` option for aggregate expressions.
459-
460-
461- .. _version-1.5:
462-
463- What's New in 1.5
464- -----------------
465-
466- New features of the 1.5 Go driver release include:
467-
468- - Support for Azure and :abbr:`GCP (Google Cloud Platform)` key-management
469- services with {+csfle-long+}.
470-
471- - New errors API to detect duplicate-key errors, timeouts, and network
472- errors.
473-
474- - Server monitoring to monitor changes on a MongoDB deployment.
475-
476- - Errors to prevent unexpected behavior on maps that contain multiple
477- keys being used as a hint option, as a sort option, or for index creation.
478-
479-
480- .. _version-1.4:
481-
482- What's New in 1.4
483- -----------------
484-
485- New features of the 1.4 Go driver release include:
486-
487- - Full compatibility with MongoDB 4.4.
488-
489- - Support for stapled and non-stapled OCSP verification.
490-
491- - New ``tlsDisableOCSPEndpointCheck=true`` URI option to disable sending HTTP
492- requests if the OCSP responder is not reachable from the driver and there is
493- no stapled response.
494-
495- - Additional context to errors encountered during BSON unmarshalling.
496-
497- - Proper ``Unwrap`` functions for various driver error types.
498-
499-
500- .. _version-1.3:
501-
502- What's New in 1.3
503- -----------------
504-
505- New features of the 1.3 Go driver release include:
506-
507- - ``mgocompat`` package that exports a BSON registry compatible with
508- ``globalsign/mgo/bson``, which can be used by calling the
509- ``ClientOptions.SetRegistry`` method.
510-
511- - ``RegisterTypeEncoder`` and ``RegisterHookEncoder`` methods, which
512- replace the deprecated ``RegisterEncoder`` method. A corresponding change has
513- been made to replace ``RegisterDecoder``.
514-
515-
516- .. _version-1.2:
517-
518- What's New in 1.2
519- -----------------
520-
521- New features of the 1.2 Go driver release include:
522-
523- - Support for {+csfle-short+}.
524-
525- - ``bson.MarshalValue`` function, which marshals Go types to BSON.
526-
527- - ``StringCodec``, which allows non-string fields to be decoded into a
528- String field in a struct.
529-
530- - ``IntCodec``, ``UIntCodec``, ``BoolCodec``, and ``FloatCodec`` added to
531- ``mgocompat`` to allow codecs to convert between numbers and booleans.
532-
533-
534- .. _version-1.1:
535-
536- What's New in 1.1
537- -----------------
538-
539- New features of the 1.1 Go driver release include:
540-
541- - Full compatibility with MongoDB 4.2.
542-
543- - Redesigned lower-level driver implementation to improve maintainability and
544- performance.
545-
546- - Connection Monitoring and Pooling specifications to monitor various connection
547- and connection pool events with improved efficiency.
548-
549-
550- .. _version-1.0:
551-
552- What's New in 1.0
553- -----------------
554-
555- This release adds no new features.
0 commit comments