Skip to content

Releases: Sicos1977/ChromiumHtmlToPdf

Version 4.2.11

25 Nov 06:57
Compare
Choose a tag to compare
  • Updated nuget packages
  • Fix object refenrece error when trying to detect encoding
  • Fix NRE when converter called without explicit profile path
  • Fix WebSocket connection failure handling + multiple async code fixes

Version 4.2.10

22 Oct 07:59
Compare
Choose a tag to compare
  • Merged pull request from #MaceWindu that has async code fixes
  • Updated nuget packages

Version 4.2.9

01 Sep 13:06
Compare
Choose a tag to compare
  • Fixes an object reference error with the encoding detector (.txt files)

Version 4.2.8

29 Aug 05:59
Compare
Choose a tag to compare
  • Fixed issue with headless = old or new
  • Fixed type in logging
  • Updated nuget packages

Version 4.2.6

31 May 07:35
Compare
Choose a tag to compare
  • Added option EnableChromiumLogging to enable Chromium debug logging

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)