From f714861772ce07df0b796d9f243b940078a6e93a Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Wed, 26 Apr 2023 21:51:54 +0300 Subject: [PATCH 1/2] Bump version to 4.16.0.0 --- CHANGELOG.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++----- hakyll.cabal | 2 +- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f092514..858d96b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,58 @@ title: Releases # Releases -## Hakyll 4.15.?.? (unreleased) - -- Added support for pandoc 3 (#965). Note that the behavior of Hakyll's - `readPandocBiblios` and `readPandocBiblio` is different whether pandoc - 2 or 3 is installed. +## Hakyll 4.16.0.0 (2023-04-26) + +- Bump `base` *lower* bound to 4.12 (GHC >= 8.6). Hakyll already failed to build + on earlier versions due to the template-haskell requirement, and nobody + complained about that, so I assume nobody cares if the support is properly + dropped (contribution by Alexander Batischev) +- Export `Hakyll.Tags.simpleRenderLink` (contribution by Alexander Batischev) +- Add `Hakyll.Web.Pandoc.Biblio.pandocBibliosCompiler` to load multiple bib + files by glob (contribution by Liang-Ting Chen) +- Fix "Store.set: resource busy" error (contribution by Jasper Van der Jeugt) +- Teach `Hakyll.Web.Template.Context.getItemUTC` about another date format, + "%d.%m.%Y" (contribution by dukzcry) +- Add `Hakyll.Web.Html.withTagListM`, a monadic version of `withTagList` + (contribution by 0xd34df00d) +- Fix all the warnings and enable `-Werror` in CI (contribution by Alexander + Batischev) +- Miscellaneous updates and fixes to the docs (contributions by Tony Zorman, + Alexander Batischev, malteneuss, Agustín Mista, Martin Bukatovič, Muhammad + Aviv Burhanudin, Jacek Galowicz, Daniel Mlot, Yoo Chung, Robert Pearce) +- Export `Hakyll.defaultCommands`, i.e. Hakyll's set of commands (`build`, + `check`, `clean` etc.) (contribution by Alexander Batischev) +- Add a `Hakyll.Core.Configuration.Configuration.previewSettings` field which + lets the user override the settings used by the preview server (contribution + by Christopher League and Brian McKenna) +- Make email address in RSS/Atom feeds optional (just set it to an empty string) + (contribution by Robert) +- `Hakyll.Web.Meta.TwitterCard`: use `name` instead of `property` for better + spec compliance (contribution by ncaq) +- Add a `Hakyll.Core.Configuration.Configuration.checkHtmlFile` predicate which + dictates what files will get link-checked by the `check` command. Default + predicate accepts files with .html and .xhtml extensions (contribution by + Yoo Chung, with earlier contribution from Michael Orlitzky) +- Add support for GHC 9.2 (contribution by Laurent P. René de Cotret) +- Bump `optparse-applicative` upper bound to allow 0.17 (contribution by + Alexander Batischev) +- Bump `pandoc` upper bound to allow 2.19 (contribution by Alexander Batischev) +- Allow `text` 2.0 (contribution by Alexander Batischev) +- Bump `vector` upper bound to allow 0.13 (contribution by Alexander Batischev) +- Allow `aeson` 2.1 (contribution by Alexander Batischev) +- Bump `fsnotify` upper bound to allow 0.4 (contribution by Alexander Batischev) +- Bump `resourcet` upper bound to allow 1.3 (contribution by Alexander + Batischev) +- Bump `template-haskell` upper bound to 2.20 (GHC 9.4.3) (contribution by + Alexander Batischev) +- Allow `pandoc` 3.0. Note that the behavior of Hakyll's `readPandocBiblios` and + `readPandocBiblio` is different whether pandoc 2 or 3 is installed + (contribution by Laurent P. René de Cotret) +- Bump `mtl` upper bound to allow 2.3 (contribution by Alexander Batischev) +- Bump `pandoc` upper bound to allow 3.1 (contribution by Laurent P. René de + Cotret) +- Bump `template-haskell` upper bound to 2.21 and `time` to 1.12 (GHC 9.6.1) + (contribution by Laurent P. René de Cotret) ## Hakyll 4.15.1.1 (2022-01-20) diff --git a/hakyll.cabal b/hakyll.cabal index 94003f71..e4925555 100644 --- a/hakyll.cabal +++ b/hakyll.cabal @@ -1,5 +1,5 @@ Name: hakyll -Version: 4.15.1.1 +Version: 4.16.0.0 Synopsis: A static website compiler library Description: From a6312a670ff728eacdb007022b20b1aa270f4624 Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Thu, 27 Apr 2023 22:22:54 +0300 Subject: [PATCH 2/2] Disable GHC < 8.10 on Windows because easy-file FTB with those --- .github/workflows/main.yml | 6 ++++++ CHANGELOG.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bc5d8444..c6fa8f98 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,12 @@ jobs: # fails to build: "can't load framework: Cocoa (not found)" - os: macOS-12 ghc: "8.8.4" + # fails to build easy-file on which we depend: https://github.com/jaspervdj/hakyll/issues/988 + - os: windows-2022 + ghc: "8.6.5" + # fails to build easy-file on which we depend: https://github.com/jaspervdj/hakyll/issues/988 + - os: windows-2022 + ghc: "8.8.4" # fails to link: https://github.com/jaspervdj/hakyll/issues/986 - os: windows-2022 ghc: "9.6.1" diff --git a/CHANGELOG.md b/CHANGELOG.md index 858d96b1..c9afd016 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ title: Releases # Releases -## Hakyll 4.16.0.0 (2023-04-26) +## Hakyll 4.16.0.0 (2023-04-27) - Bump `base` *lower* bound to 4.12 (GHC >= 8.6). Hakyll already failed to build on earlier versions due to the template-haskell requirement, and nobody