Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

0.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@agcom agcom released this 25 Sep 19:26
· 10 commits to main since this release

Future group id change (#66) was back-ported to this release (affected the published artifacts).

Breaking Changes

  • BsonValueSerializer now won't decode deprecated bson types.
  • Functions Set<RegexOption>.asEmbedded() and String.toRegexOptions() are now declared as internal.
  • Removed load / dump primitive type support (#43, #18).
  • Changed BsonInput.decodeRegularExpression and BsonOutput.encodeRegularExpression signature to use Pattern (#51).
  • Applied semantic versioning practices (#60) .
  • Removed obsolete packages (#62).

New Features

  • Added loadBsonDocument, loadBsonArray and dumpBson functions (#44).
  • Added constructor like builder for BsonBinary and BsonRegularExpression using corresponding platform types.
  • Added BsonDocument.toBsonArray and BsonArray.toBsonDocument functions (#44).
  • Added unique serializers per bson type (#49).
  • Added some missing serializers (#42).

Bug Fixes

  • Declared application binary interfaces as transitive dependencies (#37).
  • Fixed SerializationCodecRegistry inconsistent behavior (#26).
  • Fixed regex flags support (#46).

Improvements

  • Added README (#14).
  • Added code documentations (#14).
  • Extended the Bson default contextual module.
  • Extended TemporalSerializer to TemporalAccessorSerializer.
  • Cached polymorphics structure in SerializationCodecRegistry (#48).
  • Dropped Kotlin compile byte code version to 1.8 (#63).

Other Changes

  • Marked load(deserializer, bytes, type) function as deprecated (#44).
  • Extended and cleaned the tests.
  • Moved pom meta-data into XML files.

Known issues

  • SerializationCodecRegistry: Extracting polymorphic serializer, sub with multiple bases (#56).
  • org.bson.BSONException (#12).