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.177

149 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.0.18yours
  2. 148 releases
  3. 1.0.177target
0
changes to make
0
advisories fixed
1
new
3
fixes

Release by release

  1. 1.0.92 – 1.0.17782 releases, nothing new or fixed in the notes

  2. 1.0.91

    2 Sep 20261 fix
    • Fixed

      policy-opa: Deny tool execution when OPA returns an unrecognized decision

  3. 1.0.83 – 1.0.908 releases, nothing new or fixed in the notes

  4. 1.0.82

    26 Aug 20261 new
    • New

      Allow manual tool approval statuses to include a reason and preserve it across core, model, and UI approval requests. OPA requires-approval decisions now surface their reason to human approvers. UI request chunks serialize the optional reason, while UI messages retain it as approval.requestReason separately from an approver's response reason.

  5. 1.0.20 – 1.0.7956 releases, nothing new or fixed in the notes

  6. 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.

151 internal lines (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.