Releases: hauke96/wiki2book
Releases · hauke96/wiki2book
v0.6.1
v0.6.0
Breaking changes
These are changes where you'll probably need to edit your configs.
- All
...prefixeconfig entries have been renamed to...prefixes(with ansin the end). This was a spelling mistake that has been fixed.
Major changes
- Two new output types
stats-jsonandstats-txtgenerate statistics about the project, article or file. They must be used with theinternaloutput 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
v0.5.0
Breaking changes
- The
wikipedia-image-article-instanceshas been replaced bywikipedia-image-article-hostswhich 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 themath-converterconfig 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-pngconfig entry was removed #94. Use the command template instead (empty string as value deactivates conversion from PDF to PNG). - The
convert-svg-to-pngconfig 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) andcache-eviction-strategy(eviction strategy used in case the cache reaches in maximum size)
- New config options
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
v0.4.0
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
--helpflag 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
v0.3.0
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.jsoncan 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.
- Uniform handling of configs, projects and CLI-parameters. Every entry in the
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
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:
cover→cover-imagestyle→style-file