Skip to content

Commit

Permalink
Release version 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mangel committed Jun 7, 2019
1 parent e801b3b commit 43e63e4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.4.0 - 2019-06-07
### Added

* `Decode.Auto.LowLevel` providing better interop when consuming Thoth.Json.Net from a C# project
* `Encode.Auto.LowLevel` providing better interop when consuming Thoth.Json.Net from a C# project
* (Json)Converter, this is needed for people using Asp.Net WebApi (by @SCullman)

### Fixed

* Fix #11: Replicate Fable behaviour when encoding `StringEnum`. Only when not on NETFRAMEWORK!!!

### Changed

* Ensure that Thoth.Json.Net references the minimum allowed version of Newtonsoft.Json (by @bentayloruk)

## 3.3.0 - 2019-06-05
### Fixed

Expand Down
8 changes: 7 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ open Fake.DotNet
open Fake.IO
open Fake.IO.Globbing.Operators
open Fake.IO.FileSystemOperators
open Fake.Tools.Git
open Fake.Tools
open Fake.JavaScript
open Fake.Api

Expand Down Expand Up @@ -226,6 +226,7 @@ let getNotes (version : string) =
)
// Remove the version line
|> Seq.skip 1
// Take all until the next version line
|> Seq.takeWhile (fun line ->
let m = versionRegex.Match(line)
not m.Success
Expand All @@ -239,6 +240,11 @@ Target.create "Publish" (fun _ ->
Target.create "Release" (fun _ ->
let version = getLastVersion()

Git.Staging.stageAll root
let commitMsg = sprintf "Release version %s" version
Git.Commit.exec root commitMsg
Git.Branches.push root

let token =
match Environment.environVarOrDefault "GITHUB_TOKEN" "" with
| s when not (System.String.IsNullOrWhiteSpace s) -> s
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>3.3.0</Version>
<Version>3.4.0</Version>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
Expand Down

0 comments on commit 43e63e4

Please sign in to comment.