Skip to content

Commit

Permalink
NuGet v3.0.5, fixes to event callbacks, content routes, threading cha…
Browse files Browse the repository at this point in the history
…nges
  • Loading branch information
jchristn committed Jan 16, 2020
1 parent d36f890 commit 657b75f
Show file tree
Hide file tree
Showing 107 changed files with 576 additions and 230 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

## Current Version

v3.0.4
v3.0.5

- Exposed certain HttpRequest factories to support 3rd-party apps built using Watson.
- Removed ThreadPool.QueueUserWorkItem in favor of unawaited Tasks
- Removed .RunSynchronously in favor of .Wait for the default route, thereby eliminating an InvalidOperationException (thank you @at1993)
- Properly firing ResponseSent events when the event callback is defined (thank you @at1993)
- Fixed an issue where the file path for content routes was not properly constructed (thank you @zaksnet)
- Added better documentation on event callbacks

## Previous Versions

v3.0.4

- Exposed certain HttpRequest factories to support 3rd-party apps built using Watson.

v3.0.3

- Removed welcome message
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@

Simple, scalable, fast, async web server for processing RESTful HTTP/HTTPS requests, written in C#.

## New in v3.0.4
## New in v3.0.5

- Exposed certain HttpRequest factories to support 3rd-party apps built using Watson.
- Removed ThreadPool.QueueUserWorkItem in favor of unawaited Tasks
- Removed .RunSynchronously in favor of .Wait for the default route, thereby eliminating an InvalidOperationException (thank you @at1993)
- Properly firing ResponseSent events when the event callback is defined (thank you @at1993)
- Fixed an issue where the file path for content routes was not properly constructed (thank you @zaksnet)
- Added better documentation on event callbacks

## Key Changes from v2.x

Expand Down
Binary file modified Test.ChunkServer/bin/Debug/net462/Test.ChunkServer.exe
Binary file not shown.
Binary file modified Test.ChunkServer/bin/Debug/net462/WatsonWebserver.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v2.2",
"signature": "9edd137b809fa05e635e4ac1d1d7e7f06fe57b92"
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v2.2": {
"Test.ChunkServer/1.0.0": {
"dependencies": {
"Watson": "3.0.4"
"Watson": "3.0.5"
},
"runtime": {
"Test.ChunkServer.dll": {}
Expand Down Expand Up @@ -38,7 +38,7 @@
}
}
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"dependencies": {
"IpMatcher": "1.0.1",
"Newtonsoft.Json": "12.0.2",
Expand All @@ -59,25 +59,25 @@
"IpMatcher/1.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ASdqz1wygrLi6biivalAsxORk24DI5ZMyfgyRazsEqqXsVSDqzEBUt9IqxVdGhY6le2P0TX3eQqUzaokNXCpog==",
"sha512": "sha512-uj4yFtK2myFRbqpxB+QKvGvMw9fLXHyvyypdQdd3JKDG6C1HvSSemPugf/N+tvtH3swHQPj5JM45s5+1SOdziQ==",
"path": "ipmatcher/1.0.1",
"hashPath": "ipmatcher.1.0.1.nupkg.sha512"
},
"Newtonsoft.Json/12.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mtweBXPWhp1CMQATtBT7ZfMZrbZBTKfjGwz6Y75NwGjx/GztDaUnfw8GK9KZ2T4fDIqKJyDjc9Rxlw5+G2FcVA==",
"sha512": "sha512-rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==",
"path": "newtonsoft.json/12.0.2",
"hashPath": "newtonsoft.json.12.0.2.nupkg.sha512"
},
"RegexMatcher/1.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gbNpAHo+3HjiX4YSirmR7ujsURje2pk3moWmb64aB2SXfa75BUFf0ffDld6zJ5KmubO9ST+86O/bejBU5y4eWg==",
"sha512": "sha512-t+gA+bsDoISfPP80GfkC9CrR0GC9+lzoSAF+T9YZAdiy8lL1DcBHdwIYEpgPNJkVmPglM+RWFokXnuZ1MypBvQ==",
"path": "regexmatcher/1.0.2",
"hashPath": "regexmatcher.1.0.2.nupkg.sha512"
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file modified Test.ChunkServer/bin/Debug/netcoreapp2.2/Test.ChunkServer.dll
Binary file not shown.
Binary file modified Test.ChunkServer/bin/Debug/netcoreapp2.2/WatsonWebserver.dll
Binary file not shown.
Binary file modified Test.ChunkServer/bin/Release/net462/Test.ChunkServer.exe
Binary file not shown.
Binary file modified Test.ChunkServer/bin/Release/net462/WatsonWebserver.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v2.2",
"signature": "9edd137b809fa05e635e4ac1d1d7e7f06fe57b92"
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v2.2": {
"Test.ChunkServer/1.0.0": {
"dependencies": {
"Watson": "3.0.4"
"Watson": "3.0.5"
},
"runtime": {
"Test.ChunkServer.dll": {}
Expand Down Expand Up @@ -38,7 +38,7 @@
}
}
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"dependencies": {
"IpMatcher": "1.0.1",
"Newtonsoft.Json": "12.0.2",
Expand All @@ -59,25 +59,25 @@
"IpMatcher/1.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ASdqz1wygrLi6biivalAsxORk24DI5ZMyfgyRazsEqqXsVSDqzEBUt9IqxVdGhY6le2P0TX3eQqUzaokNXCpog==",
"sha512": "sha512-uj4yFtK2myFRbqpxB+QKvGvMw9fLXHyvyypdQdd3JKDG6C1HvSSemPugf/N+tvtH3swHQPj5JM45s5+1SOdziQ==",
"path": "ipmatcher/1.0.1",
"hashPath": "ipmatcher.1.0.1.nupkg.sha512"
},
"Newtonsoft.Json/12.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mtweBXPWhp1CMQATtBT7ZfMZrbZBTKfjGwz6Y75NwGjx/GztDaUnfw8GK9KZ2T4fDIqKJyDjc9Rxlw5+G2FcVA==",
"sha512": "sha512-rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==",
"path": "newtonsoft.json/12.0.2",
"hashPath": "newtonsoft.json.12.0.2.nupkg.sha512"
},
"RegexMatcher/1.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gbNpAHo+3HjiX4YSirmR7ujsURje2pk3moWmb64aB2SXfa75BUFf0ffDld6zJ5KmubO9ST+86O/bejBU5y4eWg==",
"sha512": "sha512-t+gA+bsDoISfPP80GfkC9CrR0GC9+lzoSAF+T9YZAdiy8lL1DcBHdwIYEpgPNJkVmPglM+RWFokXnuZ1MypBvQ==",
"path": "regexmatcher/1.0.2",
"hashPath": "regexmatcher.1.0.2.nupkg.sha512"
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file modified Test.ChunkServer/bin/Release/netcoreapp2.2/Test.ChunkServer.dll
Binary file not shown.
Binary file modified Test.ChunkServer/bin/Release/netcoreapp2.2/WatsonWebserver.dll
Binary file not shown.
24 changes: 24 additions & 0 deletions Test.ChunkServer/bin/Release/netcoreapp2.2/WatsonWebserver.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Test.ContentRoutes/bin/Debug/net462/Test.ContentRoutes.exe
Binary file not shown.
Binary file modified Test.ContentRoutes/bin/Debug/net462/WatsonWebserver.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": "3c8382b150a6c05606c8f2fe30b994b8545bb933"
"signature": ""
},
"compilationOptions": {},
"targets": {
Expand All @@ -10,7 +10,7 @@
"Test.ContentRoutes/1.0.0": {
"dependencies": {
"NETStandard.Library": "2.0.3",
"Watson": "3.0.4"
"Watson": "3.0.5"
},
"runtime": {
"Test.ContentRoutes.dll": {}
Expand Down Expand Up @@ -46,7 +46,7 @@
}
}
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"dependencies": {
"IpMatcher": "1.0.1",
"Newtonsoft.Json": "12.0.2",
Expand All @@ -67,14 +67,14 @@
"IpMatcher/1.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ASdqz1wygrLi6biivalAsxORk24DI5ZMyfgyRazsEqqXsVSDqzEBUt9IqxVdGhY6le2P0TX3eQqUzaokNXCpog==",
"sha512": "sha512-uj4yFtK2myFRbqpxB+QKvGvMw9fLXHyvyypdQdd3JKDG6C1HvSSemPugf/N+tvtH3swHQPj5JM45s5+1SOdziQ==",
"path": "ipmatcher/1.0.1",
"hashPath": "ipmatcher.1.0.1.nupkg.sha512"
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-z+iFuMBeiHMRqvMNUri6Y6zIH8WWYBJwyYtgRnNzp12VWVbbQ8y+xqeAJgrtWRaX7p7qEzrC1OqOQNBTEHoB8A==",
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
Expand All @@ -88,18 +88,18 @@
"Newtonsoft.Json/12.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mtweBXPWhp1CMQATtBT7ZfMZrbZBTKfjGwz6Y75NwGjx/GztDaUnfw8GK9KZ2T4fDIqKJyDjc9Rxlw5+G2FcVA==",
"sha512": "sha512-rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==",
"path": "newtonsoft.json/12.0.2",
"hashPath": "newtonsoft.json.12.0.2.nupkg.sha512"
},
"RegexMatcher/1.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gbNpAHo+3HjiX4YSirmR7ujsURje2pk3moWmb64aB2SXfa75BUFf0ffDld6zJ5KmubO9ST+86O/bejBU5y4eWg==",
"sha512": "sha512-t+gA+bsDoISfPP80GfkC9CrR0GC9+lzoSAF+T9YZAdiy8lL1DcBHdwIYEpgPNJkVmPglM+RWFokXnuZ1MypBvQ==",
"path": "regexmatcher/1.0.2",
"hashPath": "regexmatcher.1.0.2.nupkg.sha512"
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified Test.ContentRoutes/bin/Release/net462/Test.ContentRoutes.exe
Binary file not shown.
Binary file modified Test.ContentRoutes/bin/Release/net462/WatsonWebserver.dll
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": "3c8382b150a6c05606c8f2fe30b994b8545bb933"
"signature": ""
},
"compilationOptions": {},
"targets": {
Expand All @@ -10,7 +10,7 @@
"Test.ContentRoutes/1.0.0": {
"dependencies": {
"NETStandard.Library": "2.0.3",
"Watson": "3.0.4"
"Watson": "3.0.5"
},
"runtime": {
"Test.ContentRoutes.dll": {}
Expand Down Expand Up @@ -46,7 +46,7 @@
}
}
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"dependencies": {
"IpMatcher": "1.0.1",
"Newtonsoft.Json": "12.0.2",
Expand All @@ -67,14 +67,14 @@
"IpMatcher/1.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ASdqz1wygrLi6biivalAsxORk24DI5ZMyfgyRazsEqqXsVSDqzEBUt9IqxVdGhY6le2P0TX3eQqUzaokNXCpog==",
"sha512": "sha512-uj4yFtK2myFRbqpxB+QKvGvMw9fLXHyvyypdQdd3JKDG6C1HvSSemPugf/N+tvtH3swHQPj5JM45s5+1SOdziQ==",
"path": "ipmatcher/1.0.1",
"hashPath": "ipmatcher.1.0.1.nupkg.sha512"
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-z+iFuMBeiHMRqvMNUri6Y6zIH8WWYBJwyYtgRnNzp12VWVbbQ8y+xqeAJgrtWRaX7p7qEzrC1OqOQNBTEHoB8A==",
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
Expand All @@ -88,18 +88,18 @@
"Newtonsoft.Json/12.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mtweBXPWhp1CMQATtBT7ZfMZrbZBTKfjGwz6Y75NwGjx/GztDaUnfw8GK9KZ2T4fDIqKJyDjc9Rxlw5+G2FcVA==",
"sha512": "sha512-rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==",
"path": "newtonsoft.json/12.0.2",
"hashPath": "newtonsoft.json.12.0.2.nupkg.sha512"
},
"RegexMatcher/1.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gbNpAHo+3HjiX4YSirmR7ujsURje2pk3moWmb64aB2SXfa75BUFf0ffDld6zJ5KmubO9ST+86O/bejBU5y4eWg==",
"sha512": "sha512-t+gA+bsDoISfPP80GfkC9CrR0GC9+lzoSAF+T9YZAdiy8lL1DcBHdwIYEpgPNJkVmPglM+RWFokXnuZ1MypBvQ==",
"path": "regexmatcher/1.0.2",
"hashPath": "regexmatcher.1.0.2.nupkg.sha512"
},
"Watson/3.0.4": {
"Watson/3.0.5": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file not shown.
Binary file not shown.
24 changes: 24 additions & 0 deletions Test.ContentRoutes/bin/Release/netstandard2.0/WatsonWebserver.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified Test.Default/bin/Debug/net462/Test.Default.exe
Binary file not shown.
Binary file modified Test.Default/bin/Debug/net462/WatsonWebserver.dll
Binary file not shown.
Loading

0 comments on commit 657b75f

Please sign in to comment.