This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
0.3.0
Pre-release
Pre-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()
andString.toRegexOptions()
are now declared as internal. - Removed
load / dump
primitive type support (#43, #18). - Changed
BsonInput.decodeRegularExpression
andBsonOutput.encodeRegularExpression
signature to usePattern
(#51). - Applied semantic versioning practices (#60) .
- Removed obsolete packages (#62).
New Features
- Added
loadBsonDocument
,loadBsonArray
anddumpBson
functions (#44). - Added constructor like builder for
BsonBinary
andBsonRegularExpression
using corresponding platform types. - Added
BsonDocument.toBsonArray
andBsonArray.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
toTemporalAccessorSerializer
. - 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.