Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Temporarily set lower due to missing packages. We'll come back and properly handle this later.
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**0.58.1**
* [[TeamMsgExtractor #493](https://github.com/TeamMsgExtractor/msg-extractor/issues/493)] Fixed unable to open embedded msg files due to `MSGBase.prefixList` still being used after it was removed.
* Corrected the typing signature of `MSGBase.prefix`.

**v0.58.0**
* Changed module to primarily use `MSGPath` for pathing. All functions still except string paths or list paths, they now just also accept `MSGPath` and use it under the hood for path conversions. With this, some functions have been changed to specifically return `MSGPath` rather than list and string versions of paths. Removed: `MSGBase.prefixList`, `utils.inputToMsgPath()`, and `utils.msgPathToString()`. Modified: `*.fixPath()`, `*.listDir()`, and `MSGBase.prefix`.
* Changed setup to use `find_packages()` to try and get ahead of deprecation and ensure all files are distributed correctly.
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ your access to the newest major version of extract-msg.
.. |License: GPL v3| image:: https://img.shields.io/badge/License-GPLv3-blue.svg
:target: LICENSE.txt

.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.58.0-blue.svg
:target: https://pypi.org/project/extract-msg/0.58.0/
.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.58.1-blue.svg
:target: https://pypi.org/project/extract-msg/0.58.1/

.. |PyPI2| image:: https://img.shields.io/badge/python-3.8+-brightgreen.svg
:target: https://www.python.org/downloads/release/python-3810/
Expand Down
4 changes: 2 additions & 2 deletions extract_msg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

__author__ = 'Destiny Peterson & Matthew Walker'
__date__ = '2026-10-28'
__version__ = '0.58.0'
__date__ = '2026-10-31'
__version__ = '0.58.1'

__all__ = [
# Modules:
Expand Down
2 changes: 1 addition & 1 deletion extract_msg/attachments/emb_msg_att.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class EmbeddedMsgAttachment(AttachmentBase):

def __init__(self, msg: MSGFile, dir_: str, propStore: PropertiesStore):
super().__init__(msg, dir_, propStore)
self.__prefix = msg.prefixList + [dir_, '__substg1.0_3701000D']
self.__prefix = msg.prefix / dir_ / '__substg1.0_3701000D'
self.__data = openMsg(self.msg.path, prefix = self.__prefix, parentMsg = self.msg, treePath = self.treePath, **self.msg.kwargs)

def getFilename(self, **kwargs) -> str:
Expand Down
2 changes: 1 addition & 1 deletion extract_msg/msg_classes/msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ def path(self):
return self.__path

@property
def prefix(self) -> str:
def prefix(self) -> MSGPath:
"""
The prefix of the ``MSGFile`` instance.

Expand Down
Loading