Skip to content

Commit

Permalink
Updated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinmoris committed Dec 1, 2020
1 parent 9136336 commit 385ebdf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ Release Notes
- `IXmlSerializer` is now `Xml.ISerializer`
- `DefaultXmlSerializer` is now `SystemXml.Serializer`
- Converted all `HttpContext` extension methods into C# compatible extension methods, meaning that function arguments had to be merged into tuples
- Removed the `=>` operator from `Giraffe.EndpointRouting`
- Changed the `GET`, `POST`, `PUT`, `HEAD`, etc. functions to accept an `Endpoint list` instead of an `Endpoint`
- Before: `GET => route "/foo" (text "bar")`, After: `GET [ route "/foo" (text "bar") ]`
- One can now compose routes easier:
```fsharp
GET [
route "/a" (text "A")
route "/b" (text "B")
route "/c" (text "C")
]
```
- Added `GET_HEAD` to the endpoint routing functions, which will handle a `HEAD` request for the same `GET` handler.
## 5.0.0-rc-2
Expand Down

0 comments on commit 385ebdf

Please sign in to comment.