1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-11-18 00:13:55 +01:00
crowbook/ChangeLog.md

110 lines
4.4 KiB
Markdown
Raw Normal View History

2016-02-20 17:24:07 +01:00
ChangeLog
=========
2016-03-01 21:51:14 +01:00
0.4.0 (2016-03-01)
2016-02-29 00:47:05 +01:00
------------------
2016-03-01 21:41:23 +01:00
* Crowbook now internally uses a true YAML parser, `yaml_rust`, for its
options. Since the "old" Crowbooks's config format was similar, but
had some subtle differences, this is somewhat of a breaking change:
2016-03-01 18:08:06 +01:00
* strings should now be escaped with "" in some cases (e.g. if it
contains special characters). On the other hand, it *allows* to
2016-03-01 21:41:23 +01:00
optionally escape a string with these quotes, which wasn't
2016-03-01 18:08:06 +01:00
possible until then and might be useful in some cases.
* multiline strings now follow the YAML format, instead of the
previous "YAML-ish" format. This can impact the way newlines are
added at the end of a multiline string. See
e.g. [this link](http://stackoverflow.com/questions/3790454/in-yaml-how-do-i-break-a-string-over-multiple-lines)
for the various ways to include mulitiline strings in Yaml.
* Crowbook now parses YAML blocks (delimited by two lines with "---")
in Markdown files, ignoring keys that it doesn't recognize. This
allows crowbook to be compatible(-ish) with Markdown that contains
YAML blocks for Jekyll or Pandoc.
* New option `--single` allows to give Crowbook a single Markdown file
(which can contain options within an inline YAML block) instead of a
book configuration file. This is useful for e.g. short stories.
2016-02-29 00:47:05 +01:00
* Enhanced the way debugging/warning/info messages are handled and
displayed:
* Added a `--debug` option to the binary.
* Internal: added a `Logger` struct.
* Different levels of information (debug/warning/info/error) get
different colours.
2016-02-29 01:41:56 +01:00
* Bugfixes:
* Crowbook no longer crashes when called with the `--to` argument
2016-02-29 14:12:47 +01:00
if it can't create a file.
2016-02-29 00:47:05 +01:00
0.3.0 (2016-02-27)
------------------
2016-02-26 23:37:40 +01:00
* Crowbook now tries to convert local links. That is, if you link to a
2016-02-29 00:47:05 +01:00
Markdown file that is used in the book.
2016-02-27 00:07:22 +01:00
(e.g. [README.md](README.md)), it *should* link to an appropriate
2016-02-27 04:50:04 +01:00
inner reference inside the book.
* Latex renderer now supports (local) images.
* Epub renderer now embed (local) images in the EPUB file.
* Some changes to the HTML/Epub stylesheets.
2016-02-26 02:08:59 +01:00
* Internal (or usage as a library):
2016-02-26 17:46:57 +01:00
* Crowbook no longer changes current directory, which worked in
the binary but could cause problem if library was used in
multithreaded environment (e.g. in `cargo test`).
* More modules and methods are now private.
2016-02-26 00:51:35 +01:00
* Improved documentation.
* Added more unit tests.
2016-02-26 23:37:40 +01:00
* Bugfixes:
* Epub renderer now correctly renders unnumbered chapter without a
number in its toc.ncx file
2016-02-25 22:15:06 +01:00
0.2.2 (2016-02-25)
------------------
* Bugfixes:
* French cleaner now correctly replaces space after — (in
e.g. dialogs) with "em space".
2016-02-25 20:13:12 +01:00
0.2.1 (2016-02-25)
------------------
* Bugfixes:
* HTML/Epub rendering no longer incorrectly increment chapter
count for unnumbered chapters.
2016-02-25 19:58:19 +01:00
* Latex: makes what is possible to avoid orverflowing the page.
2016-02-25 19:26:29 +01:00
* Minor changes:
* Latex: improvement of the default way URLs are displayed.
2016-02-25 19:26:29 +01:00
2016-02-25 16:37:23 +01:00
0.2.0 (2016-02-25)
2016-02-22 18:54:49 +01:00
------------------
2016-02-25 16:02:08 +01:00
* Command line arguments:
2016-02-25 16:06:12 +01:00
* New argument `--print-template` now allows to print a built-in
template to stdout.
2016-02-25 16:02:08 +01:00
* New argument `--list-options` prints out all valid
options in a config file (or in `set`), their type and default
value.
* New argument `--set` allows to define or override whatever
option set in a book configuration.
* `--create` can now be used without specifying a `BOOK`, printing
its result on `stdout`.
* Configuration file:
* Added support for multiline strings in `.book` files, with
either '|' (preserving line returns) or '>' (transforming line
returns in spaces)
* New option `display_toc` allows to display the table of contents
(whose name, at least for HTML, is specified by `toc_name`) in
HTML and PDF documents.
* Option `numbering` now takes an int instead of a boolean,
allowing to specify the maximum level to number (e.g. `1`:
chapters only, `2`: chapters and sectino, ..., `6`: everything).
* Rendering:
* Added support for numbering all headers, not just level-1 (e.g.,
having a subsection numbered `2.3.1`).
* Tables and Footnotes are now implemented for HTML/Epub and LaTeX
2016-02-25 16:37:23 +01:00
output.
* Internal:
* Refactored `Book` to use an HashMap of `BookOption`s instead of
having like 42 fields.
2016-02-25 16:02:08 +01:00
2016-02-22 18:54:49 +01:00
2016-02-21 21:25:01 +01:00
0.1.0 (2016-02-21)
2016-02-20 17:24:07 +01:00
------------------
* initial release