Releases: YM162/gulagcleaner
v0.14.4
- Fixed naive method for the newest PDFs.
Full Changelog: v0.14.3...v0.14.4
v0.14.3
- Added support for pdfs with an arbitrary number of repeated iobjs.
Full Changelog: v0.14.2...v0.14.3
v0.14.2
- Added support for pdfs with 5 and 9 repeated iobjs.
It finally happened, we found those PDFs with a higher number of repeated iobjs I mentioned in the release 0.14.1 patch notes. This version should fix the compatibility issues with the newer documents.
Full Changelog: v0.14.1...v0.14.2
v0.14.1
- Fixed an error where three repeated iobjs would cause the program to output corrupted PDFs. We might need to change it in the future if we find PDFs with a higher number of repeated iobjs.
Full Changelog: v0.13.0...v0.14.1
v0.13.0
- Added a new function to the python package that allows to directly clean a PDF file using the bytes.
- @carlosiborra Refactored the PDF tests for the Rust distribution. Also added a README for the Rust distribution.
What's Changed
- Refactor PDF Cleaning Tests for Improved Modularity and Error Handling + Add Rust Distribution README by @carlosiborra in #18
New Contributors
- @carlosiborra made their first contribution in #18
Full Changelog: v0.12.2...v0.13.0
0.12.2
Re-enabled the Wuolah cleaning method.
Full Changelog: v0.12.1...v0.12.2
v0.12.1
WARNING: This release has the "Wuolah" method disabled. It will clean those PDFs using the "Naive" method instead.
This is meant to be a temporary fix to keep things working while we work on fixing the rest.
What's Changed
New Contributors
Full Changelog: v0.11.1...v0.12.1
0.11.1
- Temporarily removed the method code in the gulagcleaner_wasm crate due to issues with serde serialization messing up the data.
Full Changelog: v0.11.0...v0.11.1
0.11.0
WARNING: The clean_pdf function now returns the numerical code of the method used to clean the pdf along with the cleaned PDF itself. The change is very small, but WILL break your code if you don't change it.
Example for the gulagcleaner_wasm package:
//Previous:
var cleaned_pdf= await clean_pdf(data,0);
//Current:
var cleaning_result = await clean_pdf(data,0);
var cleaned_pdf = cleaning_result.result
var method_code = cleaning_result.method
NEW:
- Added a method to clean StuDocu PDFs.
- Now the clean_pdf function also returns the method used to clean the PDF.
Full Changelog: v0.5.2...v0.11.0
0.10.3
NEW:
- The main functionality of the package was rewritten in Rust. Bindings for Python are provided, making the instalation of the package and CLI/Python code use identical.
- The Rust code can be used importing the crate https://crates.io/crates/gulagcleaner_rs
- The JS code can be used importing the npm package https://www.npmjs.com/package/gulagcleaner_wasm
- The Python code can be still used importing the pypi package https://pypi.org/project/gulagcleaner
- Added workflows to automate publishing on the 3 platforms/languages at the same time.
Full Changelog: v0.10.2...v0.10.3