Releases: robertfmath/create-intro-cards
Releases · robertfmath/create-intro-cards
Release list
v1.0.7
- Explicitly import matplotlib.figure to fix Pylance attribute access issue
Full Changelog: v1.0.6...v1.0.7
v1.0.6
- Migrated dependency management and CI from
pip/requirements.txttouv;README.md,format-test-and-build-docs.sh, and.github/workflows/ci.ymlwere updated accordingly, andrequirements.txt/requirements-dev.txtwere removed in favor ofpyproject.tomlanduv.lock - Removed the unused
numpydependency - Refactored the internals of
create_intro_cards.pyto reduce duplication and improve readability:- Introduced a private
_CardLayoutdataclass to bundle layout/formatting parameters - Extracted
_resolve_photo,_make_page_fig, and_validate_inputshelper functions - Added
_log_to_stream/_log_to_stream_and_filecontext managers for logging setup/teardown
- Introduced a private
- No changes to the public API —
make_pdfandmake_pdf_previewsignatures 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-versionwith 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
- Mock the return value of
datetime.datetime.now()in theTestMakePDFtest 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
Update filename of logo and revise example_people_data.png
v1.0.3
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
- Remove
plt.close(fig="all")in favor of closing each fig individually withplt.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
Includes rewordings in README and docstrings, an update to the project description in pyproject.toml, and changing of badge colors in README