Skip to content

v1.4.0

Latest

Choose a tag to compare

@arcjet-rei arcjet-rei released this 07 Oct 16:19
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
v1.4.0
dbcffb5

Note

Guard agent helpers now call Guard even when one of your callbacks fails. If a callable you pass to a helper (rules, metadata or action) raises or returns a value the helper can't use, the helper leaves that value out, calls Guard anyway, and your on_guard_error setting decides what happens next, just as when Guard is unavailable. Previously the failure skipped Guard, so remote policy and rate limits never saw the call. If your callables return the right types, nothing changes for you.

Guard labels can now use uppercase ASCII letters, so getWeather.invoked is a valid label.

What's Changed

  • feat(guard): accept a rules callable in LangChain and CrewAI guard_tool by @arcjet-rei in #260
  • fix(examples): run the Claude Managed Agents example against arcjet 1.3.0 by @arcjet-rei in #259
  • fix(guard): call Guard when a rules callable fails in every Python helper by @arcjet-rei in #261
  • fix(guard): accept uppercase ASCII in a guard label by @arcjet-rei in #264
  • fix(guard): call Guard when a metadata or action callable fails in a Python helper by @arcjet-rei in #262
  • chore: prepare Python SDK 1.4.0 release by @arcjet-rei in #265

Full Changelog: v1.3.0...v1.4.0