Skip to content

Releases: hauke96/wiki2book

v0.6.1

13 Mar 13:16
ad11706

Choose a tag to compare

Bug fixes

  • Fix crash when parsing HTML tags of different capitalization #97

v0.6.0

06 Feb 10:52
338077b

Choose a tag to compare

Breaking changes

These are changes where you'll probably need to edit your configs.

  • All ...prefixe config entries have been renamed to ...prefixes (with an s in the end). This was a spelling mistake that has been fixed.

Major changes

  • Two new output types stats-json and stats-txt generate statistics about the project, article or file. They must be used with the internal output driver. #95

Bug fixes

  • Remove invalid characters from filenames. #96

Minor, non-breaking and internal changes

  • The HTTP 429 response header "Retry-After" is now used to wait for the next request. #89

v0.5.1

09 Jan 13:41
27d331a

Choose a tag to compare

Bug fixes

  • Moving temporary cached files now works (only affected Windows)

v0.5.0

07 Sep 11:54
b405e05

Choose a tag to compare

Breaking changes

  • The wikipedia-image-article-instances has been replaced by wikipedia-image-article-hosts which contains full hosts. So instead of "wikipedia-image-article-instances": [ "commons" ] as config entry, use "wikipedia-image-article-hosts": [ "commons.wikimedia.org" ].
  • The "rsvg" value for the math-converter config entry has been renamed to "template", because a completely custom template, which has nothing to do with rsvg, could be used.
  • The convert-pdf-to-png config entry was removed #94. Use the command template instead (empty string as value deactivates conversion from PDF to PNG).
  • The convert-svg-to-png config entry was removed #94. Use the command template instead (empty string as value deactivates conversion from SVG to PNG).

Major changes

  • Better cache for files #82
    • New config options cache-max-size (maximum size of the cache in MB), cache-max-age (maximum age of files in minutes) and cache-eviction-strategy (eviction strategy used in case the cache reaches in maximum size)

Bug fixes

  • Not used image instance values #90
  • HTTP 403 errors when downloading articles #93
  • Small list item entries with left whitespace padding (e.g. * a) caused wiki2book to crash during HTML generation

Minor, non-breaking and internal changes

  • Add config user-agent-template entry for the user agent used in HTTP requests.
  • Add config command-template-webp-to-png to convert WebP files into PNGs #85
  • Some Refactorings #86 #87
  • Dependency updates

v0.4.0

16 Mar 10:35
8023ea8

Choose a tag to compare

Notice: This release might contain breaking changes. Semantic versioning would increase the major version when breaking changes occur (i.e. to "1.0.0" in this case), but since the tool is not yet production ready, the major version stays 0.

New major features

  • Calling of external tools can be customized using template strings. This changed and removed some existing setting names and their meaning. #16 #26
  • Articles are now processed in parallel. This uses 5 thread by default and can be configured. #71

Breaking changes

  • Migration of CLI argument handling library (kong → cobra). Use the --help flag to get information on the CLI args. #83
    • This new library also includes the possibility to generate shell completion files. The arch package will include and install them so that shell completion will work under arch using the package. #36

Non-breaking changes

  • Change is location handling of caches and default files #79
  • Text orientation in tables changed (from unset to left aligned) #72
  • Enhance logging #77
  • Make more things configurable #80
  • Better handling of links to categories #30

v0.3.0

25 Feb 21:45
db533bb

Choose a tag to compare

This release contains breaking changes. Semantic versioning would increase the major version (so to "1.x.y") but since the tool is not yet production ready, the major version stays 0.

New major and breaking features

  • Changes in handling of configurations and parameters
    • Uniform handling of configs, projects and CLI-parameters. Every entry in the config.json can now be overridden by the project JSON file or the CLI arguments. The CLI arguments have the highest precedence and can override parameters from all other sources. #75
    • Many additional parameters and properties can be set.

Non-breaking changes

  • Allow embedded PDFs to be rendered into PNGs #33
  • Add support for custom start number in ordered list #43
  • Better handling of references #60 #69
  • Add the possibility to render math locally into an PNG graphic #73
  • Enhanced verification checks for configuration parameters #74
  • Make all names/paths to external tools configurable #76

v0.2.0

28 Jul 12:58
8fab92a

Choose a tag to compare

This release contains breaking changes. Semantic versioning would increase the major version (so to "1.x.y") but since the tool is not yet production ready, the major version stays 0.

New major features

  • Internal EPUB generator #62 , which is faster and enables the use of wiki2book without the pandoc dependency. This feature is experimental.

Non-breaking changes

  • CLI args of commands are now more similar #67
  • Better transparency handling #39
  • Make greyscale conversion of images optional #50
  • Wikimedia URL is configurable #61

Breaking changes

These changes break backward compatibility.

  • In project files, the following attribute got renamed to be in line with the CLI argument names:
    • covercover-image
    • stylestyle-file

v0.1.1

26 Jan 14:57
a7e96b0

Choose a tag to compare

Changes:

  • Fix parsing external links with unsupported protocols and also allow normal text to be within backets #65
  • Adjust build.sh script
  • Fix problem with image scaling when only either height or width is given

v0.1.0

03 Dec 09:50
c0dde45

Choose a tag to compare

This is the first release of wiki2book offering the basic functionality and configurability to already create working and (IMHO) good-looking eBooks.