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.1 to 0.43.0 #1037

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 3, 2023

Bumps extract-msg from 0.42.1 to 0.43.0.

Release notes

Sourced from extract-msg's releases.

Version 0.43.0

v0.43.0

  • [[TeamMsgExtractor #56](https://redirect.github.com/interface to stdlib interfaces TeamMsgExtractor/msg-extractor#56)] [[TeamMsgExtractor #248](https://redirect.github.com/Support for returning an EmailMessage object TeamMsgExtractor/msg-extractor#248)] Added new function MessageBase.asEmailMessage which will convert the MessageBase instance, if possible, to an email.message.EmailMessage object. If an embedded MSG file on a MessageBase object is of a class that does not have this function, it will simply be attached to the instance as bytes.
  • Changed imports in message_base.py to help with type checkers.
  • Changed from using email.parser.EmailParser to email.parser.HeaderParser in MessageBase.header.
  • Changed some of the internal code for MessageBase.header. This should improve usage of it, and should not have any noticeable negative changes. You man notice some of the values parse slightly differently, but this effect should be mostly suppressed.

Version 0.42.2

v0.42.2

  • Fix bug in AttachmentBase.mimetype that would cause it to throw an error when accessed. This bug was introduced in v0.42.0.
Changelog

Sourced from extract-msg's changelog.

v0.43.0

  • [[TeamMsgExtractor #56](https://redirect.github.com/interface to stdlib interfaces TeamMsgExtractor/msg-extractor#56)] [[TeamMsgExtractor #248](https://redirect.github.com/Support for returning an EmailMessage object TeamMsgExtractor/msg-extractor#248)] Added new function MessageBase.asEmailMessage which will convert the MessageBase instance, if possible, to an email.message.EmailMessage object. If an embedded MSG file on a MessageBase object is of a class that does not have this function, it will simply be attached to the instance as bytes.
  • Changed imports in message_base.py to help with type checkers.
  • Changed from using email.parser.EmailParser to email.parser.HeaderParser in MessageBase.header.
  • Changed some of the internal code for MessageBase.header. This should improve usage of it, and should not have any noticeable negative changes. You man notice some of the values parse slightly differently, but this effect should be mostly suppressed.

v0.42.2

  • Fix bug in AttachmentBase.mimetype that would cause it to throw an error when accessed. This bug was introduced in v0.42.0.

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.

... (truncated)

Commits
  • 8dfff86 Merge pull request #381 from TeamMsgExtractor/next-release
  • 863ae89 Fix typos in changelog
  • f2a056d Merge pull request #380 from TeamMsgExtractor/248-as-email-message
  • 2f45aaa Ready for version 0.43.0
  • 4649009 Merge pull request #379 from TeamMsgExtractor/next-release
  • 0b741d3 Progress on making the asEmailMessage function
  • 8fc4480 Merge pull request #378 from TeamMsgExtractor/next-release
  • 22a9e1e Fix bug with mimetype
  • See full diff in compare view

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.1 to 0.43.0.
- [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.1...v0.43.0)

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

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 Aug 3, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 4, 2023

Superseded by #1039.

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