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.42.0 to 0.42.1 #1035

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 31, 2023

Bumps extract-msg from 0.42.0 to 0.42.1.

Release notes

Sourced from extract-msg's releases.

Version 0.42.1

v0.42.1

  • Fixed some constants being accessed with the wrong name (names were changed in reorganization).
  • Removed unused regular expression.
Changelog

Sourced from extract-msg's changelog.

v0.42.1

  • Fixed some constants being accessed with the wrong name (names were changed in reorganization).
  • Removed unused regular expression.

v0.42.0

  • [[TeamMsgExtractor #372](https://redirect.github.com/extract_msg.signed_attachment.save returning Message object after data has been written to disk TeamMsgExtractor/msg-extractor#372)] Changed the way that the save functions return a value. This makes the return value from all save functions much more informative, allowing a user to separate if a file or folder (or if more than one) was saved from the function. It also guarantees that all classes from this module will return the relevant path(s) if data is actually saved.
  • [[TeamMsgExtractor #288](https://redirect.github.com/msg.attachment.save() please add a feature to overwrite existing file TeamMsgExtractor/msg-extractor#288)] Added feature to allow attachment save functions to simply overwrite existing files of the same name. This can be done with the overwriteExisting keyword argument from code or the --overwrite-existing option from the command line.
  • [[TeamMsgExtractor #40](https://redirect.github.com/NotImplementedError: Current version of extract_msg does not support extraction of containers that are not embedded msg files. TeamMsgExtractor/msg-extractor#40)] Added new submodule custom_attachments. This submodule provides an extendable way to handle custom attachment types, attachment types whose structure and formatting are not defined in the Microsoft documentation for MSG files. This includes a handler to at least partially cover support for Outlook images.
  • [[TeamMsgExtractor #373](https://redirect.github.com/Cannot decode using CP950 (and possibly others) due to the Python implementation differing from the Microsoft implementation TeamMsgExtractor/msg-extractor#373)] Added the encoding submodule for encoding tasks, including proper support for Microsoft's implementation of CP950. This gets added to the codecs list as "windows-950".
    • Added infrastructure to make it easy to add variable-byte (up to two bytes) encodings and single-byte encodings.
    • Added the following encodings:
      • windows-874
      • x-mac-ce
      • x-mac-cyrillic
      • x-mac-greek
      • x-mac-icelandic
      • x-mac-turkish
  • Fixed an issue in the save functions that left the possibility for the zip files to not end up closing if the save function created it and then had an exception.
  • Added new property AttachmentBase.clsid which returns the listed CLSID value of the data stream/storage of the attachment.
  • Changed internal behavior of MSGFile.attachments. This should not cause any noticeable changes to the output.
  • Refactored code significantly to make it more organized.
  • Changed the exports from the main module to only include an important subset of the module. For other items, you'll have to import the submodule that it falls under to access it. Submodules export all important pieces, so it will be easier to find.
    • This includes having many modules be under entirely new paths. Some of these changes have been done with no deprecation, something I generally try to avoid. This is happening at the same time as the public api is significantly changing, which makes it more acceptable.
  • Fixed __main__ using the wrong enum for error behavior.
  • Fixed Named.get being severely out of date (it's not used anywhere by the module which is why it wasn't noticed).
  • Fixed Named.__getitem__ being entirely case-sensitive.
  • Switched much of the internal code (and the treePath property of all classes that have it) to using weakref.ReferenceType to avoid hard cyclic references.
  • Fixed Recipient._getTypedStream never returning a value.
  • Added additional type hints in various places.
  • Modified tests.py to only run if it is run as a file instead of imported.
  • Changed knownMsgClass to a private function since it is explicitly not being exported by any part of the module.
  • Removed unused function getFullClassName.
  • Fixes to the HTML body when saving as HTML will no longer require the preparedHtml/--prepared-html option.
  • Removed unused exceptions.
  • Entirely reoganized the way attachments are initialized, including the class that will be used in various circumstances. Embedded MSG files, custom attachments, and web attachments will all use dedicated classes that are subclasses of AttachmentBase.
    • With this change, the way to specify a new Attachment class is to override the function used when creating attachments. This can be done by passing attachmentInit = myFunction as an option to openMsg. This function MUST return an instance of AttachmentBase.
  • Added first implementation of web attachments. Saving is not currently possible, but basic relevant property access is now possible. Saving will not be stopped by this attachment if skipNotImplemented = True is passed to the save function.
  • Changed the option to suppress RTFDE errors to fall under the ErrorBehavior enum. Usage of the original option will be allowable, but is being marked as deprecated. However, it is still a dedicated option from the command line.
    • Also fixed the option not properly ignoring some RTFDE errors, specifically the ones that it is normal for the module to throw.
  • Removed some constants that are not used by the module.
  • Updated to support RTFDE version 0.1.0. Users encountering random errors from that module should find that those errors have disappeared. If you get errors from it still, bring up the issue on their GitHub.
  • Fixed bug that would cause weird behavior if you gave an empty string as the path for an MSG file.
  • Added support for IPM.StickyNote.
  • Fixed an issue that would cause MSG file to never close if an error happened during any of the __init__ functions for MSG classes.
  • Removed unneeded chardet dependency.
  • Removed Contact.__init__ as it didn't provide any unique behavior.
  • Changed the documentation of openMsg to specify that it accepts all options recognized by MSGFile subclasses, allowing the doc string to not be modified every time one of them is changed.
    • Changed the documentation of various __init__ methods to do the same thing.
  • Added dataType property to AttachmentBase and SignedAttachment for checking the class that the data will be, if accessible. Returns None if the data is inaccessible, including because accessing it would throw an exception.
  • Added new enum InsecureFeatures and option insecureFeatures. This option will allow certain features with security implications to be used for files that you trust. Currently the only feature it supports is the usage of PIL/Pillow to open and modify images. All features like this will be opt-in to reduce possible vulnerabilities.

... (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.42.0 to 0.42.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.42.0...v0.42.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 31, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 3, 2023

Superseded by #1037.

@dependabot dependabot bot closed this Aug 3, 2023
@dependabot dependabot bot deleted the dependabot/pip/extract-msg-0.42.1 branch August 3, 2023 16:33
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