Skip to content

Releases: robertfmath/create-intro-cards

v1.0.7

Choose a tag to compare

@robertfmath robertfmath released this 19 Sep 17:26
5331823
  • Explicitly import matplotlib.figure to fix Pylance attribute access issue

Full Changelog: v1.0.6...v1.0.7

v1.0.6

Choose a tag to compare

@robertfmath robertfmath released this 19 Sep 17:14
7f4d8dd
  • Migrated dependency management and CI from pip/requirements.txt to uv; README.md, format-test-and-build-docs.sh, and .github/workflows/ci.yml were updated accordingly, and requirements.txt/requirements-dev.txt were removed in favor of pyproject.toml and uv.lock
  • Removed the unused numpy dependency
  • Refactored the internals of create_intro_cards.py to reduce duplication and improve readability:
    • Introduced a private _CardLayout dataclass to bundle layout/formatting parameters
    • Extracted _resolve_photo, _make_page_fig, and _validate_inputs helper functions
    • Added _log_to_stream/_log_to_stream_and_file context managers for logging setup/teardown
  • No changes to the public API — make_pdf and make_pdf_preview signatures and defaults are unchanged
  • Made test photo/data paths resolve relative to the test file's location instead of the current working directory, so the test suite can be run from any directory
  • Aligned Ruff's target-version with the project's minimum supported Python version (3.11)
  • Added CLAUDE.md, documenting the project's architecture and commands for AI coding assistants

Full Changelog: v1.0.5...v1.0.6

v1.0.5

Choose a tag to compare

@robertfmath robertfmath released this 14 Mar 02:26
  • Mock the return value of datetime.datetime.now() in the TestMakePDF test suite
  • Insert backticks and replace a few words in docstrings
  • Rename a few internal variables and a test
  • Remove trailing commas in README code snippets

Full Changelog: v1.0.4...v1.0.5

v1.0.4

Choose a tag to compare

@robertfmath robertfmath released this 13 Mar 00:46

Update filename of logo and revise example_people_data.png

v1.0.3

Choose a tag to compare

@robertfmath robertfmath released this 12 Mar 23:27

All references to "Create-Intro-Cards" were replaced with "create-intro-cards" for the sake of uniformity with the PyPI package name

v1.0.2

Choose a tag to compare

@robertfmath robertfmath released this 10 Mar 01:50
  • Remove plt.close(fig="all") in favor of closing each fig individually with plt.close(fig). This avoids a memory warning when many figures are created.
  • Docstrings: adjust backticks, add additional func field list, make two of them raw strings to avoid \ escape warning
  • Add timing estimate to README.md
  • Adjust wording in pyproject.toml

v1.0.1

Choose a tag to compare

@robertfmath robertfmath released this 09 Mar 04:57

Includes rewordings in README and docstrings, an update to the project description in pyproject.toml, and changing of badge colors in README