From 14d07286432ac57712888b044868369e62c531ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Delafargue?= Date: Sat, 11 May 2024 15:59:07 +0200 Subject: [PATCH 1/3] v0.3.0.1 --- biscuit-servant/ChangeLog.md | 6 ++++++ biscuit-servant/biscuit-servant.cabal | 4 ++-- biscuit/ChangeLog.md | 7 +++++++ biscuit/biscuit-haskell.cabal | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/biscuit-servant/ChangeLog.md b/biscuit-servant/ChangeLog.md index 6c278fb..49bec8a 100644 --- a/biscuit-servant/ChangeLog.md +++ b/biscuit-servant/ChangeLog.md @@ -1,5 +1,11 @@ # Changelog for biscuit-servant +## 0.3.0.1 + +- use biscuit-haskell 0.3.0.1 +- GHC 9.6 and 9.8 support +- Generalize type for `withPriorityAuthorizer` + ## 0.3.0.0 - use biscuit-haskell 0.3.0.0 diff --git a/biscuit-servant/biscuit-servant.cabal b/biscuit-servant/biscuit-servant.cabal index c540257..f5ee011 100644 --- a/biscuit-servant/biscuit-servant.cabal +++ b/biscuit-servant/biscuit-servant.cabal @@ -1,7 +1,7 @@ cabal-version: 2.0 name: biscuit-servant -version: 0.3.0.0 +version: 0.3.0.1 category: Security synopsis: Servant support for the Biscuit security token description: Please see the README on GitHub at @@ -13,7 +13,7 @@ copyright: 2021 Clément Delafargue license: BSD3 license-file: LICENSE build-type: Simple -tested-with: GHC ==8.10.7 || == 9.0.2 || ==9.2.4 +tested-with: GHC ==9.0.2 || ==9.2.4 || ==9.6.5 || ==9.8.2 extra-source-files: README.md ChangeLog.md diff --git a/biscuit/ChangeLog.md b/biscuit/ChangeLog.md index 0107bde..01c8b43 100644 --- a/biscuit/ChangeLog.md +++ b/biscuit/ChangeLog.md @@ -1,5 +1,12 @@ # Changelog for biscuit-haskell +## 0.3.0.1 + +- GHC 9.6 and 9.8 support +- Support for `!=` +- Fixed-sized arithmetic and overflow detection +- Allow parsing chained method calls + ## 0.3.0.0 - GHC 9.2 support diff --git a/biscuit/biscuit-haskell.cabal b/biscuit/biscuit-haskell.cabal index 7d775d6..907fd6b 100644 --- a/biscuit/biscuit-haskell.cabal +++ b/biscuit/biscuit-haskell.cabal @@ -1,7 +1,7 @@ cabal-version: 2.0 name: biscuit-haskell -version: 0.3.0.0 +version: 0.3.0.1 category: Security synopsis: Library support for the Biscuit security token description: Please see the README on GitHub at From 49e795111ab5c87356eb65fe1f46564fc0f29e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Delafargue?= Date: Sat, 11 May 2024 16:27:14 +0200 Subject: [PATCH 2/3] Fix CI badges --- README.md | 4 ++-- biscuit/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 45763a4..c91c3d4 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ You will find below the main lib and its companions: The core library supports [`v3` and `v4` biscuits][spec] (both open and sealed). -[CI-badge]: https://img.shields.io/github/actions/workflow/status/Divarvel/biscuit-haskell/github-actions.yml?style=flat-square&branch=main -[CI-url]: https://github.com/Divarvel/biscuit-haskell/actions +[CI-badge]: https://img.shields.io/github/actions/workflow/status/biscuit-auth/biscuit-haskell/github-actions.yml?style=flat-square&branch=main +[CI-url]: https://github.com/biscuit-auth/biscuit-haskell/actions [Hackage]: https://img.shields.io/hackage/v/biscuit-haskell?color=purple&style=flat-square [hackage-url]: https://hackage.haskell.org/package/biscuit-haskell [gcouprie]: https://github.com/geal diff --git a/biscuit/README.md b/biscuit/README.md index c510c7b..f11a002 100644 --- a/biscuit/README.md +++ b/biscuit/README.md @@ -96,8 +96,8 @@ creation = do pure $ serializeB64 newBiscuit ``` -[CI-badge]: https://img.shields.io/github/workflow/status/Divarvel/biscuit-haskell/CI?style=flat-square -[CI-url]: https://github.com/Divarvel/biscuit-haskell/actions +[CI-badge]: https://img.shields.io/github/actions/workflow/status/biscuit-auth/biscuit-haskell/github-actions.yml?style=flat-square&branch=main +[CI-url]: https://github.com/biscuit-auth/biscuit-haskell/actions [Hackage]: https://img.shields.io/hackage/v/biscuit-haskell?color=purple&style=flat-square [hackage-url]: https://hackage.haskell.org/package/biscuit-haskell [gcouprie]: https://github.com/geal From 7d78918f5b3cb7039371ed5b527a1243c0aac4b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Delafargue?= Date: Sat, 11 May 2024 16:27:27 +0200 Subject: [PATCH 3/3] nix: default to GHC 9.4 in nix-shell --- shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index eccbf67..96195c5 100644 --- a/shell.nix +++ b/shell.nix @@ -2,7 +2,7 @@ mkShell { buildInputs = [ - haskell.compiler.ghc924 + haskell.compiler.ghc94 haskell-language-server pkg-config libsodium