Skip to content

Changelog

All notable changes to the with-tempfile project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

0.1.3 - 2026-10-08

Fixes

  • Test suite:
    • move the Maildir-related tests to the test_temputil.py file
  • Documentation:
    • sync the README.md files with docs/index.md to fix the Maildir spool example in the python/README.md file
    • add API links for the new Maildir-related Python classes, methods, and functions
    • rename the Maildir-style overview section

Additions

  • Add the MaildirSpool.create_file() method to allow the caller to write data to the temporary file over time, not all at once.

0.1.2 - 2026-10-08

Fixes

  • Test suite:
    • fix the pyupgrade invocation so that it actually checks something
  • Documentation:
    • make sure charset-normalizer is installed for reuse

Additions

  • Add the MaildirSpool class and the safecat helper function for safely creating a new file in a Maildir-style spool.
  • Test suite:
    • also run ty for type checking
  • Documentation:
    • tentatively add Python 3.15 as a supported version
  • CI:
    • add sourcehut CI definitions for Alpine Linux

Other changes

  • Test suite:
    • allow mypy 2.x with no changes
    • use uvoxen 0.2.6 for the Tox file format and various bugfixes
    • switch to pytest 9.x:
      • always pass a list to pytest.mark.parametrize()
      • use the --strict command-line option
    • use ruff 0.16.10:
      • switch from noqa: ... to ruff: ignore[...]
      • switch to rule names, not identifiers, in ruff: ignore[...] overrides
  • Documentation:
    • switch from MkDocs to Zensical
    • bump some dependency versions for uv --resolution=lowest
    • use the uvoxen mode of publync to publish the documentation
    • drop the tox.ini file
    • use reuse 6.x and uvoxen 0.2.6 with no changes

0.1.1 - 2025-09-15

Fixes

  • Add the py.typed marker file for mypy.
  • Bump some lower dependency versions so that uv --resolution=lowest works.

0.1.0 - 2025-09-15

Started

  • First public release, more of a proof of concept.