diff --git a/.paket/Paket.Restore.targets b/.paket/Paket.Restore.targets
index 0ec2816..3632ffe 100644
--- a/.paket/Paket.Restore.targets
+++ b/.paket/Paket.Restore.targets
@@ -20,18 +20,18 @@
proj
assembly
native
- /Library/Frameworks/Mono.framework/Commands/mono
+ /Library/Frameworks/Mono.framework/Commands/mono
mono
$(PaketRootPath)paket.bootstrapper.exe
$(PaketToolsPath)paket.bootstrapper.exe
$([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\
-
- "$(PaketBootStrapperExePath)"
+
+ "$(PaketBootStrapperExePath)"
$(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)"
-
+
true
@@ -40,68 +40,55 @@
True
-
- False
-
$(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/'))
-
-
+
-
-
-
- $(PaketRootPath)paket
- $(PaketToolsPath)paket
-
+
+
+
+
+
-
-
-
- $(PaketRootPath)paket.exe
- $(PaketToolsPath)paket.exe
+
+
+ dotnet paket
-
-
-
- <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json"))
- <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"'))
- <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false
-
+
+
+
+ $(PaketRootPath)paket.exe
+ $(PaketToolsPath)paket.exe
+ $(PaketToolsPath)paket.exe
+ $(_PaketBootStrapperExeDir)paket.exe
+ paket.exe
-
-
-
-
-
+
+ $(PaketRootPath)paket
+ $(PaketToolsPath)paket
+ $(PaketToolsPath)paket
-
-
- <_PaketCommand>dotnet paket
-
+
+ $(PaketRootPath)paket.exe
+ $(PaketToolsPath)paket.exe
-
-
-
- $(PaketToolsPath)paket
- $(PaketBootStrapperExeDir)paket
+
+ $(PaketBootStrapperExeDir)paket.exe
-
- paket
-
+
+ paket
-
-
<_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)"))
- <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)"
- <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"
- <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)"
+ dotnet "$(PaketExePath)"
+ $(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"
+ "$(PaketExePath)"
+
-
+
@@ -136,7 +123,7 @@
-
$([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``))
$([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``))
@@ -169,7 +156,7 @@
-
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 578c573..6afbf9e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,12 +8,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
+## 4.1.0 - 2020-05-16
+
+### Fixed
+
+* Avoiding aspnet core "Synchronous operations are disallowed" exception (by @MaxDeg)
+
## 4.0.0 - 2020-03-04
+### Changed
+
* Update to Thoth.Json.Net v4
## 3.2.0
+### Fixed
+
* Avoid "Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO to true." (by @MaxDeg)
## 3.1.0
diff --git a/src/Thoth.Json.Giraffe.fsproj b/src/Thoth.Json.Giraffe.fsproj
index 59f537d..3a65c71 100644
--- a/src/Thoth.Json.Giraffe.fsproj
+++ b/src/Thoth.Json.Giraffe.fsproj
@@ -7,7 +7,7 @@
https://github.com/MangelMaxime/Thoth
fsharp;json;Giraffe;ASP.NET;Core
Maxime Mangel
- 4.0.0
+ 4.1.0
netstandard2.0