EvotecIT / PSWritePDF

PowerShell Module to create, edit, split, merge PDF files on Windows / Linux and MacOS
GNU Affero General Public License v3.0
197 stars 21 forks source link

lib update #35

Closed user8446 closed 2 years ago

user8446 commented 2 years ago

iTextCore -> 7.2.1 https://github.com/itext/itext7-dotnet/releases/tag/7.2.1

BouncyCastle.Crypto.dll -> 1.9.0 https://www.bouncycastle.org/csharp/

Microsoft.DotNet.PlatformAbstractions.dll -> 5.0.20.2780 https://www.nuget.org/packages/Microsoft.DotNet.PlatformAbstractions/5.0.0-preview.5.20278.1

Microsoft.Extensions.DependencyModel.dll -> 6.0.21.52210 https://www.nuget.org/packages/Microsoft.Extensions.DependencyModel/

Microsoft.Extensions.Logging.Abstractions.dll -> 6.0.21.52210 https://www.nuget.org/packages/Microsoft.Extensions.Logging.Abstractions/

Microsoft.Extensions.Logging.dll -> 6.0.21.52210 https://www.nuget.org/packages/Microsoft.Extensions.Logging/

Microsoft.Extensions.Options.dll -> 6.0.21.52210 https://www.nuget.org/packages/Microsoft.Extensions.Options/

Common.Logging.Core.dll -> deprecated, removed Common.Logging.dll -> deprecated, removed iTextCore -ge 7.2.0 uses the more modern & secure Microsoft.Extensions.Logging https://itextpdf.com/en/blog/itext-news-technical-notes/announcing-release-itext-7-suite-72

PrzemyslawKlys commented 2 years ago

Tnx, any reason you deleted some DLL files? Have you tested things work as required?

user8446 commented 2 years ago

Hi,

Tested on Core/7.2.1, which is why I didn't touch anything in the Default folder for Windows PowerShell.

Common.Logging.Core.dll & Common.Logging.dll are removed because they are deprecated. In iTextCore >= 7.2.0 , it uses the more modern & secure Microsoft.Extensions.Logging. Described in https://itextpdf.com/en/blog/itext-news-technical-notes/announcing-release-itext-7-suite-72

(Just realized I forgot to remove it from PSWritePDF.Libraries.ps1 as well)

PrzemyslawKlys commented 2 years ago

You don't need to "remove from Libraries.ps1 because it gets auto generated). Basically during build process using script in Publish folder psd1 is regenerated, along with psm1 and anything in there. It's all automated based on the structure on GitHub