Releases: Sicos1977/ChromiumHtmlToPdf
Releases · Sicos1977/ChromiumHtmlToPdf
Version 4.2.5
- Add timeout when waiting for a response from Chromium (prevent hanging when an answer never comes)
- Add method to the Convert class (GetChromiumLocation) to get the location of the Cromium based browser
- Removed parameter that ignored invalid paga ranges (this does not exists anymore)
- Upgraded console app to .net 8 LTS
Version 4.2.4
- Handle PDF printing errors
- Nuget package updates
Version 4.2.3
Adds option to enable outlines (bookmarks) generation from header tags (same feature exists in wkhtmltopdf).
As this feature was added to chromium just recently, looks like it doesn't work yet in all scenarios and require following configuration:
- Converter.UseOldHeadlessMode must be true
- Page.printToPDF parameter generateDocumentOutline must be true
- Page.printToPDF parameter generateTaggedPDF must be true (as tagged data used for outlines generation). This is enabled by default, but I've added configuration for it to PageSettings anyways
(nor Converter.UseOldHeadlessMode=false nor --generate-pdf-document-outline works with Chromium 122 when used with Page.printToPDF currently)
Version 4.2.1
- Some code refactoring
- Removed dependency on .net standard 1.6 (again) ... thanks to @EraYaN
- Console app now targets .net 6 instead of .net core 3.1
Version 4.2.0
- Updated nuget packages
- Removed FileHash package (removed dependency on .net standard 1.6)
Version 4.1.2
- Updated nuget packages
- Some small fixes here and there
Version 4.1.1
- Made some logging more human readable
- The Page.loadEventFired is now used to determine that the page has been fully loaded. Use the property WaitForNetworkIdle = true to switch to the old (slower) behaviour
Version 4.1.0
- Fixed deadlock issues in NavigateToAsync methods
- Added more logging
- Fixed some minor things here and there
Version 4.0.1
- Made code async from top to bottom (so make sure you test this)
- Implemented new file cache for document helper class
- Updated nuget packages
Version 3.1.6
- Updated nuget packages
- Catch exception when one is thrown from the HTMLSanitizer