diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 88f7c73..2be9c43 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.4" + ".": "0.2.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 16f7a75..bc60fd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.0](https://github.com/promptfoo/promptfoo-python/compare/promptfoo-v0.1.4...promptfoo-v0.2.0) (2026-09-18) + + +### ⚠ BREAKING CHANGES + +* Node.js 22.22.0 or newer is now required. Node.js 20 and earlier Node.js 22 releases are no longer supported; Node.js 24 LTS is recommended. +* Python 3.10 or newer is now required. Python 3.9 is no longer supported. + +### Bug Fixes + +* address telemetry and environment quality findings ([#50](https://github.com/promptfoo/promptfoo-python/issues/50)) ([9fd19f6](https://github.com/promptfoo/promptfoo-python/commit/9fd19f6426c769bfa57a24a8ad9bc2d8d686d9a0)) +* require Node.js 22.22 and repair CI ([#58](https://github.com/promptfoo/promptfoo-python/issues/58)) ([c64ea92](https://github.com/promptfoo/promptfoo-python/commit/c64ea92331aa27f24ad036091ae99761a9c93397)) +* resolve environment test quality findings ([#45](https://github.com/promptfoo/promptfoo-python/issues/45)) ([879bb2a](https://github.com/promptfoo/promptfoo-python/commit/879bb2ab530ef2a0b23f4773d8e32800b86d047e)) + + +### Miscellaneous Chores + +* drop Python 3.9 support ([9750814](https://github.com/promptfoo/promptfoo-python/commit/9750814770d1416e00b0e91bff9747b56ac80a86)) + ## [0.1.4](https://github.com/promptfoo/promptfoo-python/compare/promptfoo-v0.1.3...promptfoo-v0.1.4) (2026-04-04) @@ -75,11 +94,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * add comprehensive agent documentation ([#8](https://github.com/promptfoo/promptfoo-python/issues/8)) ([a6037ff](https://github.com/promptfoo/promptfoo-python/commit/a6037ff57c6bd7093f5b531456ead0cd0ab22dbd)) -## [Unreleased] +### Initial wrapper details -## [0.2.0] - 2026-01-05 +The January 5 wrapper rewrite was first released in 0.1.1 on January 6. -### Added +#### Added - Complete rewrite of the Python wrapper with actual working code - Automatic detection of Node.js and npx availability @@ -89,12 +108,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Proper exit code handling - Graceful Ctrl+C handling -### Changed +#### Changed - Now calls `npx promptfoo@latest` to always use the latest version - Improved README with clear installation and usage instructions -### Fixed +#### Fixed - Package now actually works (previous version was non-functional) - Proper module structure with `__init__.py` and `cli.py` diff --git a/pyproject.toml b/pyproject.toml index ba39e2b..76cf1cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "promptfoo" -version = "0.1.4" +version = "0.2.0" description = "Python wrapper for the promptfoo CLI - LLM testing, red teaming, and security evaluation" authors = [ { name = "Ian Webster", email = "ian@promptfoo.dev" }, diff --git a/src/promptfoo/__init__.py b/src/promptfoo/__init__.py index 4c45ad8..85d45b1 100644 --- a/src/promptfoo/__init__.py +++ b/src/promptfoo/__init__.py @@ -12,7 +12,7 @@ For full documentation, visit: https://www.promptfoo.dev/docs """ -__version__ = "0.1.4" +__version__ = "0.2.0" __all__ = ["__version__", "main"] from .cli import main diff --git a/uv.lock b/uv.lock index 289c1b9..a80e9f7 100644 --- a/uv.lock +++ b/uv.lock @@ -420,7 +420,7 @@ wheels = [ [[package]] name = "promptfoo" -version = "0.1.4" +version = "0.2.0" source = { editable = "." } dependencies = [ { name = "posthog" },