Skip to content

v3.0.0

Choose a tag to compare

@adham90 adham90 released this 16 Feb 13:24
· 187 commits to main since this release

Breaking Changes

  • Block form removed — system do ... end, user do ... end, and prompt do ... end are no longer supported. Blocks are silently ignored. Use a string argument for static content or a def system_prompt / def user_prompt method override for dynamic content.
  • resolve_prompt_from_config no longer handles Procs — only string templates are supported.

Changed

  • prompt "..." now emits a deprecation warning — use user "..." instead
  • prompt kept as permanent deprecated alias for user
  • resolve_prompt_from_config simplified to delegate directly to interpolate_template
  • Removed internal @prompt_block, @system_block, and @prompt_template storage

Migration

See the Migration Guide for upgrade instructions.

Full Changelog: v2.2.0...v3.0.0