Repository navigation
v0.11.3
Patch release over v0.11.2. Migration loading preserves literal prompt placeholders that previously triggered Go-template parsing.
Keep prompt text unchanged
A SQL migration can store application placeholders without using Ptah's template engine:
UPDATE prompts
SET body = 'Use {{DATE}} with arguments {{ ... }}'
WHERE id = 1;Previously, {{ ... }} was mistaken for a Go-template dot action. A migration containing this text could fail before linting or execution with function "DATE" not defined or unexpected <.> in operand.
The shared migration loader now leaves these placeholders unchanged. Real template actions, including {{ .Env }}, {{ . }}, conditionals, and shared templates, continue to render. The fix applies to native migration commands and Ptah Compat (#3988). It does not add new lint rules.
Dependency updates
- The documentation site updates DOMPurify from 3.4.14 to 3.4.16 (#3987).
- The SQLAlchemy loader example updates urllib3 from 2.7.0 to 2.8.0 (#3986).
Upgrade
Install v0.11.3 through the installation guide, or use ghcr.io/stokaro/ptah:0.11.3 / stokaro/ptah:0.11.3. Both images include ptah, ptah-compat, and ptah-ls. Existing SQL migrations do not need placeholder rewrites.