Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid deprecated servant import. It was removed in 0.17 #144

Merged
merged 1 commit into from
Feb 9, 2020

Conversation

AlistairB
Copy link
Contributor

@AlistairB AlistairB commented Feb 9, 2020

Servant.Utils.Links was deprecated in servant 14.1 - haskell-servant/servant#998

It has now been removed entirely in servant 0.17, which breaks gogol-core from building. Switching to the non-deprecated module path fixes it.

This does mean that gogol-core will not build on older than servant 14.1. However 14.1 was released 6 Jul 2018, so I'm hoping that is ok?

Hmm..

ghc 8.6.4 - lts-13.19 uses servant 0.15 ✔️
ghc 8.4.4 - lts-12.26 uses servant 0.14.1 ✔️
ghc 8.2.2 - lts-11.22 uses servant 0.13 🙅‍♂️

So I guess as is this would require dropping ghc 8.2.2 support..

@brendanhay
Copy link
Owner

S/LGTM, thanks!

@brendanhay brendanhay merged commit 801f00b into brendanhay:develop Feb 9, 2020
@AlistairB AlistairB deleted the servant-0.17-fix branch February 9, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants