title |
---|
Releases |
- Add
renderPandocWithTransform
andrenderPandocWithTransformM
(by Norman Liu) - Make sure the initial project is writable (by Tobias Bora)
- Bump
pandoc
to 2.11.* - Bump
file-embed
upper bound to 0.0.14 - Bump
random
upper bound to 1.2
- Bump
pandoc
to 2.10.* - Bump upper bound for
template-haskell
to 2.17 - Bump
QuickCheck
upper bound to 2.15
- Miscellaneous Windows-specific fixes and CI (by Laurent P. René de Cotret)
- Bump upper bound for
cryptonite
to 0.28 - Bump upper bound for
tasty
to 1.4
- Fix compilation issue related to
MonadFail
on Windows (by Martín Emanuel) - Bump upper bound for
warp
to 3.4 - Bump upper bound for
pandoc-citeproc
to 0.18
- Fix compatibility with GHC-8.6 (by Nikolay Yakimov).
- Fix timezone parsing bug with time-1.9
- Remove constant field for homepage title in example site (by Liang-Ting Chen)
- Clean up
stack.yaml
(by Hexirp) - Use crytonite instead of cryptohash (by Hexirp)
- Expose CLI argument parser internals (by Jim McStanton)
- Support GHC-8.8. Add
MonadFail
instances and constraints (by Veronika Romashkina) - Fix file path compatibility with Windows (by Hexirp)
- Fix logging output flushing in
site server
(by robx) - Fix spacing of command line usage in
hakyll-init
(by robx) - Add titles to tag fields by default
- Add missing test files (contribution by Justin Humm)
- Improved documentation in many places (contribution by Bergi)
- Significantly improve error messages when reading and applying templates
(contribution by Bergi)
empty
andfail
forCompiler
now fail without or with a message, allowing for much better debug outputrenderFeed
,renderRssWithTemplates
andrenderAtomWithTemplates
now takeTemplate
rather thanString
arguments
- Add option to specify date in directory structure,e.g.
posts/2019/05/10/tomorrow.md
(contribution by Taeer Bar-Ya) - Bump QuickCheck to 2.13
- Bump pandoc to 2.7
- Add
srcset
to the list of URL attributes (contribution by c50a326) - Expose
getCategory
inHakyll.Web.Tags
(contribution by Ng Wei En) - Fix issue where
published
overwrites the user's context (contribution by ncaq)
- Bump pandoc to 2.6
- Bump pandoc-citeproc to 0.16
- Update dependencies (contribution by Hexirp):
- Bump containers to 0.6
- Bump yaml to 0.11
- Bump pandoc to 2.5
- Bump pandoc-citeproc to 0.15
- Bump tasty to 1.2
- Correct assertion in unixFilterError test (contribution by Jim McStanton)
- Add renderRssWithTemplates, renderAtomWithTemplates (contribution by Abhinav Sarkar)
- Speed up hashing in cache (contribution by 0xd34df00d)
- Update type of fromFilePath to use FilePath instead of String (contribution by Jim McStanton)
- Drop extension when parsing dates in filepaths (contribution by Gabriel Aumala)
- Bump yaml to 0.10
- Bump file-embed to 0.0.11
- Bump QuickCheck to 2.12
- Use makeRelativeToProject with embedFile for stack ghci (contribution by Michael Sloan)
- Bump tasty to 1.1
- Bump fsnotify to 0.3
- Bump pandoc to 2.2
- Fix path resolution in Pandoc.Biblio (contribution by knih)
- Fix hakyll-init on older GHC versions
- Make the Pandoc dependency optional
- Bump resourcet to 1.2 in test section
- Add Semigroup instances for existing Monoids (contribution by Christian Barcenas)
- Fix issue with CPP and comment containing
/*
- Add
withTagList
(contribution by Oleg Grenrus) - Improve CSS compression (contribution by Bergi)
- Bump pandoc-citeproc to 0.14
- Bump resourcet to 1.2
- Bump time to 1.9
- Bump http-types to 0.12
- Bump http-conduit to 2.3
- Bump tasty-quickcheck to 0.10
- Bump binary to 0.9
- Bump pandoc to 2.1
- Bump pandoc-citeproc to 0.13
- Bump http-types to 0.11
- Bump QuickCheck to 2.11
- Bump tasty to 1.0
- Bump tasty-hunit to 0.10
- Remove system-filepath dependency
- Embed feed templates rather than using data-files (contribution by Roman Kuznetsov)
- Fix pthread link error on GHC-8.2.2 (contribution by Shinya Yamaguchi)
- Extend capture with Regex handling (contribution by frederik-h)
- Bump Pandoc to 2.0 (contribution by Vaibhav Sagar)
- Fix compression of calc() in CSS (contribution by Krzysztof Jurewicz)
- Make unixFilter output stderr when failing (contribution by Nick Boultbee)
- Export Check type from
Hakyll.Commands
(contribution by Futtetennista) - Add overwritten files check to
hakyll-init
(contribution by Ilya Murzinov) - Expose & document
hakyllWithExitCodeAndArgs
,Options
, andCommand
(contribution by Michael Walker) - Add check for non-overlapping redirects (contribution by gwern)
- Fix early exit when calling check as a library
- Bump pandoc-citeproc to 0.10.5
- Bump optparse-applicative to 0.14
- Bump QuickCheck to 2.10
- Bump tasty-quickcheck to 0.9
- Restructure .cabal to avoid redundant compilation (contribution by Christopher League)
- Fix compilation trouble with
Options.Applicative
- Some small CSS compression improvements (contribution by Nicole Rauch)
- Tighten dependency on
pandoc-citeproc
(contribution by Mikhail Glushenkov) - Enable using a custom parser for command line arguments (contribution by Alberto)
- Update examples to semantic HTML (contribution by Elie Génard)
- Better error for
cached
on non-existing file - Provide an
$allPages$
key when doing pagination - Preserve file metadata in
copyFileCompiler
(contribution by frederik-h)
- Bump blaze-html dependency to 0.9
- Bump blaze-markup dependency to 0.8
- Bump process dependency to 1.5
- Fix compilation issue with
Hakyll.Check
ifcheckExternal
is disabled (Fix by Magnus Therning)
- Make
./site check
concurrent - Bump directory dependency to 1.3
- Bump time dependency to 1.7
- Bump vector dependency to 0.12
- Add a
Hakyll.Web.Redirect
module (contribution by gwern) - Expose
Hakyll.Commands
- Fix the exit code behaviour of
./site check
- Fix integer fields in YAML metadata (Fix by Nikolaos S. Papaspyrou)
- Bump pandoc dependency to 1.19
- Allow optparse-applicative 0.13, QuickCheck 2.9, and pandoc 1.18 (contributions by Chris Wong and Felix Yan)
- Fix extra test files for packaging source files (contribution by Julien Langlois)
This release switches over some dependencies to alternatives, in order to clean up some stuff and build on a wider variety of setups (stack/cabal).
- Move from
test-framework
totasty
- Fix feed generator when item contains CDATA (contribution by Yann Esposito)
- Fix CompressCSS to not modify string constants (contribution by Nicole Rauch)
- Fix YAML dependency issue (contribution by Jens Peterson)
- Move from
cmdargs
tooptparse-applicative
(contribution by sk3r) - Allow for trimming whitespace in templates (contribution by Sam Davis)
- Improve error messages for template parsing (contribution by Lorenzo Tabacchini)
- Improvements to the installation instructions (contribution by Thomas Koch)
- Move from
snap
towarp
for preview server (contribution by Arguggi) - Fix error in CompressCSS (contribution by Luca Molteni)
- Move example from XHTML to HTML5 (contribution by Peter Doherty)
- Make errors in check less verbose (contribution by Jan Tojnar)
- Work on building with GHC 8.0.1 (contribution by Rohan Jain)
This release is compatible with GHC 8.0.1, although previewServer
might not
work yet on some setups.
- Allow data-default 0.7, pandoc-citeproc 0.10, and tagsoup 0.14 (contributions by Paul van der Walt and Felix Yan)
- Allow binary 0.8, process 1.4, time 1.6 (contribution by Sergei Trofimovich)
- Fix issue with
.metadata
file reading
- Bump scientific dependency to 0.3.4
- Fix another compilation issue wrt. orphan
Show
instance from regex-tdfa (contribution by Sergei Trofimovich)
- Fix compilation issue wrt. orphan
Show
instance from regex-tdfa
- Fix compilation on windows
- Fix issue with test suite
- Support full YAML in page metadata
- Bump data-default dependency to 0.6
- Add snippet field for literal includes in templates (contribution by Nicolas Mattia)
- Bump pandoc dependency to 1.17 (contribution by Felix Yan)
- Fix
unixFilter
documentation (contribution by Richard Cook) - Bump example posts (contribution by Andrew Barchuk)
- Add a template compiler that only uses the template body (contribution by Bergi)
- Bump pandoc and pandoc-citeproc dependencies to 1.16 and 0.9 respectively
- Expose templating engine
- Fix bug in feed context precedence (contribution by Yuriy Syrovetskiy)
- Bump http-types dependency to 0.9
- Expose
getItemModificationTime
- Bump pandoc-citeproc dependency to 0.8
- Bump HUnit dependency to 1.3
- Add
poster
as an URL attribute (contribution by vtduncan) - Prevent
hakyll-init
from generating directories with leading hyphen (contribution by Javran Cheng)
- Fix time dependency in tests
- Relax time dependency
- Bump fsnotify dependency to 0.2
- Improve documentation of
getResourceXXX
functions (contribution by Matthias C. M. Troffaes) - Allow for empty templates
- Bump pandoc dependency to 1.15
- Drop old-time, old-locale, time-locale-compat dependencies
- Add convenicence
pandocBiblioCompiler
(contribution by Matthias C. M. Troffaes) - Add support for mediawiki (contribution by Chen Lei)
- Bump pandoc to 1.14. This will break a lot of sites: since the pandoc parser
might now return an error message, it is ran inside the
Compiler
monad where we can nicely handle the error.
- Let caller decide exit (fix by Erik Dominikus)
- Bump pandoc-citeproc dependency
- Fix test suite dependencies
- Fix building on GHC 7.10 (fix by Charles Strahan)
- Add support for a custom teaser separator (contribution by Tom Sydney Kerckhove)
- Let Pandoc handle DocBook files (contribution by Joshua SImmons)
- Bump dependencies
- Bump dependencies
- Fix bug where hakyll-init would create a file called
name.cabal.cabal
(fix by Hans-Peter Deifel)
- Fix compilation error when preview server is disabled (fix by Magnus Therning)
- Add author name by default to RSS feeds (contribution by Calen Pennington)
- Bump dependencies
- Fix garbled "Listening on 0.0.0.0:8000" message
- Add
boolField
(contribution by Ferenc Wágner)
- Fix another dependency handling bug when using snapshots
- Add
matchMetadata
for examining metadata when defining rules
- Fix dependency handling bug
- Loosen
binary
dependency - Make dependency handling more granular so you can depend on specific snapshots of an item
- Bump
fsnotify
andpandoc-citeproc
dependencies - Rewrite polling code a bit
- Added
listFieldWith
function - Improved
rulesExtraDependencies
behaviour - Changed function syntax in templates from
$foo arg1 arg2$
to$foo("arg1", "arg2")$
- Support parsing date from directory names in addition to file names
- Fix Binary instances for
pandoc
andpandoc-citeproc
- Fix
network-uri
dependency issue
- Fix issue with HTML entities when running
withUrls
anddemoteHeaders
. - Generate a cabal file for the initialised site.
- Add pagination support.
- Bump Pandoc to 1.12.4 to include the org-mode reader.
- Fix rebuilding everything issue with latest directory (contribution by Jorge Israel Peña)
- Fix issue with
toSiteRoot
(contribution by Izzy Cecil) - Fix issue with tag dependencies, slightly improve caching
- Fix issue with syntax highlighting and line numbers (contribution by Adelbert Chang)
- Improve documentation for
Context
(contribution by Daniil Frumin) - Added
IsString
instance forTemplate
- Added the
pandocCompilerWithTransformM
function (contribution by Daniil Frumin) - Make
./site check
return the right exit code (contribution by Andres Loeh) - Use OS threads to make
./site watch
work nicely on Windows (contribution by Simonas Kazlauskas) - Make the
unixFilter
function work better on windows by callingshell
(contribution by Collin J. Doering) - Add a command-line flag to bind on a user-specified host (contribution by chrisdotcode)
- Fix issue when using
metadataRoute
after other custom routes
- Fix issue where Hakyll would not detect a change if a
.metadata
file was deleted
- Use Pandoc 1.12 highlighting by default
-
Update to work with Pandoc 1.12. This changes the type of
readPandocBibilio
: theCSL
argument is no longer optional (contribution by Jorge Israel Peña) -
Fix incorrect output of
toSiteRoot
on windows (contribution by Saeid Al-Wazzan) -
Add a preview port option to
Configuration
(contribution by Jorge Israel Peña) -
Add
watch
command that polls for changes but does not necessarily launch a server (contribution by Eric Stolten) -
Generalise type of
metadataField
-
Fix issue where metadata was not correctly loaded when using versions
- Re-add the
functionField
function
-
Re-add the
mapContext
function -
Unescape internal URLs when using
./site check
(contribution by Marc-Antoine Perennou)
-
Make teasers undefined if no
<!--more-->
comment is found -
Sanitize tag URLs (contribution by Simonas Kazlauskas)
-
Add conditionals, partials and for loops to the template system (includes a contribution by Ivan N. Veselov)
-
Improvements to the preview functionality on windows (contribution by Jorge Israel Peña)
-
Add pagination support (contribution by Anton Dubovik)
-
Slight speedup for the Hakyll cache (contribution by justnoxx)
-
Add teaser functionality (contribution by Ivan N. Veselov)
-
Make
./site check
work with scheme-relative URLs (contribution by Simonas Kazlauskas) -
The
./site deploy
command can now be customized with Haskell code (contribution by Samuel Tardieu) -
Use
hsnotify
for proper polling instead of sleep loop on all platforms (contribution by Simonas Kazlauskas) -
More useful debug info available
- Fix issue with
Alternative
instance ofCompiler
March 9, 2013
- Make
http-conduit
dependency optional by adding acheckExternal
cabal flag
March 7, 2013
- Fix issue where
copyFileCompiler
ignoredproviderDirectory
March 7, 2013
-
Read second extension for
.lhs
, e.g..md.lhs
or.tex.lhs
(contribution by Alexander Vershilov) -
Speedup initialization by using modification times instead of hashing files
-
Speedup initialization with a rewritten resource provider
-
Fix
./site check
not working with sites that require a user agent (e.g. http://www.wikipedia.org/) -
Change
chronological
andrecentFirst
to actually look at the dates of items. This changes their types from:chronological, recentFirst :: [Item a] -> [Item a]
to:
chronological, recentFirst :: MonadMetadata m => [Item a] -> m [Item a]
(contribution by Simonas Kazlauskas)
-
Add
metadataRoute
, so it is now possible to use metadata when determining routes -
Improve metadata parser for multiline metadata fields (contribution by Peter Jones)
-
Add the
getMetadataField
utility
January 26, 2013
- Export the flexible
renderTags
function
January 26, 2013
- Export the constructor of the
Tags
datatype
January 20, 2013
- Fix an issue where a dependency cycle would lead to infinite recursion/stack overflow
January 20, 2013
- Fix an issue regarding
relativizeUrls
expanding<meta />
to<meta></meta>
January 20, 2013
Update to use Pandoc 1.10, this requires changes to your site.hs
if you're
using custom Pandoc options or the Hakyll.Web.Pandoc.Biblio
module.
-
defaultHakyllParserState
renamed todefaultHakyllReaderOptions
-
The type of
readPandocBiblio
changed
Because of the many changes, this release is no longer compatible with Pandoc 1.9.
January 16, 2013
The Initial release of Hakyll 4, see this blogpost and the migration guide for an overview of changes.