Html2image

Latest version: v2.0.5

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.0.5

This release should allow Html2Image to work with newer versions of Chrome, Edge, and Chromium browsers by using the `--headless=new|old` option.

Special thanks to satheler for spotting the issue and taking action.

What's Changed
* Fixed issue with periods in path by michaelrussell4 in https://github.com/vgalin/html2image/pull/130
* add `google-chrome-stable` for the list of possible chrome bins by bbigras in https://github.com/vgalin/html2image/pull/135
* Fix CLI and use old headless by default in chromium based browsers by satheler in https://github.com/vgalin/html2image/pull/157
* Allow passing custom_flags via the CLI by kzu in https://github.com/vgalin/html2image/pull/161
* html2image v2.0.5 by vgalin in https://github.com/vgalin/html2image/pull/162

New Contributors
* michaelrussell4 made their first contribution in https://github.com/vgalin/html2image/pull/130
* bbigras made their first contribution in https://github.com/vgalin/html2image/pull/135
* satheler made their first contribution in https://github.com/vgalin/html2image/pull/157
* kzu made their first contribution in https://github.com/vgalin/html2image/pull/161

**Full Changelog**: https://github.com/vgalin/html2image/compare/2.0.4.3...2.0.5

2.0.4.3

What's Changed
* Unpin websocket-client dependency to allow versions >= 1.2.3 by vgalin in https://github.com/vgalin/html2image/pull/126


**Full Changelog**: https://github.com/vgalin/html2image/compare/2.0.4...2.0.4.3

2.0.4

New Features
- **Edge Support**: Introduced support for Edge with updates across Linux, Windows, and Mac. (Contributed by gabema)
- **Logging Suppression**: Added a `disable_logging` parameter to suppress browser-outputted messages.

Enhancements
- **Temporary Files Removal**: Allowed enabling or disabling the removal of temporary files created during processes. (Contributed by TytoCapensis)
- **Chrome headless=new**: Switched to Chrome's new headless mode for improved stability. Note: This mode reportedly supports extensions, but we haven't been successful in getting extensions to work. [More info here](https://developer.chrome.com/articles/new-headless/).

Fixes
- **Background Color**: Resolved issues with the background color not being transparent and corrected related flags.
- **Debian on Codespaces**: Refined Poetry installation and build commands for Debian compatibility in GitHub Codespaces. (Contributed by maphew)
- **`--verbose` and `--quiet` flags**: Enhanced information display and further suppressed browser's output, respectively.

WIP
- ***Chrome CDP Support***: Continues to be a work in progress due to consistency issues.

Thank you to those who contributed to this release.

---
(Github autogenerated changelog)
What's Changed
* Feature/edge support by gabema in https://github.com/vgalin/html2image/pull/96
* bump package version to 2.0.3 by vgalin in https://github.com/vgalin/html2image/pull/116
* Feature/edge support by vgalin in https://github.com/vgalin/html2image/pull/120
* changes needed for Debian on GH Codespaces by maphew in https://github.com/vgalin/html2image/pull/93
* Added method to remove temporary files created by TytoCapensis in https://github.com/vgalin/html2image/pull/60
* Develop by vgalin in https://github.com/vgalin/html2image/pull/121

New Contributors
* gabema made their first contribution in https://github.com/vgalin/html2image/pull/96
* maphew made their first contribution in https://github.com/vgalin/html2image/pull/93
* TytoCapensis made their first contribution in https://github.com/vgalin/html2image/pull/60

**Full Changelog**: https://github.com/vgalin/html2image/compare/2.0.3...2.0.4

2.0.3

Hotfixes:
- Default background color flag on Chrome/Chromium changed from '0' to '000000' due to unsupported value in Chromium version >= 1.1.1.
- 2.0.2 version was relased with the wrong wheel file

2.0.2

~~Hotfix:~~
~~- Default background color flag on Chrome/Chromium changed from '0' to '000000' due to unsupported value in Chromium version >= 1.1.1.~~

2.0.1

- Fix 32
On Linux when no Chrome/Chromium executable is given, the commands chrome, chromium, google-chrome and chromium-browser are checked.
- Better support for commands and "custom" executables on Windows.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.