From f0401ccca9091d22c7d5629d1baf3b4339f1c911 Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Wed, 5 Jan 2022 12:10:36 +0100 Subject: [PATCH] Release version 8.0.0 --- CHANGELOG.md | 9 +++++++++ paket.lock | 10 +++++----- src/Encode.fs | 8 ++++---- src/Thoth.Json.Net.fsproj | 2 +- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 005ae75..1f1a5de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 8.0.0 - 2022-01-05 + +### Changed + +* BREAKING CHANGE: Represent `sbyte` using number instead of string. +* BREAKING CHANGE: Represent `byte` using number instead of string. +* BREAKING CHANGE: Represent `int16` using number instead of string. +* BREAKING CHANGE: Represent `uint16` using number instead of string. + ## 7.1.0 - 2021-09-12 ### Fixed diff --git a/paket.lock b/paket.lock index 74ee8d6..d857369 100644 --- a/paket.lock +++ b/paket.lock @@ -1013,8 +1013,8 @@ GROUP tests GITHUB remote: thoth-org/Thoth.Json - tests/BackAndForth.fs (7f6b448ce9ba283b606926eace136eacc148d159) - tests/Decoders.fs (7f6b448ce9ba283b606926eace136eacc148d159) - tests/Encoders.fs (7f6b448ce9ba283b606926eace136eacc148d159) - tests/ExtraCoders.fs (7f6b448ce9ba283b606926eace136eacc148d159) - tests/Types.fs (7f6b448ce9ba283b606926eace136eacc148d159) \ No newline at end of file + tests/BackAndForth.fs (7a6f556678d450dffc42968fc4d1a84350e4191d) + tests/Decoders.fs (7a6f556678d450dffc42968fc4d1a84350e4191d) + tests/Encoders.fs (7a6f556678d450dffc42968fc4d1a84350e4191d) + tests/ExtraCoders.fs (7a6f556678d450dffc42968fc4d1a84350e4191d) + tests/Types.fs (7a6f556678d450dffc42968fc4d1a84350e4191d) \ No newline at end of file diff --git a/src/Encode.fs b/src/Encode.fs index 5767674..9da30bb 100644 --- a/src/Encode.fs +++ b/src/Encode.fs @@ -172,16 +172,16 @@ module Encode = let sbyte (value : sbyte) : JsonValue = - JValue(value.ToString(CultureInfo.InvariantCulture)) :> JsonValue + JValue(value) :> JsonValue let byte (value : byte) : JsonValue = - JValue(value.ToString(CultureInfo.InvariantCulture)) :> JsonValue + JValue(value) :> JsonValue let int16 (value : int16) : JsonValue = - JValue(value.ToString(CultureInfo.InvariantCulture)) :> JsonValue + JValue(value) :> JsonValue let uint16 (value : uint16) : JsonValue = - JValue(value.ToString(CultureInfo.InvariantCulture)) :> JsonValue + JValue(value) :> JsonValue let int (value : int) : JsonValue = JValue(value) :> JsonValue diff --git a/src/Thoth.Json.Net.fsproj b/src/Thoth.Json.Net.fsproj index b8ff1cd..970d6f4 100644 --- a/src/Thoth.Json.Net.fsproj +++ b/src/Thoth.Json.Net.fsproj @@ -6,7 +6,7 @@ https://github.com/thoth-org/Thoth.Json.Net fsharp;json Maxime Mangel - 7.1.0 + 8.0.0 netstandard2.0;net46