Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SpamScope/mail-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.1.4
Choose a base ref
...
head repository: SpamScope/mail-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.2.0
Choose a head ref
  • 12 commits
  • 33 files changed
  • 5 contributors

Commits on Jun 25, 2025

  1. Configuration menu
    Copy the full SHA
    0c9259f View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2025

  1. Use uv to manage packages (#141)

    * Refactor code structure for improved readability and maintainability
    
    * Add installation of Astral UV in CI workflow
    
    * Format installation instructions in README.md for better readability
    
    * Fix punctuation in README.md for uv documentation link
    
    * Refactor CI workflow and update Docker setup for mail-parser
    
    - Removed unnecessary debug steps and build arguments from GitHub Actions workflow.
    - Added detailed instructions for running the Docker image in README.md.
    - Replaced the old Dockerfile and docker-compose.yml with a new setup for improved functionality.
    
    * Remove Splunk app link from the README.md
    fedelemantuano authored Jun 26, 2025
    Configuration menu
    Copy the full SHA
    98048d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76f8a66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31a08c2 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2025

  1. Configuration menu
    Copy the full SHA
    4170a01 View commit details
    Browse the repository at this point in the history
  2. Fixed issue Parser behaving different on Linux vs Windows #136 (#142)

    * Fixed issue Parser behaving different on Linux vs Windows #136
    
    * fix(tests): ensure proper newline at end of mail_test_17 file
    fedelemantuano authored Jul 2, 2025
    Configuration menu
    Copy the full SHA
    1782bf7 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2025

  1. Bump pypa/gh-action-pypi-publish in /.github/workflows (#144)

    Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.5.1 to 1.13.0.
    - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
    - [Commits](pypa/gh-action-pypi-publish@v1.5.1...v1.13.0)
    
    ---
    updated-dependencies:
    - dependency-name: pypa/gh-action-pypi-publish
      dependency-version: 1.13.0
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 4, 2025
    Configuration menu
    Copy the full SHA
    9fe6432 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2025

  1. General improvements (#145)

    * Adding copilot instructions
    
    * Add comprehensive tests for main functionality and utility functions
    
    - Implemented tests for the main execution flow, including success and exception handling scenarios.
    - Added tests for parsing input from files, strings, and stdin, ensuring proper error handling.
    - Created tests for utility functions, covering edge cases and expected behaviors for string handling, header parsing, and received headers.
    - Removed dependency on 'six' from the project as it is no longer required.
    - Introduced a new test suite for utility functions to ensure robustness and reliability.
    
    * Enhance documentation and testing:
    - Update bug report template for clarity and structure.
    - Improve copilot instructions with detailed project overview and architecture.
    - Refine markdown content rules for better formatting consistency.
    - Add markdownlint configuration for enforcing markdown standards.
    - Update pre-commit configuration to include markdownlint hook.
    - Revise README for improved clarity and additional usage examples.
    - Enhance test for Outlook file parsing to handle missing msgconvert gracefully.
    
    * Revise README for clarity and detail on mail-parser features and usage
    
    * Update Python version requirements to support up to 3.14 and adjust CI workflow accordingly
    
    * Add Docker best practices instructions and update pre-commit config to exclude instruction files from markdown linting
    fedelemantuano authored Oct 22, 2025
    Configuration menu
    Copy the full SHA
    025f937 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2025

  1. Issue 146: Fix comma in encoded address header (#147)

    * Fix comma in encoded address header (issue 146), add test for it and fix issue136 test
    
    * pre-commit: improve formatting and readability in MailParser and tests
    
    ---------
    
    Co-authored-by: Fedele Mantuano <[email protected]>
    AndreasLF and fedelemantuano authored Nov 6, 2025
    Configuration menu
    Copy the full SHA
    1c700e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2026

  1. Refactor received header parsing: replace regex list with RFC 5321 to… (

    #150)
    
    * Refactor received header parsing: replace regex list with RFC 5321 tokenizer
    
    Replace the 10 separate regex patterns (each duplicating boundary
    lookaheads) with a keyword-based tokenizer aligned with RFC 5321 §4.4
    grammar. Key improvements:
    
    - Tokenize on clause keywords (from/by/via/with/id/for) in a single
      pass instead of running 10 independent regex searches
    - Handle IBM "for <addr> from <sender>" by accepting only the first
      'from' clause per header
    - Extract envelope-from/sender from parenthesized comments in clause
      values
    - Validate IPv4 octets (0-255) instead of matching any digits; add
      IPv6 support via REGXIP6
    - Simplify JUNK_PATTERN to only collapse tabs/newlines, preserving
      parenthesized comments and bracketed IPs
    - Add 27-test corpus covering Postfix, Exim, Exchange, Gmail,
      SendGrid, IBM/Domino, AWS SES, and edge cases
    
    https://claude.ai/code/session_01CwmwWkvZGLpTBY6ApKFi79
    
    * Refactor markdown linting configuration and improve MailParser error handling
    
    * Enhance date parsing and logging in MailParser; add tests for envelope-from handling
    
    ---------
    
    Co-authored-by: Claude <[email protected]>
    fedelemantuano and claude authored Mar 29, 2026
    Configuration menu
    Copy the full SHA
    5f96ce0 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2026

  1. Bump version to 4.2.0

    fedelemantuano committed Apr 4, 2026
    Configuration menu
    Copy the full SHA
    42047b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3db66ce View commit details
    Browse the repository at this point in the history
Loading