Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump extract-msg from 0.39.0 to 0.39.1 #925

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Bumps extract-msg from 0.39.0 to 0.39.1.

Release notes

Sourced from extract-msg's releases.

Version 0.39.1

v0.39.1

Changelog

Sourced from extract-msg's changelog.

v0.39.1

v0.39.0

  • [[TeamMsgExtractor #318](https://github-redirect.dependabot.com/Attachments error if type property is missing on embedded msg files TeamMsgExtractor/msg-extractor#318)] Added code to handle a standards violation (from what I can tell, anyways) caused by the attachment not having an AttachMethod property. The code will log a warning, attempt to detect the method, and throw a StandardViolationError if it fails.
  • [[TeamMsgExtractor #320](https://github-redirect.dependabot.com/KeyError caused by name stream not parsing correctly TeamMsgExtractor/msg-extractor#320)] Changed the way string named properties are handled to allow for the string stream to have some errors and still be parsed. Warnings about these errors will be logged.
  • [[TeamMsgExtractor #324](https://github-redirect.dependabot.com/When saving an attachment headerFormatProperties can throw an exception when its input is None TeamMsgExtractor/msg-extractor#324)] Fixed an issues with contact saving when a list property returns None.
  • [[TeamMsgExtractor #326](https://github-redirect.dependabot.com/[BUG] Some files don't export correctly due to AttributeError TeamMsgExtractor/msg-extractor#326)] Fixed a bug that could cause some files to error when exporting.
  • Fixed an issue where creation and modification times were not being copied to the new OLE file created by OleWriter.
  • Fixed up a few docstrings.
  • Fixed a few issues in MSGFile regarding the filename keyword argument.
  • Added new argument rootPath to OleWriter.fromOleFile for saving a specific directory from an OLE file instead of just copying the entire file. That directory will become the root of the new one.
  • Adjusted code for OleWriter to generate certain values only at save time to make them more dynamic. This allows for existing streams to be properly edited (although has issues with allowing storages to be edited).
  • Added new function OleWriter.deleteEntry to remove an entry that was already added. If the entry is a storage, all children will be removed too.
  • Added new function OleWriter.editEntry to edit an entry that was already added.
  • Added new function OleWriter.addEntry to add a new entry to the writer without an OleFileIO instance. Properties of the entry are instead set using the same keyword arguments as described in OleWriter.editEntry.
  • Changed _DirectoryEntry to DirectoryEntry to make the more finalized version public. Access to the originals that the OleWriter class creates should never happen, instead copies should be returned to ensure the behavior is as expected.
  • Added new function OleWriter.getEntry which returns a copy of the DirectoryEntry instance for that stream or storage in the writer. Use this function to see the current internal state of an entry.
  • Added new function OleWriter.renameEntry which allows the user to rename a stream or storage (in place). This only changes it's direct name and not it's location in the new OLE file.
  • Added new function OleWriter.walk which is similar to os.walk but for walking the structure of the new OLE file.
  • Added new function OleWriter.listItems which is functionally equivalent to olefile.OleFileIO.listdir which returns a list of paths to every item. Optionally a user can get the paths just for streams, just for storages, or both. Requesting neither will simply return an empty list. Default is to just return streams.
  • Added a small amount of path validation to inputToMsgPath which is used in a lot of places where user input for a path is accepted. It ensures illegal characters don't exist and that the path segments (each name for a storage or stream) are less than 32 characters. This will be most helpful for OleWriter.
  • Added many internal helper functions to OleWriter to make extensions easier and consolidate common code. Many of these involve direct access to internal data which is why they are private.

v0.38.4

  • Fix line in OleWriter that was causing exporting to fail.
  • Fixed some issues with the README.

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.

v0.38.2

  • Fixed new NameError accidentally introduced in the previous version.

v0.38.1

  • Added a __del__ method to MSGFile to ensure a bit of proper cleanup should all references to an MSGFile instance be removed before the file is closed. OleFileIO doesn't appear to have one, so it's up to us to ensure it is properly closed. Note that the del keyword 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 the gc module and using it's collect method will free the files if your code has no references to them.
  • Fixed an import issue with signed messages.

v0.38.0

  • [[TeamMsgExtractor #117](https://github-redirect.dependabot.com/Impossible to save an nested msg as msg?  TeamMsgExtractor/msg-extractor#117)] Added class OleWriter to allow the writing of OLE files, which allows for embedded MSG files to be extracted.
  • Added function MSGFile.export which 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 MSGFile for getting the OleDirectoryEntry for a storage or stream. This is mainly for use by the OleWriter class.
  • Added option extractEmbedded to Attachment.save (--extract-embedded on the command line) which causes embedded MSG files to be extracted instead of running their save methods.
  • Fixed minor issues with utils.inputToMsgPath (renamed from utils.inputToMsgPath).

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [extract-msg](https://github.com/TeamMsgExtractor/msg-extractor) from 0.39.0 to 0.39.1.
- [Release notes](https://github.com/TeamMsgExtractor/msg-extractor/releases)
- [Changelog](https://github.com/TeamMsgExtractor/msg-extractor/blob/master/CHANGELOG.md)
- [Commits](TeamMsgExtractor/msg-extractor@v0.39.0...v0.39.1)

---
updated-dependencies:
- dependency-name: extract-msg
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 13, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 27, 2023

Superseded by #938.

@dependabot dependabot bot closed this Feb 27, 2023
@dependabot dependabot bot deleted the dependabot/pip/extract-msg-0.39.1 branch February 27, 2023 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants