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