Skip to content

chore: version packages#1929

Open
github-actions[bot] wants to merge 1 commit into
devfrom
changeset-release/dev
Open

chore: version packages#1929
github-actions[bot] wants to merge 1 commit into
devfrom
changeset-release/dev

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 21, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to dev, this PR will be updated.

Releases

@anticapture/api@1.2.0

Minor Changes

  • #1888 ab313ce Thanks @PedroBinotto! - Split /health into a Railway-friendly liveness probe and a richer diagnostic
    endpoint.

    GET /health now returns only {database: "ok" | "error"} with HTTP 200 when
    the database is reachable and 503 otherwise — designed for orchestrators
    (Railway, k8s) that act on status codes alone. The full snapshot, including
    chain head and indexer freshness (status, chain.head, indexer.*), moved
    to GET /health/full. HTTP status on /health/full still tracks database
    reachability only; a stale indexer surfaces as status: "degraded" with 200.

    Also locks in the existing Number(raw) coercion in
    HealthRepositoryImpl.getLastEventTimestamp with a regression test, so the
    indexer timestamp can never leak as a bigint-stringified value into the
    response and break downstream schema validation.

  • #1875 cb90c89 Thanks @PedroBinotto! - Migrate feed event metadata from a denormalized feed_event.metadata JSON column to query-time synthesis against proposals_onchain, votes_onchain, delegations, transfers, and voting_power_history. Adds discriminated metadata schemas to the OpenAPI contract, supports multi-type filtering on /feed/events, and wires the dashboard event-type filter as a multi-select.

  • #1888 ac56ee9 Thanks @PedroBinotto! - Replace the dedicated lean proposal endpoints with a lean query param.

    The six /proposals/lean* and /offchain/proposals/lean* routes are removed.
    Pass lean=true on the existing routes instead — GET /{dao}/proposals,
    /proposals/search, /proposals/{id}, /offchain/proposals,
    /offchain/proposals/search, and /offchain/proposals/{id} all now accept
    the flag and drop the heavy fields (calldatas/values/targets on
    onchain, body on offchain) when set. The default remains the full payload
    so existing clients see no behavior change.

    The OnchainProposal.calldatas/values/targets and OffchainProposal.body
    fields are now optional in the OpenAPI schema, reflecting the runtime
    contract more truthfully than before.

    The new lean param uses explicit string parsing (true/false/1/0)
    rather than z.coerce.boolean(), so ?lean=false and ?lean=0 resolve to
    false instead of being coerced to truthy by JavaScript's Boolean(...).

Patch Changes

  • #1888 298cc75 Thanks @PedroBinotto! - Stop capping the delegation-percentage repository read at (limit + 1) * 2.
    The service builds a forward-filled timeline across the full requested date
    window and only then paginates with skip/limit. Capping the upstream
    read would drop later metric changes, freezing stale values across the tail
    of the timeline and returning incorrect data on later skip pages.

  • #1888 298cc75 Thanks @PedroBinotto! - Drop the format: "bigint" annotation from percentageChange on
    AccountBalanceVariation and VotingPowerVariation. The field carries a
    decimal-string percentage (or the "NO BASELINE" sentinel when the previous
    period is zero) — it was never a bigint, and the wrong tag made generated
    TS clients type it as bigint, which broke sentinel comparisons downstream.

@anticapture/dashboard@2.3.0

Minor Changes

  • #1875 cb90c89 Thanks @PedroBinotto! - Migrate feed event metadata from a denormalized feed_event.metadata JSON column to query-time synthesis against proposals_onchain, votes_onchain, delegations, transfers, and voting_power_history. Adds discriminated metadata schemas to the OpenAPI contract, supports multi-type filtering on /feed/events, and wires the dashboard event-type filter as a multi-select.

  • #1912 22b4602 Thanks @pikonha! - governance using kubb sdk

@anticapture/indexer@1.1.0

Minor Changes

  • #1875 cb90c89 Thanks @PedroBinotto! - Migrate feed event metadata from a denormalized feed_event.metadata JSON column to query-time synthesis against proposals_onchain, votes_onchain, delegations, transfers, and voting_power_history. Adds discriminated metadata schemas to the OpenAPI contract, supports multi-type filtering on /feed/events, and wires the dashboard event-type filter as a multi-select.

@anticapture/api-gateway@1.0.2

Patch Changes

  • #1888 298cc75 Thanks @PedroBinotto! - Migrate the average-delegation aggregators to the new DAO API pagination
    contract.

    • Stop reading pageInfo from the upstream /delegation-percentage
      response. Both aggregators now derive hasNextPage from
      items.length < totalCount per DAO. The public pageInfo on the
      aggregated response is unchanged.
    • Drop the after/before cursor params from the aggregator routes
      (GET /aggregations/average-delegation-percentage in gateful and the
      averageDelegationPercentageByDay GraphQL field in api-gateway) and
      switch to a skip integer that matches the DAO API. The aggregators no
      longer forward stale cursor params to upstream, so requests for later
      pages now actually advance instead of repeating the first slice.
      pageInfo.hasPreviousPage is now derived from skip > 0.
  • #1888 ab313ce Thanks @PedroBinotto! - Adjust gateful's per-DAO health proxy to fetch /health/full upstream now that
    the API's /health is a minimal liveness probe; the public /{dao}/health
    contract on gateful is unchanged. Also blocks /health/full from the
    aggregated OpenAPI spec so it isn't merged in as /{dao}/health/full.

  • #1875 cb90c89 Thanks @PedroBinotto! - Migrate feed event metadata from a denormalized feed_event.metadata JSON column to query-time synthesis against proposals_onchain, votes_onchain, delegations, transfers, and voting_power_history. Adds discriminated metadata schemas to the OpenAPI contract, supports multi-type filtering on /feed/events, and wires the dashboard event-type filter as a multi-select.

  • #1888 298cc75 Thanks @PedroBinotto! - Regenerate API contracts to pick up the corrected percentageChange type
    (plain string, no bigint format) on AccountBalanceVariation and
    VotingPowerVariation.

  • #1888 ac56ee9 Thanks @PedroBinotto! - Regenerate API contracts to drop the lean proposal endpoints and pick up the
    lean query param + optional execution-payload / body fields exposed by
    @anticapture/api.

@anticapture/gateful@1.0.2

Patch Changes

  • #1888 298cc75 Thanks @PedroBinotto! - Migrate the average-delegation aggregators to the new DAO API pagination
    contract.

    • Stop reading pageInfo from the upstream /delegation-percentage
      response. Both aggregators now derive hasNextPage from
      items.length < totalCount per DAO. The public pageInfo on the
      aggregated response is unchanged.
    • Drop the after/before cursor params from the aggregator routes
      (GET /aggregations/average-delegation-percentage in gateful and the
      averageDelegationPercentageByDay GraphQL field in api-gateway) and
      switch to a skip integer that matches the DAO API. The aggregators no
      longer forward stale cursor params to upstream, so requests for later
      pages now actually advance instead of repeating the first slice.
      pageInfo.hasPreviousPage is now derived from skip > 0.
  • #1888 ab313ce Thanks @PedroBinotto! - Adjust gateful's per-DAO health proxy to fetch /health/full upstream now that
    the API's /health is a minimal liveness probe; the public /{dao}/health
    contract on gateful is unchanged. Also blocks /health/full from the
    aggregated OpenAPI spec so it isn't merged in as /{dao}/health/full.

  • #1875 cb90c89 Thanks @PedroBinotto! - Migrate feed event metadata from a denormalized feed_event.metadata JSON column to query-time synthesis against proposals_onchain, votes_onchain, delegations, transfers, and voting_power_history. Adds discriminated metadata schemas to the OpenAPI contract, supports multi-type filtering on /feed/events, and wires the dashboard event-type filter as a multi-select.

  • #1888 298cc75 Thanks @PedroBinotto! - Regenerate API contracts to pick up the corrected percentageChange type
    (plain string, no bigint format) on AccountBalanceVariation and
    VotingPowerVariation.

  • #1888 ac56ee9 Thanks @PedroBinotto! - Regenerate API contracts to drop the lean proposal endpoints and pick up the
    lean query param + optional execution-payload / body fields exposed by
    @anticapture/api.

@github-actions github-actions Bot requested review from brunod-e and pikonha as code owners May 21, 2026 13:48
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
anticapture Ready Ready Preview, Comment May 22, 2026 8:16pm
anticapture-storybook Ready Ready Preview, Comment May 22, 2026 8:16pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants