chore: version packages#1929
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
d4f2938 to
01a34a3
Compare
01a34a3 to
1db9d27
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ab313ceThanks @PedroBinotto! - Split/healthinto a Railway-friendly liveness probe and a richer diagnosticendpoint.
GET /healthnow returns only{database: "ok" | "error"}with HTTP200whenthe database is reachable and
503otherwise — designed for orchestrators(Railway, k8s) that act on status codes alone. The full snapshot, including
chain head and indexer freshness (
status,chain.head,indexer.*), movedto
GET /health/full. HTTP status on/health/fullstill tracks databasereachability only; a stale indexer surfaces as
status: "degraded"with200.Also locks in the existing
Number(raw)coercion inHealthRepositoryImpl.getLastEventTimestampwith a regression test, so theindexer timestamp can never leak as a bigint-stringified value into the
response and break downstream schema validation.
#1875
cb90c89Thanks @PedroBinotto! - Migrate feed event metadata from a denormalizedfeed_event.metadataJSON column to query-time synthesis againstproposals_onchain,votes_onchain,delegations,transfers, andvoting_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
ac56ee9Thanks @PedroBinotto! - Replace the dedicated lean proposal endpoints with aleanquery param.The six
/proposals/lean*and/offchain/proposals/lean*routes are removed.Pass
lean=trueon the existing routes instead —GET /{dao}/proposals,/proposals/search,/proposals/{id},/offchain/proposals,/offchain/proposals/search, and/offchain/proposals/{id}all now acceptthe flag and drop the heavy fields (
calldatas/values/targetsononchain,
bodyon offchain) when set. The default remains the full payloadso existing clients see no behavior change.
The
OnchainProposal.calldatas/values/targetsandOffchainProposal.bodyfields are now optional in the OpenAPI schema, reflecting the runtime
contract more truthfully than before.
The new
leanparam uses explicit string parsing (true/false/1/0)rather than
z.coerce.boolean(), so?lean=falseand?lean=0resolve tofalseinstead of being coerced to truthy by JavaScript'sBoolean(...).Patch Changes
#1888
298cc75Thanks @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 upstreamread would drop later metric changes, freezing stale values across the tail
of the timeline and returning incorrect data on later
skippages.#1888
298cc75Thanks @PedroBinotto! - Drop theformat: "bigint"annotation frompercentageChangeonAccountBalanceVariationandVotingPowerVariation. The field carries adecimal-string percentage (or the
"NO BASELINE"sentinel when the previousperiod 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
cb90c89Thanks @PedroBinotto! - Migrate feed event metadata from a denormalizedfeed_event.metadataJSON column to query-time synthesis againstproposals_onchain,votes_onchain,delegations,transfers, andvoting_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
22b4602Thanks @pikonha! - governance using kubb sdk@anticapture/indexer@1.1.0
Minor Changes
cb90c89Thanks @PedroBinotto! - Migrate feed event metadata from a denormalizedfeed_event.metadataJSON column to query-time synthesis againstproposals_onchain,votes_onchain,delegations,transfers, andvoting_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
298cc75Thanks @PedroBinotto! - Migrate the average-delegation aggregators to the new DAO API paginationcontract.
pageInfofrom the upstream/delegation-percentageresponse. Both aggregators now derive
hasNextPagefromitems.length < totalCountper DAO. The publicpageInfoon theaggregated response is unchanged.
after/beforecursor params from the aggregator routes(
GET /aggregations/average-delegation-percentagein gateful and theaverageDelegationPercentageByDayGraphQL field in api-gateway) andswitch to a
skipinteger that matches the DAO API. The aggregators nolonger forward stale cursor params to upstream, so requests for later
pages now actually advance instead of repeating the first slice.
pageInfo.hasPreviousPageis now derived fromskip > 0.#1888
ab313ceThanks @PedroBinotto! - Adjust gateful's per-DAO health proxy to fetch/health/fullupstream now thatthe API's
/healthis a minimal liveness probe; the public/{dao}/healthcontract on gateful is unchanged. Also blocks
/health/fullfrom theaggregated OpenAPI spec so it isn't merged in as
/{dao}/health/full.#1875
cb90c89Thanks @PedroBinotto! - Migrate feed event metadata from a denormalizedfeed_event.metadataJSON column to query-time synthesis againstproposals_onchain,votes_onchain,delegations,transfers, andvoting_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
298cc75Thanks @PedroBinotto! - Regenerate API contracts to pick up the correctedpercentageChangetype(plain string, no bigint format) on
AccountBalanceVariationandVotingPowerVariation.#1888
ac56ee9Thanks @PedroBinotto! - Regenerate API contracts to drop the lean proposal endpoints and pick up theleanquery param + optional execution-payload / body fields exposed by@anticapture/api.@anticapture/gateful@1.0.2
Patch Changes
#1888
298cc75Thanks @PedroBinotto! - Migrate the average-delegation aggregators to the new DAO API paginationcontract.
pageInfofrom the upstream/delegation-percentageresponse. Both aggregators now derive
hasNextPagefromitems.length < totalCountper DAO. The publicpageInfoon theaggregated response is unchanged.
after/beforecursor params from the aggregator routes(
GET /aggregations/average-delegation-percentagein gateful and theaverageDelegationPercentageByDayGraphQL field in api-gateway) andswitch to a
skipinteger that matches the DAO API. The aggregators nolonger forward stale cursor params to upstream, so requests for later
pages now actually advance instead of repeating the first slice.
pageInfo.hasPreviousPageis now derived fromskip > 0.#1888
ab313ceThanks @PedroBinotto! - Adjust gateful's per-DAO health proxy to fetch/health/fullupstream now thatthe API's
/healthis a minimal liveness probe; the public/{dao}/healthcontract on gateful is unchanged. Also blocks
/health/fullfrom theaggregated OpenAPI spec so it isn't merged in as
/{dao}/health/full.#1875
cb90c89Thanks @PedroBinotto! - Migrate feed event metadata from a denormalizedfeed_event.metadataJSON column to query-time synthesis againstproposals_onchain,votes_onchain,delegations,transfers, andvoting_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
298cc75Thanks @PedroBinotto! - Regenerate API contracts to pick up the correctedpercentageChangetype(plain string, no bigint format) on
AccountBalanceVariationandVotingPowerVariation.#1888
ac56ee9Thanks @PedroBinotto! - Regenerate API contracts to drop the lean proposal endpoints and pick up theleanquery param + optional execution-payload / body fields exposed by@anticapture/api.