Releases: itext/itext-pdfsweep-java
pdfSweep 4.0.3
pdfSweep 4.0.2
pdfSweep is an iText Core add-on to securely redact content from PDFs.
This release fixes a bug where a NullPointerException could occur in situations where an Image's XObject was directly referenced from the canvas, had an /ImageMask entry with the value true and was completely covered by a cleanup rectangle.
Bug fixes
- NPE on fully filtered Image XObject with /ImageMask true
pdfSweep 4.0.1
pdfSweep is an iText Core add-on to securely redact content from PDFs.
For this release, the artifact names have been changed to reflect the new naming structure. In addition, since Bouncy Castle is a dependency for tests the .NET version has been updated to use the latest 2.2.1 version.
Improvements
- Updated .NET Bouncy Castle dependency to 2.2.1
pdfSweep 4.0.0
pdfSweep is an iText Core add-on for Java to securely redact content from PDFs.
While there are no new changes for this version, this release is for compatibility with the iText Core version 8.x.x release.
pdfSweep 3.0.2
For this release, we've improved the logging for unsupported images. When pdfSweep encounters an image where its file type or encoding is not supported, it will now produce a more detailed exception message.
Improvements
- Improved logging for unsupported images
pdfSweep 2.0.8
This release contains a security fix from the pdfSweep 3.0.0 release relating to the CompareTool functionality. It was previously possible to abuse some functionality in GhostScript to inject arbitrary parameters.
pdfSweep 3.0.1
Some small, yet significant changes for pdfSweep this time round. We’ve made improvements and additions to the API documentation for CompositeCleanupStrategy
, RegexBasedCleanupStrategy
, CleanUpLogMessageConstant
, PdfCleanUpEventListener
, PdfCleanUpProcessor
, and PdfCleanUpTool
.
We’ve also updated the commons-imaging
dependency to a stable version from the snapshot that was previously used.
Improvements
- API documentation improvements
- Switch pdfSweep commons-imaging dependency to stable version
pdfSweep 3.0.0
In the 3.0.0 release pdfSweep as with all other iText 7 add-ons gets the support of the new License Mechanism and removes a few deprecated methods in the API.
An important note is that this release contains a security bugfix for a vulnerability which was identified in the CompareTool functionality, where it was possible to abuse some functionality in GhostScript to inject arbitrary parameters. Therefore it is recommended to update as soon as possible.
As the cherry on top of the cake it benefits from all the improvements featured in iText 7 Core 7.2.0.
Breaking Changes
- Removed deprecated methods from API
New Features
- Unified License Mechanism
Bugs
- Streams are left open in case when PdfDocument/PdfReader constructor throws an Exception
- Security vulnerability in CompareTool
pdfSweep 2.0.7
While this release of pdfSweep does not bring any new features as such, it does include an important improvement. An annoying bug that could cause a NullPointerException for TD and TL operators when analyzing a document stream has been fixed.
Bugs
- NPE in TextPositioning
pdfSweep 2.0.6
This is the first release of pdfSweep for a while, but this is what's changed here:
- editing of content streams could cause Acrobat Reader to fail when reading the document.
BUGS
- 'BMC' content stream operator gets replaced with '<<>> BDC' which is redundant