Version bump
This commit is contained in:
parent
e50ce7ca1e
commit
56d4b8c3ee
@ -1,3 +1,7 @@
|
||||
## 1.4.9
|
||||
|
||||
* Add simple authentication helpers [#962](https://github.com/yesodweb/yesod/pull/962)
|
||||
|
||||
## 1.4.8.3
|
||||
|
||||
* Use 307 redirect for cleaning paths and non-GET requests [#951](https://github.com/yesodweb/yesod/issues/951)
|
||||
|
||||
@ -979,6 +979,8 @@ lookupHeaders key = do
|
||||
|
||||
-- | Lookup basic authentication data from __Authorization__ header of
|
||||
-- request. Returns user name and password
|
||||
--
|
||||
-- Since 1.4.9
|
||||
lookupBasicAuth :: (MonadHandler m) => m (Maybe (Text, Text))
|
||||
lookupBasicAuth = fmap (>>= getBA)
|
||||
(lookupHeader "Authorization")
|
||||
@ -989,6 +991,8 @@ lookupBasicAuth = fmap (>>= getBA)
|
||||
|
||||
-- | Lookup bearer authentication datafrom __Authorization__ header of
|
||||
-- request. Returns bearer token value
|
||||
--
|
||||
-- Since 1.4.9
|
||||
lookupBearerAuth :: (MonadHandler m) => m (Maybe Text)
|
||||
lookupBearerAuth = fmap (>>= getBR)
|
||||
(lookupHeader "Authorization")
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
name: yesod-core
|
||||
version: 1.4.8.3
|
||||
version: 1.4.9
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Michael Snoyman <michael@snoyman.com>
|
||||
@ -25,7 +25,7 @@ library
|
||||
build-depends: base >= 4.3 && < 5
|
||||
, time >= 1.1.4
|
||||
, wai >= 3.0
|
||||
, wai-extra >= 3.0
|
||||
, wai-extra >= 3.0.5
|
||||
, bytestring >= 0.9.1.4
|
||||
, text >= 0.7
|
||||
, template-haskell
|
||||
|
||||
Loading…
Reference in New Issue
Block a user