Skip to content

Releases

v0.2.0

Choose a tag to compare

@jpmanson jpmanson released this 13 Aug 22:18

Breaking changes

  • Python 3.10 is now the minimum. formatter.py already used PEP 604 syntax (dict | None) evaluated at definition time, which raises TypeError on 3.9 — the previously declared >=3.9 floor was never accurate. Python 3.9 reached end of life in October 2025.
  • requests>=2.32.4 (was >=2.28.0). The old floor allowed versions affected by CVE-2024-35195, CVE-2023-32681 and CVE-2024-47081. The library never uses Session objects nor verify=False, so none of these were exploitable here, but the floor now excludes them outright.

Fixes

  • pydantic>=2.0 is now declared as a dependency. It was imported by common.py and listed in requirements.txt, but missing from install_requires, so installing from PyPI failed with ImportError unless pydantic happened to already be present in the environment.

Packaging

  • Migrated from setup.py + requirements.txt to a pyproject.toml built with hatchling and managed with uv, with a committed uv.lock.
  • The publish workflow now builds and uploads with uv and verifies the lockfile is in sync.

Install

pip install llm-templates
uv add llm-templates

v0.1.12

Choose a tag to compare

@jpmanson jpmanson released this 10 Aug 01:34
  • Added local support for Llama 3.1 model

v0.1.11

Choose a tag to compare

@jpmanson jpmanson released this 10 Aug 00:57
  • Fixed typo in url in setup.py

v0.1.10

Choose a tag to compare

@jpmanson jpmanson released this 17 Jun 14:59
  • Added Cohere and Phi3 templates

v0.1.9

Choose a tag to compare

@jpmanson jpmanson released this 09 May 22:01
  • Added Llama3 chat format

v0.1.8

Choose a tag to compare

@jpmanson jpmanson released this 31 Mar 18:46
  • Minor updates

v0.1.7

Choose a tag to compare

@jpmanson jpmanson released this 24 Feb 18:12
  • Added Google Gemma support

v0.1.5

Choose a tag to compare

@jpmanson jpmanson released this 17 Feb 14:10

Update