biscuit-servant 0.3.0.1 → 0.4.0.0
raw patch · 3 files changed
+7/−3 lines, 3 filesdep ~biscuit-haskellPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: biscuit-haskell
API changes (from Hackage documentation)
- Auth.Biscuit.Servant: BiscuitConfig :: ParserConfig Handler -> (Request -> Either e ByteString) -> (forall a. e -> Handler a) -> (forall a. ParseError -> Handler a) -> BiscuitConfig e
+ Auth.Biscuit.Servant: BiscuitConfig :: ParserConfig Handler -> (Request -> Either e ByteString) -> (forall a. () => e -> Handler a) -> (forall a. () => ParseError -> Handler a) -> BiscuitConfig e
- Auth.Biscuit.Servant: WithAuthorizer :: ReaderT t m a -> m Authorizer -> WithAuthorizer' (t :: Type) (m :: Type -> Type) (a :: Type)
+ Auth.Biscuit.Servant: WithAuthorizer :: ReaderT t m a -> m Authorizer -> WithAuthorizer' t (m :: Type -> Type) a
- Auth.Biscuit.Servant: [authorizer_] :: WithAuthorizer' (t :: Type) (m :: Type -> Type) (a :: Type) -> m Authorizer
+ Auth.Biscuit.Servant: [authorizer_] :: WithAuthorizer' t (m :: Type -> Type) a -> m Authorizer
- Auth.Biscuit.Servant: [handler_] :: WithAuthorizer' (t :: Type) (m :: Type -> Type) (a :: Type) -> ReaderT t m a
+ Auth.Biscuit.Servant: [handler_] :: WithAuthorizer' t (m :: Type -> Type) a -> ReaderT t m a
- Auth.Biscuit.Servant: [onExtractionError] :: BiscuitConfig e -> forall a. e -> Handler a
+ Auth.Biscuit.Servant: [onExtractionError] :: BiscuitConfig e -> forall a. () => e -> Handler a
- Auth.Biscuit.Servant: [onParseError] :: BiscuitConfig e -> forall a. ParseError -> Handler a
+ Auth.Biscuit.Servant: [onParseError] :: BiscuitConfig e -> forall a. () => ParseError -> Handler a
- Auth.Biscuit.Servant: checkBiscuitMWith :: (MonadIO m, MonadError ServerError m) => (forall b. ExecutionError -> m b) -> Biscuit OpenOrSealed Verified -> m Authorizer -> ReaderT (AuthorizedBiscuit OpenOrSealed) m a -> m a
+ Auth.Biscuit.Servant: checkBiscuitMWith :: (MonadIO m, MonadError ServerError m) => (forall b. () => ExecutionError -> m b) -> Biscuit OpenOrSealed Verified -> m Authorizer -> ReaderT (AuthorizedBiscuit OpenOrSealed) m a -> m a
- Auth.Biscuit.Servant: checkBiscuitWith :: (MonadIO m, MonadError ServerError m) => (forall b. ExecutionError -> m b) -> Biscuit OpenOrSealed Verified -> Authorizer -> ReaderT (AuthorizedBiscuit OpenOrSealed) m a -> m a
+ Auth.Biscuit.Servant: checkBiscuitWith :: (MonadIO m, MonadError ServerError m) => (forall b. () => ExecutionError -> m b) -> Biscuit OpenOrSealed Verified -> Authorizer -> ReaderT (AuthorizedBiscuit OpenOrSealed) m a -> m a
- Auth.Biscuit.Servant: data WithAuthorizer' (t :: Type) (m :: Type -> Type) (a :: Type)
+ Auth.Biscuit.Servant: data WithAuthorizer' t (m :: Type -> Type) a
- Auth.Biscuit.Servant: handleBiscuitWith :: (MonadIO m, MonadError ServerError m) => (forall b. ExecutionError -> m b) -> Biscuit OpenOrSealed Verified -> WithAuthorizer m a -> m a
+ Auth.Biscuit.Servant: handleBiscuitWith :: (MonadIO m, MonadError ServerError m) => (forall b. () => ExecutionError -> m b) -> Biscuit OpenOrSealed Verified -> WithAuthorizer m a -> m a
- Auth.Biscuit.Servant: noAuthorizer :: Applicative m => ReaderT t m a -> WithAuthorizer' t m a
+ Auth.Biscuit.Servant: noAuthorizer :: forall (m :: Type -> Type) t a. Applicative m => ReaderT t m a -> WithAuthorizer' t m a
- Auth.Biscuit.Servant: type WithAuthorizer = WithAuthorizer' (AuthorizedBiscuit OpenOrSealed)
+ Auth.Biscuit.Servant: type WithAuthorizer = WithAuthorizer' AuthorizedBiscuit OpenOrSealed
- Auth.Biscuit.Servant: withAuthorizer :: Applicative m => Authorizer -> ReaderT t m a -> WithAuthorizer' t m a
+ Auth.Biscuit.Servant: withAuthorizer :: forall (m :: Type -> Type) t a. Applicative m => Authorizer -> ReaderT t m a -> WithAuthorizer' t m a
- Auth.Biscuit.Servant: withFallbackAuthorizer :: Functor m => Authorizer -> WithAuthorizer' t m a -> WithAuthorizer' t m a
+ Auth.Biscuit.Servant: withFallbackAuthorizer :: forall (m :: Type -> Type) t a. Functor m => Authorizer -> WithAuthorizer' t m a -> WithAuthorizer' t m a
- Auth.Biscuit.Servant: withPriorityAuthorizer :: Functor m => Authorizer -> WithAuthorizer' t m a -> WithAuthorizer' t m a
+ Auth.Biscuit.Servant: withPriorityAuthorizer :: forall (m :: Type -> Type) t a. Functor m => Authorizer -> WithAuthorizer' t m a -> WithAuthorizer' t m a
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- biscuit-servant.cabal +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for biscuit-servant +## 0.4.0.0++- use biscuit-haskell 0.4.0.0+ ## 0.3.0.1 - use biscuit-haskell 0.3.0.1
README.md view
@@ -1,4 +1,4 @@-<img src="https://raw.githubusercontent.com/biscuit-auth/biscuit-haskell/main/assets/biscuit-logo.png" align=right>+<img src="https://raw.githubusercontent.com/biscuit-auth/biscuit-haskell/main/assets/logo-black-white-bg.png" align=right> # biscuit-servant 🤖 [![Hackage][hackage]][hackage-url]
biscuit-servant.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0 name: biscuit-servant-version: 0.3.0.1+version: 0.4.0.0 category: Security synopsis: Servant support for the Biscuit security token description: Please see the README on GitHub at <https://github.com/biscuit-auth/biscuit-haskell#readme>@@ -34,7 +34,7 @@ ghc-options: -Wall build-depends: base >= 4.7 && <5,- biscuit-haskell >= 0.3 && < 0.4,+ biscuit-haskell >= 0.4 && < 0.5, bytestring >= 0.10 && <0.12, mtl >= 2.2 && < 2.4, text >= 1.2 && <3,