# Changelog

<a name="3.4.0"></a>
## 3.4.0 (2023-08-01)

### Added

- ✨ Add timeout option ([#189](https://github.com/frinyvonnick/node-html-to-image/issues/189)) [[20110bc](https://github.com/frinyvonnick/node-html-to-image/commit/20110bc38d42e2d9cc71ac8f16fb847fbb863622)]

### Changed

- ⬆️ Bump json5 from 2.2.1 to 2.2.3 ([#185](https://github.com/frinyvonnick/node-html-to-image/issues/185)) [[7486250](https://github.com/frinyvonnick/node-html-to-image/commit/748625068ebfa165a37769a1af49f9a99ad0d9cb)]


<a name="3.3.0"></a>
## 3.3.0 (2022-08-31)

### Added

- ✨ Add puppeteer object property to use different libraries  ([#173](https://github.com/frinyvonnick/node-html-to-image/issues/173)) [[e9aa9d2](https://github.com/frinyvonnick/node-html-to-image/commit/e9aa9d27992ef7a36df5b0411e1ef3ede1501442)]
- ✨ Add new option to register handlebars helpers ([#145](https://github.com/frinyvonnick/node-html-to-image/issues/145)) [[a2ab82a](https://github.com/frinyvonnick/node-html-to-image/commit/a2ab82afe46c9e8c2ab41d267760520267c59839)]

### Changed

- ⬆️ Bump jpeg-js from 0.4.3 to 0.4.4 ([#170](https://github.com/frinyvonnick/node-html-to-image/issues/170)) [[bbe0b86](https://github.com/frinyvonnick/node-html-to-image/commit/bbe0b865b24a9b9ae242e175081667eb0be5d275)]
- ⬆️ Bump minimist from 1.2.5 to 1.2.6 ([#166](https://github.com/frinyvonnick/node-html-to-image/issues/166)) [[8ee87d2](https://github.com/frinyvonnick/node-html-to-image/commit/8ee87d22cbfd5c47b30d870a8dfd9703d581d538)]


<a name="3.2.4"></a>
## 3.2.4 (2022-02-15)

### Changed

- ⬆️ Upgrade gitmoji-changelog to v2.3.0 [[d5aae40](https://github.com/frinyvonnick/node-html-to-image/commit/d5aae4017d1a7cfa25ec2efb8e263ca3c927da46)]

### Fixed

- 🐛 Fix typings for &#x60;puppeteerArgs&#x60; ([#163](https://github.com/frinyvonnick/node-html-to-image/issues/163)) [[e206ee6](https://github.com/frinyvonnick/node-html-to-image/commit/e206ee669d95020026d8d98d12ac97156529f31e)]


<a name="3.2.3"></a>
## 3.2.3 (2022-02-11)

### Changed

- 🔧 Add forceConsistentCasingInFileNames in compilerOptions ([#161](https://github.com/frinyvonnick/node-html-to-image/issues/161)) [[2212e35](https://github.com/frinyvonnick/node-html-to-image/commit/2212e354e028f6fec80e564ab290d4b707220be7)]


<a name="3.2.2"></a>
## 3.2.2 (2022-02-09)

### Changed

- 🔧 Generate d.ts file [[66a4199](https://github.com/frinyvonnick/node-html-to-image/commit/66a41997944913f5368adab7c0e491025827d6a4)]

### Miscellaneous

- 📝 Update Typescript section of README [[054fc88](https://github.com/frinyvonnick/node-html-to-image/commit/054fc883f3743cba178979f1eb2647938fbf5131)]


<a name="3.2.1"></a>
## 3.2.1 (2022-02-08)

### Added

- ✅ Add a test to guarantee buffers order ([#157](https://github.com/frinyvonnick/node-html-to-image/issues/157)) [[1a9bf4f](https://github.com/frinyvonnick/node-html-to-image/commit/1a9bf4fbf03768ea054b74c89b2ab3bc9a495ec4)]
- 👷‍♂️ Add Typescript build to CI [[c6d4fa3](https://github.com/frinyvonnick/node-html-to-image/commit/c6d4fa36b520166fd3b861ed47f1963009db33b3)]
- ➕ Move to TypeScript ([#141](https://github.com/frinyvonnick/node-html-to-image/issues/141)) [[d1d08cd](https://github.com/frinyvonnick/node-html-to-image/commit/d1d08cdca309d1e6fa130c4b2b0de3942cd44615)]

### Changed

- ⬆️ Bump tar from 4.4.13 to 4.4.19 ([#126](https://github.com/frinyvonnick/node-html-to-image/issues/126)) [[ab7cce1](https://github.com/frinyvonnick/node-html-to-image/commit/ab7cce1100b10c6ba23c42999fc1d6f72fe0c2a2)]
- ⬆️ Bump tmpl from 1.0.4 to 1.0.5 ([#128](https://github.com/frinyvonnick/node-html-to-image/issues/128)) [[d94e9fc](https://github.com/frinyvonnick/node-html-to-image/commit/d94e9fc8a604fbe5f8a7a7a57183dc39452d86d1)]
- ⬆️ Bump node-fetch from 2.6.1 to 2.6.7 ([#153](https://github.com/frinyvonnick/node-html-to-image/issues/153)) [[520d1e7](https://github.com/frinyvonnick/node-html-to-image/commit/520d1e73583ea905d29a97524449cf715a7c1c31)]
- ♻️ Refactor code to make issues easier to fix ([#155](https://github.com/frinyvonnick/node-html-to-image/issues/155)) [[d28d88e](https://github.com/frinyvonnick/node-html-to-image/commit/d28d88ecd757f2f11f976ce110c469db6015388a)]
- ⬆️ Upgrade puppeteer and puppeteer-cluster ([#154](https://github.com/frinyvonnick/node-html-to-image/issues/154)) [[c42b6f0](https://github.com/frinyvonnick/node-html-to-image/commit/c42b6f08561af9af18b1cc436506a065ca003b77)]

### Fixed

- 🐛 Prevent handlebar to compile template if content is empty ([#156](https://github.com/frinyvonnick/node-html-to-image/issues/156)) [[2684645](https://github.com/frinyvonnick/node-html-to-image/commit/2684645f9bc883f9f7b43ae78240d1b6d000a986)]


<a name="3.2.0"></a>
## 3.2.0 (2021-06-26)

### Added

- ✨ Add selector option ([#114](https://github.com/frinyvonnick/node-html-to-image/issues/114)) [[701b514](https://github.com/frinyvonnick/node-html-to-image/commit/701b5143220aa80eac945945356743d6cb8e70a7)]

### Changed

- ⬆️ Bump y18n from 3.2.1 to 3.2.2 ([#103](https://github.com/frinyvonnick/node-html-to-image/issues/103)) [[3ba0e96](https://github.com/frinyvonnick/node-html-to-image/commit/3ba0e966cf450f0112c06ffd0a7c2bc36cf66a02)]
- ⬆️ Bump ssri from 6.0.1 to 6.0.2 ([#105](https://github.com/frinyvonnick/node-html-to-image/issues/105)) [[b419b3b](https://github.com/frinyvonnick/node-html-to-image/commit/b419b3b61eb7506dd912f4f8f98d8adecfa9cf4a)]
- ⬆️ Bump handlebars from 4.7.6 to 4.7.7 ([#106](https://github.com/frinyvonnick/node-html-to-image/issues/106)) [[0dda192](https://github.com/frinyvonnick/node-html-to-image/commit/0dda1927a424dec0388626b5fdf2d59a4d67ac8a)]
- ⬆️ Bump hosted-git-info from 2.8.8 to 2.8.9 ([#107](https://github.com/frinyvonnick/node-html-to-image/issues/107)) [[27614ac](https://github.com/frinyvonnick/node-html-to-image/commit/27614ac1851defc061435110f9e6c50dedde7768)]
- ⬆️ Upgrade dependencies [[bc747a8](https://github.com/frinyvonnick/node-html-to-image/commit/bc747a8982d592b9e3942e7474925a4e79d7ac74)]
- ⬆️ Bump node-notifier from 8.0.0 to 8.0.1 ([#86](https://github.com/frinyvonnick/node-html-to-image/issues/86)) [[a9db417](https://github.com/frinyvonnick/node-html-to-image/commit/a9db417d3a34564fd8797b5fffa61d331a3051fe)]
- ⬆️ Bump ini from 1.3.5 to 1.3.8 ([#84](https://github.com/frinyvonnick/node-html-to-image/issues/84)) [[8724c5d](https://github.com/frinyvonnick/node-html-to-image/commit/8724c5db1b2d6fdbcb2eb4dbcbf060333062408f)]
- ⬆️ Bump node-fetch from 2.6.0 to 2.6.1 ([#59](https://github.com/frinyvonnick/node-html-to-image/issues/59)) [[44595a7](https://github.com/frinyvonnick/node-html-to-image/commit/44595a79835b113d380d095ac285527e273f618d)]
- ⬆️ Update puppeteer to 3.0.4 ([#113](https://github.com/frinyvonnick/node-html-to-image/issues/113)) [[5239595](https://github.com/frinyvonnick/node-html-to-image/commit/5239595894be9b46bd351780d124d13ba0accf22)]

### Miscellaneous

- 📝 Remove unfinished sentence from README [[e9d1ddb](https://github.com/frinyvonnick/node-html-to-image/commit/e9d1ddb0f17c6142836091c6b14281780e45110f)]
- 📝 Dealing with Fonts ([#76](https://github.com/frinyvonnick/node-html-to-image/issues/76)) [[2b8da4e](https://github.com/frinyvonnick/node-html-to-image/commit/2b8da4ec59a070e0de8956a135bef9503c0d2040)]
- 📝 Add related articles in the README ([#69](https://github.com/frinyvonnick/node-html-to-image/issues/69)) [[dd258dd](https://github.com/frinyvonnick/node-html-to-image/commit/dd258ddecf873c874c686e641050190b3b4f7cba)]
- 📝 Add CODE_OF_CONDUCT.md file [[e8a6ff8](https://github.com/frinyvonnick/node-html-to-image/commit/e8a6ff84215895b78c249d1a2e643bab2102ec2c)]


<a name="3.1.0"></a>
## 3.1.0 (2020-09-21)

### Added

- ✨ Add beforeScreenshot parameter ([#65](https://github.com/frinyvonnick/node-html-to-image/issues/65)) [[5fcb054](https://github.com/frinyvonnick/node-html-to-image/commit/5fcb054956efe102f0f37ee6e5d7d84947f30e6d)]
- 👷‍♂️ Add a code analysis action ([#64](https://github.com/frinyvonnick/node-html-to-image/issues/64)) [[5946e1b](https://github.com/frinyvonnick/node-html-to-image/commit/5946e1b379e293bde1accdd50a2aa2b9689589cf)]
- 👷‍♂️ Add a CI that launchs test script ([#63](https://github.com/frinyvonnick/node-html-to-image/issues/63)) [[04e0a4a](https://github.com/frinyvonnick/node-html-to-image/commit/04e0a4a2e6c35c9cd16ba7d64bd5cabf8f34a5b3)]

### Changed

- 📌 Fix vulnerabilities in dependencies [[52ac3eb](https://github.com/frinyvonnick/node-html-to-image/commit/52ac3eb4b12c00a70a3002ae1abe61e85f549020)]
- ⬆️ Upgrade dev dependencies [[a105ceb](https://github.com/frinyvonnick/node-html-to-image/commit/a105ceb2cfecc5568b31c1b60d3c8b1fc8aa06c0)]
- ⬆️ Upgrade handlebars to 4.7.6 [[5bf8499](https://github.com/frinyvonnick/node-html-to-image/commit/5bf849928f1227d259105ba3c38bb26d5590a150)]
- 🔧 Create FUNDING.yml [[e0fedcc](https://github.com/frinyvonnick/node-html-to-image/commit/e0fedccfcd0d875f1ac69013b6f312fe70498c59)]

### Fixed

- ✏️ Fix typo in Typescript section [[879bccd](https://github.com/frinyvonnick/node-html-to-image/commit/879bccdf48de7069d761043f497f210f5d8fb393)]

### Miscellaneous

- 📝 Update version number in README.md ([#66](https://github.com/frinyvonnick/node-html-to-image/issues/66)) [[be23aa7](https://github.com/frinyvonnick/node-html-to-image/commit/be23aa7f920efed9b02add714225b24c0de6903f)]


<a name="3.0.1"></a>
## 3.0.1 (2020-07-10)

### Added

- ✅ Add jest retryTimes and timeout ([#44](https://github.com/frinyvonnick/node-html-to-image/issues/44)) [[85724cd](https://github.com/frinyvonnick/node-html-to-image/commit/85724cd5b4a64c85e64b8e1300406ca86513b6ce)]

### Miscellaneous

- 🏷️ Add TypeScript types ([#45](https://github.com/frinyvonnick/node-html-to-image/issues/45)) [[ff5aa92](https://github.com/frinyvonnick/node-html-to-image/commit/ff5aa92d6aa350b9fe4c2f8360985d7f74478f6f)]
- 📦 Clean published files ([#43](https://github.com/frinyvonnick/node-html-to-image/issues/43)) [[1163e55](https://github.com/frinyvonnick/node-html-to-image/commit/1163e5531e596d87e96b8e0a4ea133cd1a50445e)]


<a name="3.0.0"></a>
## 3.0.0 (2020-07-03)

### Added

- ✨ Add the possibility to create multiple image in one call ([#38](https://github.com/frinyvonnick/node-html-to-image/issues/38)) [[fed3ee5](https://github.com/frinyvonnick/node-html-to-image/commit/fed3ee500edacf5c4af00624009978fdd41b5c2b)]

### Breaking changes

- 💥 Set waitUntil default value to networkidle0 [[1436613](https://github.com/frinyvonnick/node-html-to-image/commit/1436613532f32ea01231112d802a9e041f5af7c4)]

### Fixed

- 🐛 Pass waitUntil option to setContent method ([#40](https://github.com/frinyvonnick/node-html-to-image/issues/40)) [[ad69d33](https://github.com/frinyvonnick/node-html-to-image/commit/ad69d337f0fcd2726b3930972576eabcd328bcdb)]
- ✏️ Fix typo in example ([#29](https://github.com/frinyvonnick/node-html-to-image/issues/29)) [[459f573](https://github.com/frinyvonnick/node-html-to-image/commit/459f573001c94ebfe85b87121197262f88689af0)]

### Miscellaneous

- 📝 Add a synopsis in the usage section ([#41](https://github.com/frinyvonnick/node-html-to-image/issues/41)) [[c92d252](https://github.com/frinyvonnick/node-html-to-image/commit/c92d25265d0a623b7bba7a8b3e3a590d3c1dcfed)]


<a name="2.1.1"></a>
## 2.1.1 (2020-05-20)

### Removed

- 🔥 Remove npm lockfile [[8a1b22f](https://github.com/frinyvonnick/node-html-to-image/commit/8a1b22fb85bc14bc53045f860dd5df57247353bb)]

### Fixed

- 🐛 Fix issue related to default quality property with png type ([#28](https://github.com/frinyvonnick/node-html-to-image/issues/28)) [[cddf200](https://github.com/frinyvonnick/node-html-to-image/commit/cddf200dadf85eec6ff23a349ba5793187bc16f3)]
- ✏️ Remove extra style tag in example ([#26](https://github.com/frinyvonnick/node-html-to-image/issues/26)) [[06f16e7](https://github.com/frinyvonnick/node-html-to-image/commit/06f16e791eb026460c11394387cab95aee3ba144)]


<a name="2.1.0"></a>
## 2.1.0 (2020-05-19)

### Added

- ✨ Add the quality parameter for jpg images ([#22](https://github.com/frinyvonnick/node-html-to-image/issues/22)) [[a4069e5](https://github.com/frinyvonnick/node-html-to-image/commit/a4069e544310f7a2c4d80a103989e753230567f3)]

### Changed

- 📌 Move gitmoji-changelog to dev dependencies ([#25](https://github.com/frinyvonnick/node-html-to-image/issues/25)) [[acfd889](https://github.com/frinyvonnick/node-html-to-image/commit/acfd889aa4761c7bedb9ee9b6e5fb9ffc0ef06d1)]


<a name="2.0.0"></a>
## 2.0.0 (2020-05-11)

### Added

- ✨ Add encoding option to allow user to change default encoding ([#11](https://github.com/frinyvonnick/node-html-to-image/issues/11)) [[8dacb45](https://github.com/frinyvonnick/node-html-to-image/commit/8dacb452c563df2b97e09294d55b155cc0150734)]
- ✨ Return the buffer from .screenshot() in case we don&#x27;t want to save image ([#10](https://github.com/frinyvonnick/node-html-to-image/issues/10)) [[22d5085](https://github.com/frinyvonnick/node-html-to-image/commit/22d5085c59ca1be25e6ff712e06da430a7669066)]

### Changed

- ⬆️ Bump acorn from 5.7.3 to 5.7.4 ([#7](https://github.com/frinyvonnick/node-html-to-image/issues/7)) [[22746df](https://github.com/frinyvonnick/node-html-to-image/commit/22746df0befaf6f00f0a96225f07160f97329831)]

### Breaking changes

- 💥 Remove output requirement ([#16](https://github.com/frinyvonnick/node-html-to-image/issues/16)) [[3c11b84](https://github.com/frinyvonnick/node-html-to-image/commit/3c11b84a36d861251a798c98f8692757126d9f0e)]

### Removed

- 🔥 Remove deprecated explanations in Run tests section [[bec08d6](https://github.com/frinyvonnick/node-html-to-image/commit/bec08d6ec467362e42f428c2db7eda960210e926)]

### Fixed

- ✏️ Fix typo in properties table ([#15](https://github.com/frinyvonnick/node-html-to-image/issues/15)) [[df746df](https://github.com/frinyvonnick/node-html-to-image/commit/df746df38be782c348dd10dce83b55c0d2d85353)]

### Miscellaneous

- 📝 Update documentation to make output optional [[d4dcf1e](https://github.com/frinyvonnick/node-html-to-image/commit/d4dcf1e720737445f5e10dc62346e591d4e3d636)]
- 💡 Improve dealing with local images instructions ([#8](https://github.com/frinyvonnick/node-html-to-image/issues/8)) [[c73a79a](https://github.com/frinyvonnick/node-html-to-image/commit/c73a79a6cba7d9ef6ba815f93772b078fe8c3ae8)]


<a name="1.2.0"></a>
## 1.2.0 (2020-03-24)

### Added

- ✨ Add transparent option to omit background ([#6](https://github.com/frinyvonnick/node-html-to-image/issues/6)) [[a63f0f2](https://github.com/frinyvonnick/node-html-to-image/commit/a63f0f2ce18f1a12e47f1dfa52765e905e175a9c)]

### Changed

- ♻️ Use Tesseract.js to simplify installation [[afa5f46](https://github.com/frinyvonnick/node-html-to-image/commit/afa5f4645e75c8ca2d8fc50284de057381422022)]

### Miscellaneous

- 📝 Add a section about dealing with images [[07cb135](https://github.com/frinyvonnick/node-html-to-image/commit/07cb135b2aab78d82370e5a417678fba4a2d3446)]
- 📝 Add a section about output image resolution [[7ea6de7](https://github.com/frinyvonnick/node-html-to-image/commit/7ea6de72aa5df8d2ed26902fb8a8a60870d5af85)]


<a name="1.1.0"></a>
## 1.1.0 (2019-12-06)

### Added

- ✨ Add waitUntil option [[a8f1b46](https://github.com/frinyvonnick/node-html-to-image/commit/a8f1b46c7ab702553f66c3d6a26adec6b7f05a8c)]

### Miscellaneous

- 📝 Add a mention to the cli [[bebd0f6](https://github.com/frinyvonnick/node-html-to-image/commit/bebd0f6211fcacca307949670d0eb9f4954f7e46)]
- 📝 Fix examples [[2b1879b](https://github.com/frinyvonnick/node-html-to-image/commit/2b1879b796d61873be6957c37e7aab084c045112)]


<a name="1.0.0"></a>
## 1.0.0 (2019-12-05)

### Added

- ✨ Implement a function that generates an image from html ([#1](https://github.com/frinyvonnick/node-html-to-image/issues/1)) [[2de2304](https://github.com/frinyvonnick/node-html-to-image/commit/2de23044e18fda2e1bcb4681be9555c078cce421)]

### Miscellaneous

- 📝 Improve examples and add information about handlebars [[b4d2274](https://github.com/frinyvonnick/node-html-to-image/commit/b4d22742ab07169a7ded87b084493479bbbc32c0)]
- 📝 Change emoji in title [[2ea3e7c](https://github.com/frinyvonnick/node-html-to-image/commit/2ea3e7cf3c89e3c491b554fbf729279c4946c794)]
- 📝 Add missing comma in handlebars example [[2dc3924](https://github.com/frinyvonnick/node-html-to-image/commit/2dc39247d3ce80b8df1b5b737506e42ca5bf05cf)]
-  Initial commit [[d75796d](https://github.com/frinyvonnick/node-html-to-image/commit/d75796d6e9908eedff32484eb416f56e92a0a6fe)]


