- Pods
- Bson 2.0.4
- Release Notes

BsonRelease Notes
Versions
v2.0.4
- Chg: Added workaround for non-UTF-8 characters in MongoDB err msgs. See issue  SERVER-50454 for details.
v2.0.2
- New: Timestampnow overridescompare()for<=>comparison usage.
- Bug: Could not serialise strings with upper-end UTF-8 characters.
v2.0.0
- New: Complete re-write to incorporate the latest BSON specifications.
- Chg: Deprecated BSON objects (e.g. Code with Scope) are no longer supported.
- Chg: BSON document serialisation (via new BsonIOclass) has been vastly optimised.
v1.1.2
- New: BsonReader.tzfield to set the time zone in whichDateTimesare returned.
- New: BsonType.fromType().
- Chg: Converted MinKeyandMaxKeyto singleton classes. (Potential breaking change.)
- Chg: Optimised BsonReader,BsonWriter, andBsonType.
- Chg: Refactored out / removed some internal classes.
- Chg: BSON types are now final- for speedy checks by BsonType. (Potential breaking change.)
v1.1.0
- New: toJs()methods forBinary,MinKey,MaxKey,ObjectId, &Timestamp.
- New: Timestamp.now()returns a unique Timestamp.
- Chg: BinaryandCodeare nowconstclasses. (Breaking change.)
- Chg: Better Fantom serialization for Binary. (Breaking change.)
- Chg: Changed Timestamp.secondsfrom aDurationto anInt. (Breaking change.)
- Chg: Better IP hash in ObjectIdfor IP6 addresses.
v1.0.0
- New: Initial release.
- New: BsonWritercaches nested document sizes for increased performance.
- Bug: Worked around the dodgy DateTime.fromJava() quirks.
v0.0.2