mirror of
https://github.com/srid/rib.git
synced 2024-11-30 03:45:00 +03:00
0f9593e7fb
* Add fsatrace to nix * Use cacheActionWith to prevent rebuilds * Log whenever a HTML file is written * Change the type signature of `SourceReader` accordingly
1.8 KiB
1.8 KiB
Change Log for rib
0.6.0.0 - UNRELEASED
- Significant API simplication: no more type class!
- Allows user to specify their own markup parser as a Haskell function
- Dropped namings "Document" and "Markup" in favour of "Source"
- API: Expose
ribInputDir
andribOutputDir
for use in custom Shake actions - Fix #63: create intermediate directories when generating post HTML
- Advance nixpkgs; require Shake >=0.18.4
- Fix unnecessary rebuild of all files when only one file changed
- Use caching (via Shake's
cacheActionWith
), to avoid writing HTML to disk until it has changed.
- Use caching (via Shake's
0.5.0.0
This release comes with a major API refactor. Key changes:
- Added MMark support, as an alternative to Pandoc
- Allows using arbitrary records to load metadata
- This replaces the previous complex metadata API
- Added
Document
type that uses the custom metadata record - Add top-level
Rib
import namespace for ease of use - Remove the following:
- JSON cache
Rib.Simple
- Support for Table of Contents via MMark
Other changes:
- Use type-safe path types using the path library.
- Fix #40: Gracefully handle rendering/ parsing errors, without dying.
- Misc error reporting improvements
0.4.1.0
Rib.Pandoc
:- Export
render'
andrenderInlines'
(the non-Lucid versions) - Re-export
Text.Pandoc.Readers
so the library user does not have to directly depend onpandoc
only to render its documents.
- Export
Rib.App
: Therun
funtion now takes two more arguments, specifying the input and output directory, which are no longer hardcoded.Rib.Simple
: add LaTeX to default list of readersRib.Server
: Remove ".html" detection magic from URLs
0.3.0.0
- Rename
Rib.App.Watch
toRib.App.WatchAndGenerate
0.2.0.0
- Initial release.