Update yesod-bin for aeson 2

This commit is contained in:
Michael Snoyman 2022-02-11 05:55:17 +02:00
parent 385d17dd94
commit 3583fe2a03
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046
3 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# ChangeLog for yesod-bin
## 1.6.2
* aeson 2.0
## 1.6.1
Added command line options `cert` and `key` to allow TLS certificate and key files to be passed to `yesod devel` [#1717](https://github.com/yesodweb/yesod/pull/1717)

View File

@ -1,10 +1,16 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE CPP #-}
module Keter
( keter
) where
import Data.Yaml
#if MIN_VERSION_aeson(2, 0, 0)
import qualified Data.Aeson.KeyMap as Map
#else
import qualified Data.HashMap.Strict as Map
#endif
import qualified Data.Text as T
import System.Environment (getEnvironment)
import System.Exit

View File

@ -1,5 +1,5 @@
name: yesod-bin
version: 1.6.1
version: 1.6.2
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
@ -61,6 +61,7 @@ executable yesod
, warp-tls >= 3.0.1
, yaml >= 0.8 && < 0.12
, zlib >= 0.5
, aeson
ghc-options: -Wall -threaded -rtsopts
main-is: main.hs