Skip to content

Releases: Sicos1977/ChromiumHtmlToPdf

Version 4.2.5

22 May 10:32
Compare
Choose a tag to compare
  • 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

05 Apr 17:30
Compare
Choose a tag to compare
  • Handle PDF printing errors
  • Nuget package updates

Version 4.2.3

26 Mar 17:23
Compare
Choose a tag to compare

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

06 Mar 09:29
Compare
Choose a tag to compare
  • 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

01 Mar 08:11
Compare
Choose a tag to compare
  • Updated nuget packages
  • Removed FileHash package (removed dependency on .net standard 1.6)

Version 4.1.2

29 Oct 08:34
Compare
Choose a tag to compare
  • Updated nuget packages
  • Some small fixes here and there

Version 4.1.1

24 Oct 06:28
Compare
Choose a tag to compare
  • 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

21 Oct 18:25
Compare
Choose a tag to compare
  • Fixed deadlock issues in NavigateToAsync methods
  • Added more logging
  • Fixed some minor things here and there

Version 4.0.1

15 Oct 17:32
a0bb65a
Compare
Choose a tag to compare
  • 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

25 Sep 06:15
Compare
Choose a tag to compare
  • Updated nuget packages
  • Catch exception when one is thrown from the HTMLSanitizer