Skip to content

Commit

Permalink
Release version 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Jan 5, 2022
1 parent 6c375e1 commit f0401cc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
tests/BackAndForth.fs (7a6f556678d450dffc42968fc4d1a84350e4191d)
tests/Decoders.fs (7a6f556678d450dffc42968fc4d1a84350e4191d)
tests/Encoders.fs (7a6f556678d450dffc42968fc4d1a84350e4191d)
tests/ExtraCoders.fs (7a6f556678d450dffc42968fc4d1a84350e4191d)
tests/Types.fs (7a6f556678d450dffc42968fc4d1a84350e4191d)
8 changes: 4 additions & 4 deletions src/Encode.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Thoth.Json.Net.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<RepositoryUrl>https://github.com/thoth-org/Thoth.Json.Net</RepositoryUrl>
<PackageTags>fsharp;json</PackageTags>
<Authors>Maxime Mangel</Authors>
<Version>7.1.0</Version>
<Version>8.0.0</Version>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
Expand Down

0 comments on commit f0401cc

Please sign in to comment.