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.40.0 to 0.41.1 #291

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 10, 2023

Bumps extract-msg from 0.40.0 to 0.41.1.

Release notes

Sourced from extract-msg's releases.

Version 0.41.1

v0.41.1

Version 0.41.0

v0.41.0

  • [[TeamMsgExtractor #357](https://github.com/"TypeError: :param data: MUST be bytes." in properties.py TeamMsgExtractor/msg-extractor#357)] Fixed an issue where the properties stream being absent would raise an error message that was not clear.
  • [[TeamMsgExtractor #357](https://github.com/"TypeError: :param data: MUST be bytes." in properties.py TeamMsgExtractor/msg-extractor#357)] Added a way to suppress StandardViolationError for poorly created files. This may cause issues you might not expect since this exception is meant to stop the processing for a reason.
  • [[TeamMsgExtractor #223](https://github.com/Signed messages only show one attachment, the smime.p7m file itself TeamMsgExtractor/msg-extractor#223)] Finally got around to dealing with signed attachments that are embedded MSG files. SignedAttachment.data now returns either bytes or MSGFile. SignedAttachment also now has a asBytes property that will return the bytes that created the signed attachment, regardless of if it is an MSG or not, making it unnecessary to call MSGFile.exportBytes to get the bytes of the embedded MSG file, which can add a small delay to your code. As Attachment is a much more complex class, it does not (at least yet) have this property. Also unlike Attachment, SignedAttachment will not throw an exception if the data is an MSG file but is not supported. Instead, it will simply be logged as a exception, but the code will continue. If the data is successfully read as an embedded MSG file, the AttachmentType will be AttachmentType.SIGNED_EMBEDDED.
  • Deprecated AttachErrorBehavior in favor of the new ErrorBehavior enum which controls the error behavior for the various parts of the MSG file. Uses of the former will work until the next major version.
  • Deprecated the attachmentErrorBehavior parameter of MSGFile in favor of errorBehavior. Uses of the previous will work until the next major version.
  • Added treePath property to SignedAttachment to bring it more in line with AttachmentBase.
  • Fixed bug in rare logging message caused by incorrect type name.
  • Removed the dev and dev_classes submodules, as most of their features are possible using the base code. Additionally, the classes involved because significantly outdated over time.
  • Removed the --dev argument from the command line.
  • Changed the message for the standards violation error when an attachment has no specified attachment type and it could not be determined automatically. The error now specifies the path of the attachment that had an issue for easier debugging. Additionally, the log message for it simply not being present has also been changed to show this information.
  • Added a dev level log that will output the entire properties mapping if the attachment type is not set. Dev level is 5.
  • Fixed a critical error in Properties that caused the __contains__ method to always be False. This occurred because it was missing a return statement. Fortunately, it looks like only one part of the module was affected due to other parts using a properly written function.
  • Removed some debug prints that slipped through.
  • Changed some parts to use in for checking that a property exists as opposed to has_key. The function was there to act more like Python 2.
  • Deprecated Properties.has_key.
  • Removed the validation submodule and all related references. It was pretty outdated and has minimal usage at this point in time. It may come back at some later point.
  • Changed behavior of MessageBase.save so it doesn't save raw when an exception occurs. This behavior may have ended up creating unexpected output which is why it was removed. It was mainly there for debugging in the first place, but is no longer necessary.
  • Added __contains__ function to Named class.
  • Fixed missing import in message_base.py that would only cause problems if something was wrong with the HTML.
  • Fixed a bad error message appearing when trying to add or use an entry in OleWriter using an empty path.
  • Changed the InvalidFileFormatError for a missing property stream to a StandardViolationError.
  • Changed the exception messages for a few exceptions to fix typos and clarify.
  • Fixed issues in _rtf.tokenize_rtf which would cause an exception to handle incorrectly and throw an unclear error.
  • Fixed various small bugs caused by typos.
  • Clean up unneeded imports.
  • Improved existing __all__ entries and added some where they should be.
  • Removed default export of the UnrecognizedMSGTypeError exception in favor of exporting the exceptions module.
  • Removed default export of properHex.
  • Improved type checking in many places.
  • Fixed issues in RecurrencePattern.
Changelog

Sourced from extract-msg's changelog.

v0.41.1

v0.41.0

  • [[TeamMsgExtractor #357](https://github.com/"TypeError: :param data: MUST be bytes." in properties.py TeamMsgExtractor/msg-extractor#357)] Fixed an issue where the properties stream being absent would raise an error message that was not clear.
  • [[TeamMsgExtractor #357](https://github.com/"TypeError: :param data: MUST be bytes." in properties.py TeamMsgExtractor/msg-extractor#357)] Added a way to suppress StandardViolationError for poorly created files. This may cause issues you might not expect since this exception is meant to stop the processing for a reason.
  • [[TeamMsgExtractor #223](https://github.com/Signed messages only show one attachment, the smime.p7m file itself TeamMsgExtractor/msg-extractor#223)] Finally got around to dealing with signed attachments that are embedded MSG files. SignedAttachment.data now returns either bytes or MSGFile. SignedAttachment also now has a asBytes property that will return the bytes that created the signed attachment, regardless of if it is an MSG or not, making it unnecessary to call MSGFile.exportBytes to get the bytes of the embedded MSG file, which can add a small delay to your code. As Attachment is a much more complex class, it does not (at least yet) have this property. Also unlike Attachment, SignedAttachment will not throw an exception if the data is an MSG file but is not supported. Instead, it will simply be logged as a exception, but the code will continue. If the data is successfully read as an embedded MSG file, the AttachmentType will be AttachmentType.SIGNED_EMBEDDED.
  • Deprecated AttachErrorBehavior in favor of the new ErrorBehavior enum which controls the error behavior for the various parts of the MSG file. Uses of the former will work until the next major version.
  • Deprecated the attachmentErrorBehavior parameter of MSGFile in favor of errorBehavior. Uses of the previous will work until the next major version.
  • Added treePath property to SignedAttachment to bring it more in line with AttachmentBase.
  • Fixed bug in rare logging message caused by incorrect type name.
  • Removed the dev and dev_classes submodules, as most of their features are possible using the base code. Additionally, the classes involved because significantly outdated over time.
  • Removed the --dev argument from the command line.
  • Changed the message for the standards violation error when an attachment has no specified attachment type and it could not be determined automatically. The error now specifies the path of the attachment that had an issue for easier debugging. Additionally, the log message for it simply not being present has also been changed to show this information.
  • Added a dev level log that will output the entire properties mapping if the attachment type is not set. Dev level is 5.
  • Fixed a critical error in Properties that caused the __contains__ method to always be False. This occurred because it was missing a return statement. Fortunately, it looks like only one part of the module was affected due to other parts using a properly written function.
  • Removed some debug prints that slipped through.
  • Changed some parts to use in for checking that a property exists as opposed to has_key. The function was there to act more like Python 2.
  • Deprecated Properties.has_key.
  • Removed the validation submodule and all related references. It was pretty outdated and has minimal usage at this point in time. It may come back at some later point.
  • Changed behavior of MessageBase.save so it doesn't save raw when an exception occurs. This behavior may have ended up creating unexpected output which is why it was removed. It was mainly there for debugging in the first place, but is no longer necessary.
  • Added __contains__ function to Named class.
  • Fixed missing import in message_base.py that would only cause problems if something was wrong with the HTML.
  • Fixed a bad error message appearing when trying to add or use an entry in OleWriter using an empty path.
  • Changed the InvalidFileFormatError for a missing property stream to a StandardViolationError.
  • Changed the exception messages for a few exceptions to fix typos and clarify.
  • Fixed issues in _rtf.tokenize_rtf which would cause an exception to handle incorrectly and throw an unclear error.
  • Fixed various small bugs caused by typos.
  • Clean up unneeded imports.
  • Improved existing __all__ entries and added some where they should be.
  • Removed default export of the UnrecognizedMSGTypeError exception in favor of exporting the exceptions module.
  • Removed default export of properHex.
  • Improved type checking in many places.
  • Fixed issues in RecurrencePattern.

v0.40.0

  • [[TeamMsgExtractor #338](https://github.com/[BUG] Contacts saved as RTF are often invalid. TeamMsgExtractor/msg-extractor#338)] Added new code to handle injection of text into the RTF body. For many cases, this will be much more effective as it relies on ensuring that it is in the main group and past the header before injection. It is not currently the first choice as it doesn't have proper respect for encapsulated HTML, however it will replace some of the old methods entirely. Solving this issue was done through the use of a few functions and the internal _rtf module. This module in it's entirety is considered to be implementation details, and I give no guarantee that it will remain in it's current state even across patch versions. As such, it is not recommended to use it outside of the module.
  • Changed MessageBase.rtfEncapInjectableHeader and MessageBase.rtfPlainInjectableHeader from str to bytes. They always get encoded anyways, so I don't know why I had them returning as str.
  • Updated minimum Python version to 3.8 as 3.6 has reached end of support and 3.7 will reach end of support within the year.
  • Updated information in README.

v0.39.2

  • Fixed issues with AttachmentBase.name that could cause it to generate wrong.
  • Added convenience function MSGFile.exportBytes which returns the exported version from MSGFile.export as bytes instead of writing it to a file or file-like object.

v0.39.1

... (truncated)

Commits
  • 7e93f7b Merge pull request #363 from TeamMsgExtractor/next-release
  • d75c868 Fix bad link in changelog
  • 4336411 Fix #362
  • 1837ce2 Merge pull request #359 from TeamMsgExtractor/next-release
  • c3e71ba Fixed typo in changelog
  • abec824 Last cleanup and organization. Testing
  • 1008ab0 Added most of remaining all and fixed class
  • 459d92e Reorganization of all and add missing ones.
  • 3530965 Added all for exceptions.py
  • ceee7d6 Fix and finish OleWriter tests
  • Additional commits viewable 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 10, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/extract-msg-0.41.1 branch 2 times, most recently from 6c50416 to 0d800ce Compare May 16, 2023 14:43
@dependabot dependabot bot force-pushed the dependabot/pip/extract-msg-0.41.1 branch from 0d800ce to 02fa4d9 Compare May 23, 2023 13:41
Bumps [extract-msg](https://github.com/TeamMsgExtractor/msg-extractor) from 0.40.0 to 0.41.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.40.0...v0.41.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/extract-msg-0.41.1 branch from 02fa4d9 to ff5f289 Compare May 23, 2023 13:47
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 23, 2023

Looks like extract-msg is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this May 23, 2023
@dependabot dependabot bot deleted the dependabot/pip/extract-msg-0.41.1 branch May 23, 2023 13:48
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