Add instance HasServer (EmptyAPI :> api) context#1775
Merged
tchoutri merged 2 commits intohaskell-servant:masterfrom Aug 14, 2024
Merged
Add instance HasServer (EmptyAPI :> api) context#1775tchoutri merged 2 commits intohaskell-servant:masterfrom
tchoutri merged 2 commits intohaskell-servant:masterfrom
Conversation
Contributor
|
Thank you very much! Please add a changelog entry and it should be good! |
Contributor
|
@odr Please do take a look at the link I provided in my message, we use changelog snippets instead of editing the final changelog directly) |
Contributor
Author
Done! |
tchoutri
approved these changes
Aug 14, 2024
theophile-scrive
pushed a commit
to theophile-scrive/servant
that referenced
this pull request
Aug 29, 2024
* Add instance HasServer (EmptyAPI :> api) context * add changelog
netbsd-srcmastr
pushed a commit
to NetBSD/pkgsrc
that referenced
this pull request
Jan 30, 2025
0.20.2 ---- - Fix build of examples/greet.hs. Add "429 Too Many Requests" error. [#1591](haskell-servant/servant#1591) - Full query string helpers [#1604](haskell-servant/servant#1604) This involves a new instance `HasServer (QueryString :> api) context`. - Add `MkHandler` pattern synonym [#1732](haskell-servant/servant#1732) [#1733](haskell-servant/servant#1733) Add a bidirectional pattern synonym to construct `Handler a` values from `IO (Either ServerError a)` ones, and match in the other direction. - Add instance `HasServer (EmptyAPI :> api) context` [#1775](haskell-servant/servant#1775) - Bugfix - CaptureAll produces [""] for empty paths due to trailing slash. [#1243](haskell-servant/servant#1243) [#1516](haskell-servant/servant#1516) CaptureAll resulted in `[""]` for empty paths due to trailing slash. Similar oddities occurred around these edge cases like `"/"` resulted in `[]` correctly, but `"//"` resulted in `["", ""]`. This patch simply eliminates the first `""` in the pathinfo list as taken from the wai response. This might break user code that relies on personal shims to solve the problem, however simply removing their workarounds should fix their code as the behavior is now sane.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corresponding to biocad/servant-openapi3#55