Skip to content

Releases

ponder@0.18.8

Choose a tag to compare

@github-actions github-actions released this 13 Nov 15:15
Immutable release. Only release title and notes can be modified.
71a6f08

Patch Changes

ponder@0.18.7

Choose a tag to compare

@github-actions github-actions released this 12 Nov 21:38
Immutable release. Only release title and notes can be modified.

Patch Changes

  • #2476 bef15af Thanks @mkzung! - Fixed a bug that caused GraphQL queries with where: null to fail with Cannot convert undefined or null to object, and queries with AND: null or OR: null to fail with Invalid query: Expected an array. These values are now ignored.

  • #2482 5d005a2 Thanks @kyscott18! - Removed the GraphQL filter options {column}_has and {column}_not_has for p.bytes() columns, which always failed with a database error.

  • #2483 415225b Thanks @kyscott18! - Fixed a bug that caused the GraphQL error arrayContains requires at least one value when filtering an array column with an empty list, such as {column}: [] or {column}_not: [].

  • #2487 522ef20 Thanks @kyscott18! - Fixed a bug that caused GraphQL string filters on p.hex() columns, such as {column}_starts_with and {column}_contains, to be case-sensitive.

  • #2482 5d005a2 Thanks @kyscott18! - Removed GraphQL filter options for arrays of p.json() columns, which always failed with a database error.

  • #2486 a9d77f6 Thanks @kyscott18! - Fixed a bug that caused GraphQL string filters such as {column}_contains and {column}_starts_with to treat % and _ in the filter value as wildcards. These characters are now matched literally.

  • #2468 d6720b0 Thanks @kyscott18! - Fixed a bug that caused GraphQL cursor pagination to skip rows or return an incorrect hasNextPage or hasPreviousPage when the row referenced by the after or before cursor had been deleted or no longer matched the where filter.

  • #2466 7d53829 Thanks @kyscott18! - Fixed a bug that caused a negative limit argument in GraphQL plural queries to return every matching row, bypassing the 1000-row maximum. Negative limit and offset values now return a validation error.

  • #2480 656438b Thanks @kyscott18! - Fixed a bug that caused GraphQL cursor pagination to stop early and skip rows when the orderBy column contained NULL values.

  • #2469 8dde803 Thanks @kyscott18! - Fixed a bug that caused GraphQL queries with an offset to return hasPreviousPage: true for an empty page.

  • #2484 c22f07a Thanks @kyscott18! - Fixed a bug that caused a GraphQL one relation field with a null value to not always return null.

  • #2475 6257549 Thanks @kyscott18! - Fixed a bug that caused GraphQL queries with orderBy set to a json column to fail with the database error could not identify an ordering operator for type json. These queries now return a validation error. jsonb columns can still be used with orderBy.

  • #2473 282ca74 Thanks @kyscott18! - Fixed a bug that caused the GraphQL error Unknown column "null" used in orderBy argument when the orderBy argument was null.

  • #2470 df3daf5 Thanks @kyscott18! - Fixed a bug that caused GraphQL queries with orderDirection: "ASC" (or any value other than "asc") to sort in descending order. orderDirection is now case-insensitive, and invalid values return a validation error.

  • #2471 0bd4a22 Thanks @kyscott18! - Removed the string filter options (such as {column}_contains and {column}_starts_with) from GraphQL filters for non-text columns, including timestamp, date, and uuid columns. These filters always failed with an error like operator does not exist: timestamp without time zone ~~ unknown.

  • #2467 4574041 Thanks @kyscott18! - Fixed a bug that caused the GraphQL error Cannot return null for non-nullable field <table>Page.totalCount. when totalCount was selected through an inline fragment or fragment spread.

  • #2476 bef15af Thanks @mkzung! - Fixed a bug that caused {column}: null and {column}_not: null GraphQL filters on array columns to match no rows. They now match NULL and non-NULL values.

  • #2476 bef15af Thanks @mkzung! - Fixed a bug that caused a null value for GraphQL filter operators other than {column} and {column}_not, such as {column}_gt, {column}_in, or {column}_contains, to fail with a SQL syntax error or match the wrong rows. These filters are now ignored.

  • #2476 bef15af Thanks @mkzung! - Fixed a bug that caused GraphQL filter lists containing null, such as {column}_in: [1, null] or OR: [null], to fail with Cannot convert undefined or null to object or match the wrong rows. These queries now return the error Invalid query: {key} cannot contain null.

  • #2448 bfe2c41 Thanks @WillXing! - Fixed a bug that caused GraphQL OR filters to match extra rows when a branch contained multiple fields.

create-ponder@0.18.8

Choose a tag to compare

@github-actions github-actions released this 13 Nov 15:15
Immutable release. Only release title and notes can be modified.
71a6f08

No changes in this release.

create-ponder@0.18.7

Choose a tag to compare

@github-actions github-actions released this 12 Nov 21:38
Immutable release. Only release title and notes can be modified.

Patch Changes

@ponder/react@0.18.8

Choose a tag to compare

@github-actions github-actions released this 13 Nov 15:15
Immutable release. Only release title and notes can be modified.
71a6f08

Patch Changes

  • Updated dependencies []:
    • @ponder/client@0.18.8

@ponder/react@0.18.7

Choose a tag to compare

@github-actions github-actions released this 12 Nov 21:38
Immutable release. Only release title and notes can be modified.

Patch Changes

  • Updated dependencies []:
    • @ponder/client@0.18.7

@ponder/client@0.18.8

Choose a tag to compare

@github-actions github-actions released this 13 Nov 15:15
Immutable release. Only release title and notes can be modified.
71a6f08

No changes in this release.

@ponder/client@0.18.7

Choose a tag to compare

@github-actions github-actions released this 12 Nov 21:38
Immutable release. Only release title and notes can be modified.

No changes in this release.

ponder@0.18.6

Choose a tag to compare

@github-actions github-actions released this 06 Nov 14:28
Immutable release. Only release title and notes can be modified.

Patch Changes

  • #2450 98a50b5 Thanks @kyscott18! - Fixed a bug that caused a log that failed to decode to change how later logs of the same event were decoded when the event has an array parameter.

  • #2456 9a20a02 Thanks @kyscott18! - Fixed a bug that caused a p.json() or p.jsonb() column value that is a string containing JSON, such as "1", "true", or '{"a":1}', to be returned parsed by GraphQL, @ponder/client, and database reads, while the indexing cache returned the string.

  • #2459 d6a876a Thanks @kyscott18! - Fixed a bug that caused some context.db and context.client calls to fail with TypeError: Cannot read properties of undefined in indexing functions of logs without a transaction, such as on ZKsync.

  • #2455 d35fabe Thanks @kyscott18! - Fixed a bug that caused the error TypeError: undefined is not an object (evaluating 'event.event') (or Cannot read properties of undefined (reading 'event')) during the backfill when a chain with cacheRpcRequests: false was indexed, and an indexing function read an event property for the first time.

  • #2452 ac01f82 Thanks @kyscott18! - Fixed a bug that caused indexing to fail with InvalidEventAccessError when an indexing function read a property of event.transaction that belongs to another transaction type, such as gasPrice on an EIP-1559 transaction. This affected live indexing and chains with cacheRpcRequests: false. These properties are now undefined.

  • #2453 6e1b286 Thanks @kyscott18! - Fixed a bug that caused indexing to fail with InvalidEventAccessError when an indexing function read gasPrice, accessList, maxFeePerGas, or maxPriorityFeePerGas of a transaction with a type other than legacy, EIP-2930, EIP-1559, or deposit, such as a blob or EIP-7702 transaction. This affected live indexing and chains with cacheRpcRequests: false.

  • #2451 ef9aaf8 Thanks @kyscott18! - Fixed a bug that caused context.db.update() and onConflictDoUpdate() to ignore columns defined with .$onUpdateFn(). These columns are now set to the value returned by the function when the update doesn't set them.

create-ponder@0.18.6

Choose a tag to compare

@github-actions github-actions released this 06 Nov 14:28
Immutable release. Only release title and notes can be modified.

No changes in this release.