Changelog
All notable changes to PromptLint are documented here.
v1.3.0
Released: 2024
New Rules
jailbreak-pattern— Detects jailbreak attempts and persona hijackingsecret-in-prompt— Detects hardcoded API keys, passwords, connection stringspii-in-prompt— Detects emails, phone numbers, SSNs, credit card numberscontext-injection-boundary— Enforces trust boundaries on user-injected contentrole-clarity— Checks for missing role/persona definitionsoutput-format-missing— Checks for missing output format specificationhallucination-risk— Detects patterns that increase hallucination likelihood
Improvements
- SARIF v2.1.0 output format for GitHub Security tab integration
- VS Code extension with real-time linting and quick-fix support
- GitHub Action with PR annotations and SARIF upload
- Python/TypeScript parity tests in CI
- Score (0–100) and grade (A–F) in all output formats
Rule Count
Total: 20 rules, 5 auto-fixable
v1.2.0
New Features
--show-dashboardflag for cost savings visualization- Monthly and annual cost projection in dashboard
--ruleflag to run a single rule--explainflag for rule documentation in the terminal
v1.1.0
New Features
--format sarifoutput (v2.1.0)- Score and grade calculation
calls_per_dayconfig for cost projection
New Rules
completeness-edge-casesconsistency-terminology
v1.0.0
Initial Stable Release
- 13 rules across security, cost, quality, and structure
--fixauto-fix with 5 fixable issues--format jsonfor CI/CD.promptlintrcYAML configuration- Python CLI (pip) and TypeScript CLI (npm)
- GitHub Action (
AryaanSheth/promptlint@v1)
Rules at Launch
cost,cost-limitprompt-injectionstructure-sectionsclarity-vague-termsspecificity-examples,specificity-constraintspoliteness-bloatverbosity-redundancy,verbosity-sentence-lengthactionability-weak-verbsconsistency-terminology,completeness-edge-cases
v0.2.0
- Structure flexibility: XML, headings, and Markdown all recognized
- Politeness configuration:
allow_politeness: truedemotes to INFO - Improved auto-fix: structure scaffold respects
structure_styleconfig
v0.1.0
- Initial release with 13 rules and 5 auto-fixes