diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a3a664a..f1f45c26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,12 +10,16 @@ The `Unreleased` section name is replaced by the expected version of next releas ### Added ### Changed - -- Target `FsCodec.SystemTextJson` v `2.3.0` [#138](https://github.com/jet/propulsion/pull/138) - ### Removed ### Fixed + +## [2.12.2] - 2022-03-10 + +### Changed + +- `Kafka`: Target `FsCodec.NewtonsoftJson` v `2.3.2` [#138](https://github.com/jet/propulsion/pull/138) + ## [2.12.1] - 2022-02-15 @@ -707,7 +711,8 @@ The `Unreleased` section name is replaced by the expected version of next releas ## squashed prior to initial relevant commit -[Unreleased]: https://github.com/jet/propulsion/compare/2.12.1...HEAD +[Unreleased]: https://github.com/jet/propulsion/compare/2.12.2...HEAD +[2.12.2]: https://github.com/jet/propulsion/compare/2.12.1...2.12.2 [2.12.1]: https://github.com/jet/propulsion/compare/2.12.0...2.12.1 [2.12.0]: https://github.com/jet/propulsion/compare/2.12.0-rc.3...2.12.0 [2.12.0-rc.3]: https://github.com/jet/propulsion/compare/2.12.0-rc.2...2.12.0-rc.3 diff --git a/src/Propulsion.Kafka/Codec.fs b/src/Propulsion.Kafka/Codec.fs index cb4d7dc5..8ee5082d 100644 --- a/src/Propulsion.Kafka/Codec.fs +++ b/src/Propulsion.Kafka/Codec.fs @@ -11,7 +11,7 @@ open Propulsion.Streams /// Prepackaged serialization helpers with appropriate settings given the types will roundtrip correctly with default Json.net settings type Serdes private () = - static let serdes = lazy NewtonsoftJson.Serdes(Settings.CreateDefault()) + static let serdes = lazy NewtonsoftJson.Serdes Settings.Default static member Serialize<'T>(value : 'T) : string = serdes.Value.Serialize(value) static member Deserialize(json : string) : 'T = serdes.Value.Deserialize(json) diff --git a/src/Propulsion.Kafka/Propulsion.Kafka.fsproj b/src/Propulsion.Kafka/Propulsion.Kafka.fsproj index 15290c7b..0614bf93 100644 --- a/src/Propulsion.Kafka/Propulsion.Kafka.fsproj +++ b/src/Propulsion.Kafka/Propulsion.Kafka.fsproj @@ -26,7 +26,7 @@ - +