Releases: vgalin/html2image
html2image 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 #130
- add
google-chrome-stable
for the list of possible chrome bins by @bbigras in #135 - Fix CLI and use old headless by default in chromium based browsers by @satheler in #157
- Allow passing custom_flags via the CLI by @kzu in #161
- html2image v2.0.5 by @vgalin in #162
New Contributors
- @michaelrussell4 made their first contribution in #130
- @bbigras made their first contribution in #135
- @satheler made their first contribution in #157
- @kzu made their first contribution in #161
Full Changelog: 2.0.4.3...2.0.5
html2image 2.0.4.3
What's Changed
Full Changelog: 2.0.4...2.0.4.3
html2image 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.
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 #96
- bump package version to 2.0.3 by @vgalin in #116
- Feature/edge support by @vgalin in #120
- changes needed for Debian on GH Codespaces by @maphew in #93
- Added method to remove temporary files created by @TytoCapensis in #60
- Develop by @vgalin in #121
New Contributors
- @gabema made their first contribution in #96
- @maphew made their first contribution in #93
- @TytoCapensis made their first contribution in #60
Full Changelog: 2.0.3...2.0.4
html2image 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
html2image 2.0.2 (yanked, do not use)
Hotfix:
- Default background color flag on Chrome/Chromium changed from '0' to '000000' due to unsupported value in Chromium version >= 1.1.1.
html2image 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.
html2image 2.0.0
- Changed the project structure to make it easier and cleaner to add new browsers in the future.
- Added a way to fully chose browser flags and change default ones.
- Updated the readme accordingly. Also added an FAQ section.
html2image 1.1.3
Fixing an issue preventing resolution change when taking screnshots using the html_str
parameter.
html2image 1.1.2
fix #12: Process no longer hangs when using an incorrect size parameter, it raises a ValueError instead.
html2image 1.1.1
Fix #5: special characters weren't written properly to temp file when using the html_str
parameter of the screenshot
method.