Releases: TeamMsgExtractor/msg-extractor
Releases · TeamMsgExtractor/msg-extractor
Version 0.38.3
v0.38.3
- Fixed issues in HTML generation that caused line breaks to be omitted from large sections of the text.
- Fixed issues with requirements file.
Version 0.38.2
v0.38.2
- Fixed new
NameErroraccidentally introduced in the previous version.
Version 0.38.1
v0.38.1
- Added a
__del__method toMSGFileto ensure a bit of proper cleanup should all references to anMSGFileinstance be removed before the file is closed.OleFileIOdoesn't appear to have one, so it's up to us to ensure it is properly closed. Note that thedelkeyword does not guarantee the immediate deletion of the object, and you should take care to close the file yourself. If this is not possible, importing thegcmodule and using it'scollectmethod will free the files if your code has no references to them. - Fixed an import issue with signed messages.
Version 0.38.0: The OLE Writer Update
While the update doesn't add many features, it adds one of the features that has been requested since about the time I joined the module 4 years ago: The ability to extract embedded MSG files as .msg files. This is one of the more important milestones.
v0.38.0
- [TeamMsgExtractor #117] Added class
OleWriterto allow the writing of OLE files, which allows for embedded MSG files to be extracted. - Added function
MSGFile.exportwhich copies all streams and storages from an MSG file into a new file. This can "clone" an MSG file or be used for extracting an MSG file that is embedded inside of another. - Added hidden function to
MSGFilefor getting theOleDirectoryEntryfor a storage or stream. This is mainly for use by theOleWriterclass. - Added option
extractEmbeddedtoAttachment.save(--extract-embeddedon the command line) which causes embedded MSG files to be extracted instead of running their save methods. - Fixed minor issues with
utils.inputToMsgPath(renamed fromutils.inputToMsgpath). - Renamed
utils.msgpathToStringtoutils.msgPathToString. - Made some of the module requirements a little more strict to better version control. I'll be trying to make periodic checks for updates to the dependency packages and make sure that new versions are compatible before changing the allowed versions, while also trying to keep the requirements a bit flexible.
Version 0.37.1
v0.37.1
- Added option to save function (including
MSGFile.saveAttachments) to skip any attachments marked as hidden. This can also be done from the command line with--skip-hidden. - Fixed an issue that could cause an
MSGFileto be included in the attachment names instead of just strings. - Fixed up several comments.
- Fixed bug that would cause spaces at the end of the subject or filename to break the module.
Version 0.37.0
v0.37.0
- [TeamMsgExtractor #303] Renamed internal variable that wasn't changed when the other instances or it were renamed.
- [TeamMsgExtractor #302] Fixed properties missing (a fatal MSG error) raising an unclear exception. It now uses
InvalidFileFormatError. - Updated
READMEto contain documentation on command line option added in previous version. - Removed
MSGFile.mainPropertiesafter deprecating it in v0.36.0. - Added new
PropertiesIntelligencetype:ERROR. This type is used when a properties instance is created but has something wrong with it that is not necessarily fatal. Currently the only thing that will cause it is the properties stream being 0 bytes.
Version 0.36.5
v0.36.5
- Documented and exposed to the command line the ability to save the headers to it's own file when saving the msg file. Thanks to martin-mueller-cemas on GitHub for fixing this (and telling me I can switch the branch a pull request points to). I don't know when I added the code to allow the user to do it, but somehow it was never documented and never exposed to the command line.
Version 0.36.4
v0.36.4
- [TeamMsgExtractor #291] Fixed typo in
MSGFile.saveRawthat may have existed for a significant amount of time. It was using the wrong function (same name, but with different capitalization) but was hidden untilMSGFilestopped being derived fromOleFileIO. - Added logging code to
MessageBase.getSavePdfBodyto log the list that is going to be used to runwkhtmltopdf. This is mainly for debugging purposes, to allow users to potentially see why their arguments may be failing. - Updating funding information on GitHub and the
READMEwith more ways to support the module's development. - Fixed one of the exceptions in
MessageBase.getSavePdfBodynot using an fstring which caused it to omit information. - Changed the way
wkhtmltopdfis called to patch a possible security vulnerability. This also seems to have fixed [TeamMsgExtractor #291].
Version 0.36.3
v0.36.3
- Added an option to skip the body if it could not be found, rather than throwing an error. This will cause no file to be made for it in the event no valid body exists. For the save functions, this option is
skipBodyNotFoundand from the command line the option is--skip-body-not-found. - Fixed a bug that caused contacts to save the business phone with two colons instead of 1.
Version 0.36.2
v0.36.2
- [TeamMsgExtractor #286] Fix missing import.