Skip to content
Snippets Groups Projects
Commit f1ceed13 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Bump the changelog

parent 5a5c642a
No related branches found
No related tags found
No related merge requests found
# 0.4.0 - 2018-10-03
- There is now a policy, for advanced users, to deal with unknown embedded fileformats
- Improve the documentation
- Various minor refactoring
- Improve how corrupted PNG are handled
- Dangerous/advanced cli's options no longer have short versions
- Significant improvements to office files anonymisation
- Archive members are sorted lexicographically
- XML attributes are sorted lexicographically too
- RSID are now stripped
- Dangling references in [Content_types].xml are now removed
- Significant improvements to office files support
- Anonimysed office files can now be opened by MS Office without warnings
- The CLI isn't threaded anymore, for it was causing issues
- Various misc typo fix
# 0.3.1 - 2018-09-01 # 0.3.1 - 2018-09-01
- Document how to install MAT2 for various distributions - Document how to install MAT2 for various distributions
......
...@@ -44,20 +44,27 @@ $ python3 -m unittest discover -v ...@@ -44,20 +44,27 @@ $ python3 -m unittest discover -v
# How to use MAT2 # How to use MAT2
```bash ```bash
usage: mat2 [-h] [-v] [-l] [-s | -L] [files [files ...]] usage: mat2 [-h] [-v] [-l] [--check-dependencies] [-V]
[--unknown-members policy] [-s | -L]
[files [files ...]]
Metadata anonymisation toolkit 2 Metadata anonymisation toolkit 2
positional arguments: positional arguments:
files files the files to process
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-v, --version show program's version number and exit -v, --version show program's version number and exit
-l, --list list all supported fileformats -l, --list list all supported fileformats
-s, --show list all the harmful metadata of a file without removing --check-dependencies check if MAT2 has all the dependencies it needs
them -V, --verbose show more verbose status information
-L, --lightweight remove SOME metadata --unknown-members policy
how to handle unknown members of archive-style files
(policy should be one of: abort, omit, keep)
-s, --show list harmful metadata detectable by MAT2 without
removing them
-L, --lightweight remove SOME metadata
``` ```
Note that MAT2 **will not** clean files in-place, but will produce, for Note that MAT2 **will not** clean files in-place, but will produce, for
......
.TH MAT2 "1" "September 2018" "MAT2 0.3.1" "User Commands" .TH MAT2 "1" "October 2018" "MAT2 0.4.0" "User Commands"
.SH NAME .SH NAME
mat2 \- the metadata anonymisation toolkit 2 mat2 \- the metadata anonymisation toolkit 2
.SH SYNOPSIS .SH SYNOPSIS
mat2 [\-h] [\-v] [\-l] [\-c] [\-s | \-L]\fR [files [files ...]] \fBmat2\fR [\-h] [\-v] [\-l] [\-V] [-s | -L] [\fIfiles\fR [\fIfiles ...\fR]]
.SH DESCRIPTION .SH DESCRIPTION
.B mat2 .B mat2
...@@ -31,9 +31,15 @@ show program's version number and exit ...@@ -31,9 +31,15 @@ show program's version number and exit
\fB\-l\fR, \fB\-\-list\fR \fB\-l\fR, \fB\-\-list\fR
list all supported fileformats list all supported fileformats
.TP .TP
fB\-c\fR, \fB\-\-check\-dependencies\fR \fB\-\-check\-dependencies\fR
check if MAT2 has all the dependencies it needs check if MAT2 has all the dependencies it needs
.TP .TP
\fB\-V\fR, \fB\-\-verbose\fR
show more verbose status information
.TP
\fB\-\-unknown-members\fR \fIpolicy\fR
how to handle unknown members of archive-style files (policy should be one of: abort, omit, keep)
.TP
\fB\-s\fR, \fB\-\-show\fR \fB\-s\fR, \fB\-\-show\fR
list harmful metadata detectable by MAT2 without list harmful metadata detectable by MAT2 without
removing them removing them
......
...@@ -14,7 +14,7 @@ except ValueError as e: ...@@ -14,7 +14,7 @@ except ValueError as e:
print(e) print(e)
sys.exit(1) sys.exit(1)
__version__ = '0.3.1' __version__ = '0.4.0'
def __check_file(filename: str, mode: int=os.R_OK) -> bool: def __check_file(filename: str, mode: int=os.R_OK) -> bool:
if not os.path.exists(filename): if not os.path.exists(filename):
......
...@@ -5,7 +5,7 @@ with open("README.md", "r") as fh: ...@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup( setuptools.setup(
name="mat2", name="mat2",
version='0.3.1', version='0.4.0',
author="Julien (jvoisin) Voisin", author="Julien (jvoisin) Voisin",
author_email="julien.voisin+mat2@dustri.org", author_email="julien.voisin+mat2@dustri.org",
description="A handy tool to trash your metadata", description="A handy tool to trash your metadata",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment