Packages

@ai-sdk/policy-opa

1.0.177 · 18 Nov 2026Apache-2.025.7k / weekRepositoryHomepagenpmAtom feed

Upgrading @ai-sdk/policy-opa From 1.0.18 to 1.0.19

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.0.18Newest 1.x, Latest1.0.177
  1. 1.0.18yours
  2. 1.0.19target
0
changes to make
0
advisories fixed
0
new
2
fixes

Release by release

  1. 1.0.19

    9 Jul 20262 fixes
    • Fixed

      Use own-property checks when resolving per-tool approvals so tool names and approval ids that match inherited object properties (e.g. constructor, toString, valueOf, __proto__) are treated as unconfigured/absent.

    • Fixed

      wrapMcpTools: per-tool approval functions now fail closed. In the per-tool map form, a per-tool approval function that returns a "no opinion" result (not-applicable or undefined) is now forced through the configured fallback (user-approval by default), matching the generic-function form. Previously such a result passed through and the tool resolved to not-applicable, letting it run without an approval request. Static per-tool statuses the caller configured explicitly are unchanged.

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.