PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

PDFsharp 6.1.1 final: .NET 6, .NET 4.7, NETstandard 2.0
http://forum.pdfsharp.com/viewtopic.php?f=8&t=4617
Page 1 of 1

Author:  Thomas Hoevel [ Mon Jul 01, 2024 11:07 am ]
Post subject:  PDFsharp 6.1.1 final: .NET 6, .NET 4.7, NETstandard 2.0

Hello, everybody!

As of today, PDFsharp 6.1.1 final is available.
Note: "final" means it is a "stable" release of 6.1.1, not a prerelease. The project is alive and there are plans for PDFsharp 6.2.0.

You can find the source code on github.com:
https://github.com/empira/PDFsharp

You can find binaries (assemblies) on NuGet.

Note: On NuGet there are Core, GDI, and WPF packages.

The six new preview NuGet packages:

All packages target .NET 6 and can also be used with .NET 7 or .NET 8.
The Core packages also target .NET Standard 2.0 and should work with all compatible platforms including Windows and Linux.
The GDI and WPF packages also target .NET 4.7.2 and should also work with higher versions like 4.8.1, but depend on Windows.

If you are using .NET Framework 4.7.1 or older and cannot upgrade to 4.7.2 or newer, you can use the Core build packages.
Alternatively you can download the PDFsharp source code and change the target to .NET 4.6.2. This allows using the GDI and WPF builds with .NET 4.6.2 or newer.

Samples can be found on GitHub:
https://github.com/empira/PDFsharp.Samples

Changes since 6.1.0 Final:
  • Bug fix for images from MemoryStream (PDFsharp) or BASE64 (MigraDoc) - it seems only the GDI build was affected by this bug
  • Bug fix for user permissions where the MSB is set

Changes since 6.1.0-Preview-3:
  • Improved image handling, eventually leads to smaller PDF files
  • Other bug fixes

Changes since 6.1.0-Preview-2:
  • Improved font handling, should lead to smaller PDF files
  • Strong name keys, so assemblies created with .NET Framework can be copied to the GAC
  • Core build supports more PNG and JPEG variations
  • Resolved issues with encrypted PDF files
  • Other bug fixes

Changes since 6.1.0-Preview-1:
  • Improved font handling
  • Fixed: PDF files can now be opened under .NET 4.7.2
  • Other bug fixes

Changes since 6.0.0:
  • The Core packages now target .NET 6 and .NET Standard 2.0
  • The GDI and WPF packages now target .NET 6 and .NET 4.7.2
  • Bug fixes for encrypted files
  • Bug fixes for PDF files with incremental updates where earlier versions did not find all pages
  • Several other bug fixes

Changes versus PDFsharp 1.5:
  • Uses .NET 6.0 and .NET Standard 2.0 or .NET 6.0 and .NET 4.7.2
  • Core build can be used under Windows, Linux, and all other platforms where .NET 6 is running on.
  • People using PDFsharp Core 1.5 should consider switching to PDFsharp-GDI 6 to get similar functionality
  • MigraDoc table rendering got faster again.

Note that there is only one source code repository containing PDFsharp and MigraDoc.
Note that there is only one sample repository containing PDFsharp and MigraDoc samples.

New PDFsharp website http://docs.pdfsharp.net

Information about breaking changes:
https://docs.pdfsharp.net/General/Overv ... arp-6.html

Please report all regressions versus 1.51.
Several bugs have been fixed - and hopefully there are no new bugs.
There are still some known issues.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/