This version is binary compatible with the 1.2.0 version of the driver.

Updates and Improvements:

Bug Fix

  • Updated the ArrayElement to enforce the naming of elements.

    If you are using the ArrayBuilder implementation then this does not effect you.

    This change is only required for manually created sub-elements of an ArrayElement that are not following the proper BSON naming convention.

    Prior to this change the arrays with the incorrect names would still be persisted in MongoDB but would not be visible in the MongoDB shell (and potentially cause problems with other drivers).

    To reduce the overhead of the checks we have implemented two other changes:

    • Enhanced the Element.withName(String) implementations to efficiently handle when not changing the element's name.
    • Added a static method to cache the first 256 array element names.


  • Added a new Document implementation representing an empty document.