@@ -35,18 +35,6 @@ Learn what's new in:
35
35
* :ref:`Version 1.13 <version-1.13>`
36
36
* :ref:`Version 1.12.1 <version-1.12.1>`
37
37
* :ref:`Version 1.12 <version-1.12>`
38
- * :ref:`Version 1.11 <version-1.11>`
39
- * :ref:`Version 1.10 <version-1.10>`
40
- * :ref:`Version 1.9 <version-1.9>`
41
- * :ref:`Version 1.8 <version-1.8>`
42
- * :ref:`Version 1.7 <version-1.7>`
43
- * :ref:`Version 1.6 <version-1.6>`
44
- * :ref:`Version 1.5 <version-1.5>`
45
- * :ref:`Version 1.4 <version-1.4>`
46
- * :ref:`Version 1.3 <version-1.3>`
47
- * :ref:`Version 1.2 <version-1.2>`
48
- * :ref:`Version 1.1 <version-1.1>`
49
- * :ref:`Version 1.0 <version-1.0>`
50
38
51
39
.. _golang-version-2.0:
52
40
@@ -394,295 +382,3 @@ Additional Changes
394
382
cursor.
395
383
- Addition of the ``UnmarshalValue()`` method to allow ummarshalling of
396
384
BSON values marshalled with the ``MarshalValue()`` method.
397
-
398
- .. _version-1.11.0:
399
- .. _version-1.11:
400
-
401
- What's New in 1.11
402
- ------------------
403
-
404
- .. important:: Upgrade to Version 1.11.9 or Later
405
-
406
- Versions 1.11.0 through 1.11.2 of the driver have been retracted because
407
- of a bug that could cause undefined behavior when reading the ``Raw`` field
408
- on database error types, such as ``CommandError`` and
409
- ``WriteException``.
410
-
411
- Version 1.11.8 of the driver has been retracted because
412
- it incorrectly contains changes intended for 1.12.1.
413
-
414
- Upgrade to version 1.11.9 or later if you are using a retracted
415
- version of the driver.
416
-
417
- New features of the 1.11 Go driver release include:
418
-
419
- - Removal of support for MongoDB versions 3.5 and older.
420
-
421
- - Removal of support for Go versions 1.12 and older.
422
-
423
- - Improvements to ``Timeout`` API and behavior, including:
424
-
425
- - Modified retry logic for greater application resiliency.
426
-
427
- - Extended ``mongo.IsTimeout`` error helper to catch more timeout errors.
428
-
429
- - New GridFS methods that take contexts instead of using ``SetReadDeadline``
430
- and ``SetWriteDeadline``.
431
-
432
- - Reduced memory allocations during operation execution.
433
-
434
- - Fix for SRV polling bug that prevented changes in SRV records when the
435
- associated MongoDB connection string included a username and password.
436
-
437
- - Support for :abbr:`GCP (Google Cloud Platform)` service accounts when using
438
- Google Cloud Key Management Services.
439
-
440
- - Improvements to server-side resource cleanup when using the ``Cursor.All`` and
441
- ``Session.WithTransaction`` functions.
442
-
443
- - ``SERVICE_HOST`` Kerberos authentication parameter specification enabled with
444
- the ``authMechanismProperties`` connection string option.
445
-
446
- - Corrected output from the ``bson.Raw.String()`` method to Extended JSON
447
- type for timestamps when the BSON document contains a UTC Timestamp
448
- field.
449
-
450
- - Resolution of conflicts when retrying reads with read concern
451
- ``"available"`` or ``"linearizable"``.
452
-
453
-
454
- .. _version-1.10.0:
455
- .. _version-1.10:
456
-
457
- What's New in 1.10
458
- ------------------
459
-
460
- .. important:: Upgrade to Version 1.10.1 or Higher
461
-
462
- The 1.10.1 Go driver patches a bug that can cause data corruption when
463
- rotating :ref:`Data Encryption Keys <csfle-key-architecture>` encrypted
464
- with a :ref:`Customer Master Key <csfle-key-architecture>` hosted on Google
465
- Cloud Key Management Service or Azure Key Vault.
466
-
467
- New features of the 1.10 Go driver release include:
468
-
469
- - Full compatibility with MongoDB 6.0.
470
-
471
- - Support for new features related to :ref:`qe-manual-feature-qe`,
472
- including new options for automatic and manual encryption.
473
-
474
- - Support for the new Automatic Encryption Shared Library, which replaces the
475
- ``mongocryptd`` process. The shared library requires MongoDB v6.0 Enterprise
476
- or later and ``libmongocrypt`` 1.5.0 or later.
477
-
478
- - :ref:`clustered index <golang-clustered-indexes>` creation support.
479
-
480
- - A new API and ``ClientEncryption`` entity operations for encryption key
481
- management.
482
-
483
- - A ``Timeout`` client option to set default context timeouts for
484
- each operation sent through that client.
485
-
486
- - A patch to default data to either ``primitive.M`` or ``primitive.D`` when
487
- decoding empty types.
488
-
489
- - Support for encoding atypical map key types for data that can be unmarshalled
490
- into a textual representation of itself.
491
-
492
- - Performance optimizations, including:
493
-
494
- - Improved full document requests for before and after updates in change
495
- stream events.
496
-
497
- - Improved :abbr:`PRN (pseudo-random number)` and :abbr:`UUID (universally
498
- unique identifier)` generation.
499
-
500
- - Reduced memory consumption when compressing wire messages.
501
-
502
- - Troubleshooting support for `frequently encountered issues.
503
- <https://github.com/mongodb/mongo-go-driver/blob/master/docs/common-issues.md>`__
504
-
505
-
506
- .. _version-1.9:
507
-
508
- What's New in 1.9
509
- -----------------
510
-
511
- New features of the 1.9 Go driver release include:
512
-
513
- - Improved connection storm mitigation.
514
-
515
- - ``Custom`` options to change-stream and aggregate operations.
516
-
517
- - ``Let`` option on most CRUD commands that specifies parameters for use
518
- in an aggregate expression. ``Let`` must be a document that maps
519
- parameter names to values that are constant or closed expressions without
520
- references to document fields. MongoDB v5.0 or later is required.
521
-
522
- - New constructor functions that create ``Cursor`` and ``SingleResult``
523
- instances from marshallable and non-nil BSON documents.
524
-
525
-
526
- .. _version-1.8:
527
-
528
- What's New in 1.8
529
- -----------------
530
-
531
- New features of the 1.8 Go driver release include:
532
-
533
- - Full compatibility with MongoDB 5.1.
534
-
535
- - Support for :abbr:`KMIP (Key Management Interoperability Protocol)` as a KMS
536
- provider for :abbr:`{+csfle-short+} ({+csfle-long+})`.
537
-
538
- - Redesigned driver connection pool for low operation ``Context`` timeouts and
539
- to reduce connection churn. Behavior changes include:
540
-
541
- - New connection creation times out at ``connectTimeoutMS``.
542
-
543
- - At most, two new connections can be established at the same time.
544
-
545
- - Removal of oppressive and unnecessarily gendered language in the Go driver
546
- documentation, code, tests, and spec tests.
547
-
548
-
549
- .. _version-1.7:
550
-
551
- What's New in 1.7
552
- -----------------
553
-
554
- .. important:: Upgrade to Version 1.7.2 or Higher
555
-
556
- The 1.7.2 Go driver contains a bug fix for a data race that can occur between
557
- creating and checking out connections when ``minPoolSize > 0``.
558
-
559
- New features of the 1.7 Go driver release include:
560
-
561
- - Full compatibility with MongoDB 5.0.
562
-
563
- - Support for the :readconcern:`"snapshot"` read concern outside of
564
- multi-document transactions for certain read operations.
565
-
566
- - Improved ``WriteException`` and ``BulkWriteException`` error messages for
567
- schema validation reported by the ``WriteError.Details`` field.
568
-
569
-
570
- .. _version-1.6:
571
-
572
- What's New in 1.6
573
- -----------------
574
-
575
- .. important:: Upgrade to Version 1.6.2 or Higher
576
-
577
- The 1.6.2 Go driver contains a bug fix for a data race that can occur between
578
- creating and checking out connections when ``minPoolSize > 0``.
579
-
580
- New features of the 1.6 Go driver release include:
581
-
582
- - Support for the MongoDB Stable API. For more information, see the
583
- :ref:`Stable API Guide <golang-stable-api>`.
584
-
585
- - Support for connections to any MongoDB service that runs behind a load
586
- balancer.
587
-
588
- - Support for creating time series collections. For more information, see
589
- the :ref:`Time Series Collections Guide <golang-time-series>`.
590
-
591
- - ``Let`` option for aggregate expressions.
592
-
593
-
594
- .. _version-1.5:
595
-
596
- What's New in 1.5
597
- -----------------
598
-
599
- New features of the 1.5 Go driver release include:
600
-
601
- - Support for Azure and :abbr:`GCP (Google Cloud Platform)` key-management
602
- services with {+csfle-long+}.
603
-
604
- - New errors API to detect duplicate-key errors, timeouts, and network
605
- errors.
606
-
607
- - Server monitoring to monitor changes on a MongoDB deployment.
608
-
609
- - Errors to prevent unexpected behavior on maps that contain multiple
610
- keys being used as a hint option, as a sort option, or for index creation.
611
-
612
-
613
- .. _version-1.4:
614
-
615
- What's New in 1.4
616
- -----------------
617
-
618
- New features of the 1.4 Go driver release include:
619
-
620
- - Full compatibility with MongoDB 4.4.
621
-
622
- - Support for stapled and non-stapled OCSP verification.
623
-
624
- - New ``tlsDisableOCSPEndpointCheck=true`` URI option to disable sending HTTP
625
- requests if the OCSP responder is not reachable from the driver and there is
626
- no stapled response.
627
-
628
- - Additional context to errors encountered during BSON unmarshalling.
629
-
630
- - Proper ``Unwrap`` functions for various driver error types.
631
-
632
-
633
- .. _version-1.3:
634
-
635
- What's New in 1.3
636
- -----------------
637
-
638
- New features of the 1.3 Go driver release include:
639
-
640
- - ``mgocompat`` package that exports a BSON registry compatible with
641
- ``globalsign/mgo/bson``, which can be used by calling the
642
- ``ClientOptions.SetRegistry`` method.
643
-
644
- - ``RegisterTypeEncoder`` and ``RegisterHookEncoder`` methods, which
645
- replace the deprecated ``RegisterEncoder`` method. A corresponding change has
646
- been made to replace ``RegisterDecoder``.
647
-
648
-
649
- .. _version-1.2:
650
-
651
- What's New in 1.2
652
- -----------------
653
-
654
- New features of the 1.2 Go driver release include:
655
-
656
- - Support for {+csfle-short+}.
657
-
658
- - ``bson.MarshalValue`` function, which marshals Go types to BSON.
659
-
660
- - ``StringCodec``, which allows non-string fields to be decoded into a
661
- String field in a struct.
662
-
663
- - ``IntCodec``, ``UIntCodec``, ``BoolCodec``, and ``FloatCodec`` added to
664
- ``mgocompat`` to allow codecs to convert between numbers and booleans.
665
-
666
-
667
- .. _version-1.1:
668
-
669
- What's New in 1.1
670
- -----------------
671
-
672
- New features of the 1.1 Go driver release include:
673
-
674
- - Full compatibility with MongoDB 4.2.
675
-
676
- - Redesigned lower-level driver implementation to improve maintainability and
677
- performance.
678
-
679
- - Connection Monitoring and Pooling specifications to monitor various connection
680
- and connection pool events with improved efficiency.
681
-
682
-
683
- .. _version-1.0:
684
-
685
- What's New in 1.0
686
- -----------------
687
-
688
- This release adds no new features.
0 commit comments