Skip to content

Latest commit

 

History

History
308 lines (139 loc) · 13.5 KB

changelog.md

File metadata and controls

308 lines (139 loc) · 13.5 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.2.4 (2023-04-04)

Bug Fixes

5.2.3 (2023-03-11)

Bug Fixes

  • regression from using .replaceAll which isn't available in Node 14 (018b52e)

5.2.2 (2023-03-11)

Bug Fixes

  • generation of relative pathname in the browser (90a1aaa), closes #150

5.2.1 (2022-12-18)

Bug Fixes

  • create one browser instance per programmatic API call (eb86ef0), closes #146

5.2.0 (2022-11-06)

Features

  • allow passing custom extensions to marked (#127) (d790b2b)

Bug Fixes

  • closeServer rejects when server.close has an error (7a4a142)

5.1.0 (2022-01-28)

Features

  • switch to highlight option instead of overwriting renderer.code (#115) (acee2f8), closes #114

5.0.2 (2022-01-21)

Bug Fixes

  • upgrade marked to prevent GHSA-rrrm-qjm4-v8hf (80083a8), closes #112

5.0.1 (2021-11-17)

Bug Fixes

  • remove !important from code-block bg color (01ab732), closes #103

5.0.0 (2021-09-24)

⚠ BREAKING CHANGES

  • If you previously used JS in front-matter, you'll now have to set --gray-matter-options 'null' (or gray_matter_options: undefined) to overwrite the new default options that disable the JS engine.

Bug Fixes

  • disable JS engine for front-matter by default to prevent RCE (a716259), closes #99

4.1.0 (2021-09-23)

Features

  • add the option to set the document title (#100) (519fbc9)

4.0.1 (2021-08-30)

Bug Fixes

  • expose correct puppeteer launch options interface (#98) (32af9b3)

4.0.0 (2021-07-01)

⚠ BREAKING CHANGES

  • upgrade dependencies (738029c), closes #87
    • puppeteer@10 drops node 10 support which is why the required engine is now node >= 12.0.
    • The minimum required puppeteer version is now 8.0.0 because it ships its own interfaces with some breaking changes.
    • highlight.js@11 has some breaking changes that might affect PDF output slightly.

3.3.2 (2021-04-09)

Bug Fixes

  • inject styles and scripts in given order (e1b6003)

3.3.1 (2021-02-25)

3.3.0 (2021-02-22)

Features

  • cli: expose watchOptions (9a68f5f), closes #84
  • new script config option to inject scripts, mathjax test (c8628a4)

3.2.1 (2020-12-16)

Bug Fixes

  • pageMediaType -> page_media_type (29d8a75)

3.2.0 (2020-12-16)

Features

  • add page-media-type option (8e68e6f), closes #80

Bug Fixes

3.1.2 (2020-11-06)

Bug Fixes

  • update marked because of bugs with asterisk emphasis (566b901), closes #78

(2020-06-05)

Warning: Updates marked to 1.1.0 which has some breaking changes (see https://github.com/markedjs/marked/releases/tag/v1.0.0), and those might also apply to the usage of this package if a custom renderer was used. I don't expect anyone to run into issues though which is why I decided not to do a major version bump.

3.1.0 (2020-04-18)

Features

3.0.1 (2020-03-28)

Bug Fixes

  • engines field (required node version) (9e88564)

3.0.0 (2020-02-29)

Features

  • output to stdout if input comes from stdin (73f8e0d)

3.0.0-pre.1 (2020-02-01)

⚠ BREAKING CHANGES

  • The --debug flag has been removed. All errors are printed instead, in the hopes that giving the user every hint possible will help them get down to the root of their problem. Hopefully the error stacks don't confuse anyone. 🤓

Features

  • get rid of the --debug flag (94fb214), closes #54

3.0.0-pre.0 (2020-01-26)

⚠ BREAKING CHANGES

  • the CLI can't be invoked without specifying any input files anymore. To convert all files in a directory, use a shell glob instead (e. g. md-to-pdf *.md). It's now possible to read markdown from stdin.

The whole source code has been converted to Typescript. The minimum required node version has been increased to v10.0.0 (current LTS). It should still work with v8.3.0+ but the tests won't be able to run.

The license has been changed to MIT.

Features

  • allow input from std in or shell globbing for multiple files (8051c42)
  • auto-enable displayHeaderFooter if template is set (b3ac8d9), closes #59
  • expose --port cli flag (1f22656)
  • merge v3 (#39) (20ca196)
  • set process and xterm title (04b985e)

Bug Fixes

  • cli: merge pdf_options of config file properly (d85558d)
  • cli: package.json path for version info (a7a5817)
  • relative paths (bb46626)
  • ul/ol margin (80d36d5), closes #36

2.8.2 (2019-11-26)

2.8.1 (2019-09-18)

2.8.0 (2019-08-30)

Features

2.7.1 (2019-05-31)

Tests

  • circleci: use node:8-browser docker image (fff5f0f)
  • don't reuse filenames (b0ce9b6)
  • split execution of lib, api and cli specs (e6b0ca1)

2.7.0 (2019-04-28)

Features

  • add option to generate html output instead of pdf (c784a8a)

2.6.4 (2019-02-27)

Bug Fixes

  • is-url check should only check for http urls (2ed9d7b)

2.6.2 (2019-02-10)

2.6.1 (2019-01-21)

Bug Fixes

  • merge pdf options into defaults properly (d13f5e2)

2.5.0 (2019-01-20)

Bug Fixes

  • api: type check for md file argument (4944e8e)

Features

2.4.2 (2018-11-27)

Bug Fixes

  • properly resolve path to highlight.js stylesheets (64b0390), closes #21

2.4.0 (2018-11-14)

Bug Fixes

  • pdf-options weren't working from CLI args (f7b16af)

Features

  • expose puppeteer launch options (aa36a5e)

2.3.2 (2018-11-10)

Bug Fixes

  • css: inline code inside list items (dd7fca6)