releases.shpreview

Search can now query trashed pages and data sources

v5.23.2

July 15, 2026SDK (JS)View original ↗
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
From the original release noteView original ↗

What's Changed

New capabilities

  • filter.in_trash on search (#748)

    • client.search() can now search trashed content. By default search only returns live content — trashed pages and data sources are excluded, same as before. Passing in_trash: true switches the search to return only trashed results (it does not mix trashed results into a normal search).
    • The filter accepts two shapes: the existing object filter extended with an optional in_trash boolean ({ property: "object", value: "page", in_trash: true }), or a standalone trash filter ({ in_trash: true }) that doesn't constrain the object type.
    • If you need to find trashed pages or data sources: pass filter: { in_trash: true }. Existing searches are unaffected — trash was and remains excluded by default.
  • Bump version to v5.23.2 (#749)

Links

Fetched July 15, 2026