3 Copy ``mailcap.py`` from Python 3.12 because Python 3.13 dropped it.
7 GHActions: Test with Python 3.12.
9 Version 3.1.0.post5 (2023-07-07)
11 Install all Python and PyPy versions from ``conda-forge``.
13 Version 3.1.0.post4 (2022-12-15)
15 Use ``conda`` to install old Python versions.
17 Version 3.1.0.post3 (2022-12-02)
21 Version 3.1.0.post2 (2022-10-26)
25 Version 3.1.0.post1 (2021-09-24)
29 Stop testing at Travis.
31 Version 3.1.0 (2021-05-23)
33 Convert mimedecode.docbook to reST. Generate html/man/text
36 Replaced outdated and insecure `mktemp` with `NamedTemporaryFile`.
40 Version 3.0.0 (2019-02-01)
44 Drop support for Python 3.3.
46 Version 2.9.0 (2017-12-12)
48 Split mimedecode.py into a mimedecode library and a small script.
50 Move formatparam_27.py and mimedecode_version.py to the library.
52 Make the library executable via ``python -m mimedecode``.
54 Rename mimedecode_version.py to __version__.py.
56 Version 2.8.0 (2017-11-03)
60 Monkey-patch email.message._formatparam under Python 3:
61 replace it with _formatparam from Python 2.7
62 to avoid re-encoding non-ascii params.
64 Fix: do not decode bytes to unicode under Python 2.7.
66 Stop supporting Python 2.6.
68 Code cleanup: fixed flake8 errors and warnings.
70 Push to GitHub. Tests at Travis.
72 Version 2.7.0 (2017-04-26)
74 Use m_lib.defenc instead of m_lib; install it from PyPI.
76 Make options --save-headers|body|message to work with multipart subparts.
78 Version 2.6.0 (2014-06-08)
80 Make options -e/-i to work with multipart subparts.
82 Add option -I to completely ignore a part - no headers, no body,
85 Open all output files in binary mode. Output os.linesep instead of '\n'.
87 Test --save-headers|body|message masks one after another to allow
88 saving a message or a subpart to more than one file.
90 Version 2.5.0 (2014-03-18)
92 Add option --set-header=header:value to set header's value (only at the top
95 Add option --set-param=header:param=value to set header parameter's value
96 (only at the top level). The header must exist.
98 Add option -B to skip content-transfer-decoding binary attachments.
100 Add options --save-headers, --save-body and --save-message to save decoded
101 headers/bodies/messages to files.
103 Add option -O to set the destination directory for output files.
105 Fix a minor bug: if a multipart message (or a subpart) lacks any textual
106 content - avoid putting an excessive newline.
108 Version 2.4.0 (2014-03-08)
110 Change option -d to accept a comma-separated list of headers:
113 Change option -d to decode all headers and accept a list of exceptions:
116 Change option -p to accept lists of headers and parameters:
117 -p h1,h2,h3,..:p1,p2,p3,..
119 Allow * and exceptions for -p in the headers and parameters lists:
120 -p *,-h1,-h2,-h3:p1,p2,p3
121 -p h1,h2,h3:*,-p1,-p2,-p3
122 -p *,-h1,-h2,-h3:*,-p1,-p2,-p3
124 Change option -r to accept a list of headers: -r h1,h2,h3,...
126 Change option -r to remove all headers and accept a list of exceptions:
129 Change option -R to accept lists of headers and parameters:
131 -R h1,h2,h3:*,-p1,-p2,-p3
132 -R *,-h1,-h2,-h3:p1,p2,p3
133 -R *,-h1,-h2,-h3:*,-p1,-p2,-p3
135 Publish docs in html format.
139 Version 2.3.8 (2014-02-26)
141 Add option --remove-params=header to remove all parameters from the header.
143 Version 2.3.7 (2014-02-23)
145 Add option -r to remove headers and option -R to remove header's parameters.
147 Version 2.3.6 (2014-02-19)
149 Decode "To", "Cc", "Reply-To" and "Mail-Followup-To" headers by default.
151 Report test progress and success.
153 Add tests for headers and parameters decoding.
155 Add tests for passing (-b) and skipping (-i) message bodies.
157 Version 2.3.4 (2014-02-11)
159 Optimize recursive decoding.
161 Fix a bug - decode message/rfc822 subparts.
163 Version 2.3.3 (2014-02-02)
165 Forbid filtering from console. When the program runs with stdin
166 connected to the console it shows usage help.
168 Fix a bug - option -o and no parameters.
170 Version 2.3.2 (2014-02-01)
172 Fix a bug - do not generate 'From ' headers in subparts.
178 Version 2.3.1 (2014-01-31)
180 Update documentation.
182 Version 2.3.0 (2014-01-30)
184 Add option -o and output_file argument.
186 Version 2.2.2 (2014-01-23)
190 Version 2.2.1 (2013-12-24)
194 Version 2.2.0 (2013-12-21)
196 Rename __version__.py to mimedecode_version.py.
200 Version 2.1.5 (2013-12-18)
202 Move __version__ out of mimedecode.py to __version__.py
203 to allow installation without m_lib.
205 Version 2.1.4 (2013-12-11)
207 Add installation instruction in INSTALL.txt.
209 Version 2.1.3 (2013-12-10)
213 Version 2.1.2 (2013-07-26)
215 Minor fix in Makefile. Switched to git.
217 Version 2.1.1 (2012-04-15)
219 Removed svn:keywords.
221 Version 2.1.0 (2006-04-27)
223 A patch by Bogdan Maryniuk <bogdan.maryniuk@gmail.com>: portable way to get
228 Major rewrite to use python email package.