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