Skip to content

Commit bf4c6fd

Browse files
elyse-mdbElyse Foreman
andauthored
Docsp 44281 v1.13 backport (#401)
* (DOCSP-44281) [Go Driver] Update changelogs to remove updates for EOL'd versions v1.11 and earlier (#397) Co-authored-by: Elyse Foreman <[email protected]> * (DOCSP-44281) backport. --------- Co-authored-by: Elyse Foreman <[email protected]>
1 parent 564bbe8 commit bf4c6fd

File tree

1 file changed

+1
-305
lines changed

1 file changed

+1
-305
lines changed

source/whats-new.txt

Lines changed: 1 addition & 305 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@ Learn what's new in:
2828
* :ref:`Version 1.13 <version-1.13>`
2929
* :ref:`Version 1.12.1 <version-1.12.1>`
3030
* :ref:`Version 1.12 <version-1.12>`
31-
* :ref:`Version 1.11 <version-1.11>`
32-
* :ref:`Version 1.10 <version-1.10>`
33-
* :ref:`Version 1.9 <version-1.9>`
34-
* :ref:`Version 1.8 <version-1.8>`
35-
* :ref:`Version 1.7 <version-1.7>`
36-
* :ref:`Version 1.6 <version-1.6>`
37-
* :ref:`Version 1.5 <version-1.5>`
38-
* :ref:`Version 1.4 <version-1.4>`
39-
* :ref:`Version 1.3 <version-1.3>`
40-
* :ref:`Version 1.2 <version-1.2>`
41-
* :ref:`Version 1.1 <version-1.1>`
42-
* :ref:`Version 1.0 <version-1.0>`
4331

4432
.. _version-1.13:
4533

@@ -154,296 +142,4 @@ Additional Changes
154142
specification of the size of batches fetched when iterating through a
155143
cursor.
156144
- Addition of the ``UnmarshalValue()`` method to allow ummarshalling of
157-
BSON values marshalled with the ``MarshalValue()`` method.
158-
159-
.. _version-1.11.0:
160-
.. _version-1.11:
161-
162-
What's New in 1.11
163-
------------------
164-
165-
.. important:: Upgrade to Version 1.11.9 or Later
166-
167-
Versions 1.11.0 through 1.11.2 of the driver have been retracted because
168-
of a bug that could cause undefined behavior when reading the ``Raw`` field
169-
on database error types, such as ``CommandError`` and
170-
``WriteException``.
171-
172-
Version 1.11.8 of the driver has been retracted because
173-
it incorrectly contains changes intended for 1.12.1.
174-
175-
Upgrade to version 1.11.9 or later if you are using a retracted
176-
version of the driver.
177-
178-
New features of the 1.11 Go driver release include:
179-
180-
- Removal of support for MongoDB versions 3.5 and older.
181-
182-
- Removal of support for Go versions 1.12 and older.
183-
184-
- Improvements to ``Timeout`` API and behavior, including:
185-
186-
- Modified retry logic for greater application resiliency.
187-
188-
- Extended ``mongo.IsTimeout`` error helper to catch more timeout errors.
189-
190-
- New GridFS methods that take contexts instead of using ``SetReadDeadline``
191-
and ``SetWriteDeadline``.
192-
193-
- Reduced memory allocations during operation execution.
194-
195-
- Fix for SRV polling bug that prevented changes in SRV records when the
196-
associated MongoDB connection string included a username and password.
197-
198-
- Support for :abbr:`GCP (Google Cloud Platform)` service accounts when using
199-
Google Cloud Key Management Services.
200-
201-
- Improvements to server-side resource cleanup when using the ``Cursor.All`` and
202-
``Session.WithTransaction`` functions.
203-
204-
- ``SERVICE_HOST`` Kerberos authentication parameter specification enabled with
205-
the ``authMechanismProperties`` connection string option.
206-
207-
- Corrected output from the ``bson.Raw.String()`` method to Extended JSON
208-
type for timestamps when the BSON document contains a UTC Timestamp
209-
field.
210-
211-
- Resolution of conflicts when retrying reads with read concern
212-
``"available"`` or ``"linearizable"``.
213-
214-
215-
.. _version-1.10.0:
216-
.. _version-1.10:
217-
218-
What's New in 1.10
219-
------------------
220-
221-
.. important:: Upgrade to Version 1.10.1 or Higher
222-
223-
The 1.10.1 Go driver patches a bug that can cause data corruption when
224-
rotating :ref:`Data Encryption Keys <csfle-key-architecture>` encrypted
225-
with a :ref:`Customer Master Key <csfle-key-architecture>` hosted on Google
226-
Cloud Key Management Service or Azure Key Vault.
227-
228-
New features of the 1.10 Go driver release include:
229-
230-
- Full compatibility with MongoDB 6.0.
231-
232-
- Support for new features related to :ref:`qe-manual-feature-qe`,
233-
including new options for automatic and manual encryption.
234-
235-
- Support for the new Automatic Encryption Shared Library, which replaces the
236-
``mongocryptd`` process. The shared library requires MongoDB v6.0 Enterprise
237-
or later and ``libmongocrypt`` 1.5.0 or later.
238-
239-
- :ref:`clustered index <golang-clustered-indexes>` creation support.
240-
241-
- A new API and ``ClientEncryption`` entity operations for encryption key
242-
management.
243-
244-
- A ``Timeout`` client option to set default context timeouts for
245-
each operation sent through that client.
246-
247-
- A patch to default data to either ``primitive.M`` or ``primitive.D`` when
248-
decoding empty types.
249-
250-
- Support for encoding atypical map key types for data that can be unmarshalled
251-
into a textual representation of itself.
252-
253-
- Performance optimizations, including:
254-
255-
- Improved full document requests for before and after updates in change
256-
stream events.
257-
258-
- Improved :abbr:`PRN (pseudo-random number)` and :abbr:`UUID (universally
259-
unique identifier)` generation.
260-
261-
- Reduced memory consumption when compressing wire messages.
262-
263-
- Troubleshooting support for `frequently encountered issues.
264-
<https://github.com/mongodb/mongo-go-driver/blob/master/docs/common-issues.md>`__
265-
266-
267-
.. _version-1.9:
268-
269-
What's New in 1.9
270-
-----------------
271-
272-
New features of the 1.9 Go driver release include:
273-
274-
- Improved connection storm mitigation.
275-
276-
- ``Custom`` options to change-stream and aggregate operations.
277-
278-
- ``Let`` option on most CRUD commands that specifies parameters for use
279-
in an aggregate expression. ``Let`` must be a document that maps
280-
parameter names to values that are constant or closed expressions without
281-
references to document fields. MongoDB v5.0 or later is required.
282-
283-
- New constructor functions that create ``Cursor`` and ``SingleResult``
284-
instances from marshallable and non-nil BSON documents.
285-
286-
287-
.. _version-1.8:
288-
289-
What's New in 1.8
290-
-----------------
291-
292-
New features of the 1.8 Go driver release include:
293-
294-
- Full compatibility with MongoDB 5.1.
295-
296-
- Support for :abbr:`KMIP (Key Management Interoperability Protocol)` as a KMS
297-
provider for :abbr:`{+csfle-short+} ({+csfle-long+})`.
298-
299-
- Redesigned driver connection pool for low operation ``Context`` timeouts and
300-
to reduce connection churn. Behavior changes include:
301-
302-
- New connection creation times out at ``connectTimeoutMS``.
303-
304-
- At most, two new connections can be established at the same time.
305-
306-
- Removal of oppressive and unnecessarily gendered language in the Go driver
307-
documentation, code, tests, and spec tests.
308-
309-
310-
.. _version-1.7:
311-
312-
What's New in 1.7
313-
-----------------
314-
315-
.. important:: Upgrade to Version 1.7.2 or Higher
316-
317-
The 1.7.2 Go driver contains a bug fix for a data race that can occur between
318-
creating and checking out connections when ``minPoolSize > 0``.
319-
320-
New features of the 1.7 Go driver release include:
321-
322-
- Full compatibility with MongoDB 5.0.
323-
324-
- Support for the :readconcern:`"snapshot"` read concern outside of
325-
multi-document transactions for certain read operations.
326-
327-
- Improved ``WriteException`` and ``BulkWriteException`` error messages for
328-
schema validation via the ``WriteError.Details`` field.
329-
330-
331-
.. _version-1.6:
332-
333-
What's New in 1.6
334-
-----------------
335-
336-
.. important:: Upgrade to Version 1.6.2 or Higher
337-
338-
The 1.6.2 Go driver contains a bug fix for a data race that can occur between
339-
creating and checking out connections when ``minPoolSize > 0``.
340-
341-
New features of the 1.6 Go driver release include:
342-
343-
- Support for the MongoDB Stable API. For more information, see the
344-
:ref:`Stable API Guide <golang-stable-api>`.
345-
346-
- Support for connections to any MongoDB service that runs behind a load
347-
balancer.
348-
349-
- Support for creating time series collections. For more information, see
350-
the :ref:`Time Series Collections Guide <golang-time-series>`.
351-
352-
- ``Let`` option for aggregate expressions.
353-
354-
355-
.. _version-1.5:
356-
357-
What's New in 1.5
358-
-----------------
359-
360-
New features of the 1.5 Go driver release include:
361-
362-
- Support for Azure and :abbr:`GCP (Google Cloud Platform)` key-management
363-
services with {+csfle-long+}.
364-
365-
- New errors API to detect duplicate-key errors, timeouts, and network
366-
errors.
367-
368-
- Server monitoring to monitor changes on a MongoDB deployment.
369-
370-
- Errors to prevent unexpected behavior on maps that contain multiple
371-
keys being used as a hint option, as a sort option, or for index creation.
372-
373-
374-
.. _version-1.4:
375-
376-
What's New in 1.4
377-
-----------------
378-
379-
New features of the 1.4 Go driver release include:
380-
381-
- Full compatibility with MongoDB 4.4.
382-
383-
- Support for stapled and non-stapled OCSP verification.
384-
385-
- New ``tlsDisableOCSPEndpointCheck=true`` URI option to disable sending HTTP
386-
requests if the OCSP responder is not reachable from the driver and there is
387-
no stapled response.
388-
389-
- Additional context to errors encountered during BSON unmarshalling.
390-
391-
- Proper ``Unwrap`` functions for various driver error types.
392-
393-
394-
.. _version-1.3:
395-
396-
What's New in 1.3
397-
-----------------
398-
399-
New features of the 1.3 Go driver release include:
400-
401-
- ``mgocompat`` package that exports a BSON registry compatible with
402-
``globalsign/mgo/bson``, which can be used via the
403-
``ClientOptions.SetRegistry`` method.
404-
405-
- ``RegisterTypeEncoder`` and ``RegisterHookEncoder`` methods, which
406-
replace the deprecated ``RegisterEncoder`` method. A corresponding change has
407-
been made to replace ``RegisterDecoder``.
408-
409-
410-
.. _version-1.2:
411-
412-
What's New in 1.2
413-
-----------------
414-
415-
New features of the 1.2 Go driver release include:
416-
417-
- Support for {+csfle-short+}.
418-
419-
- ``bson.MarshalValue`` function, which marshals Go types to BSON.
420-
421-
- ``StringCodec``, which allows non-string fields to be decoded into a
422-
String field in a struct.
423-
424-
- ``IntCodec``, ``UIntCodec``, ``BoolCodec``, and ``FloatCodec`` added to
425-
``mgocompat`` to allow codecs to convert between numbers and booleans.
426-
427-
428-
.. _version-1.1:
429-
430-
What's New in 1.1
431-
-----------------
432-
433-
New features of the 1.1 Go driver release include:
434-
435-
- Full compatibility with MongoDB 4.2.
436-
437-
- Redesigned lower-level driver implementation to improve maintainability and
438-
performance.
439-
440-
- Connection Monitoring and Pooling specifications to monitor various connection
441-
and connection pool events with improved utilization.
442-
443-
444-
.. _version-1.0:
445-
446-
What's New in 1.0
447-
-----------------
448-
449-
This release adds no new features.
145+
BSON values marshalled with the ``MarshalValue()`` method.

0 commit comments

Comments
 (0)