Version 2.2.21
Release date: Fri Mar 21 2025
Patch changes
feat(explorer): add pyrope testnet support (#3619) (@latticexyz/common, @latticexyz/explorer)
Added Pyrope testnet chain.
fix(cli): remove payable modifier from library functions (#3629) (@latticexyz/world)
System libraries are no longer generated with payable
keyword.
fix: remove wiresaw from pyrope chain definition (#3634) (@latticexyz/common)
Removed the wiresaw
RPC URL from the Pyrope chain config, since Wiresaw is not deployed to Pyrope yet.
feat(entrykit): expose world address on session client (#3607) (@latticexyz/entrykit)
The session client's world address (used for delegations and callFrom
) is now available via sesssionClient.worldAddress
.
The local signer is also available via sesssionClient.internal_signer
. This is marked as internal for now as we may change how this is exposed.
Using the signer allows for Sign-in with Ethereum and similar flows that avoid prompting the wallet for a signature, but can be validated via the associated delegation from user account to session account in the world.
chore(explorer): hide deleted records on local explorer (#3631) (@latticexyz/explorer)
Deleted records no longer appear in the table data viewer when using the SQLite indexer.
chore(entrykit): update error message in userOpExecutor (#3609) (@latticexyz/entrykit)
Updated error message for unsupported methods in userOpExecutor
.
feat(entrykit): add react 19 and missing peer dep (#3605) (@latticexyz/entrykit)
Added React 19 to peer dependency range.
fix(entrykit): improve escape handling (#3623) (@latticexyz/entrykit)
Improved escape key handling when account modal is open. And fixed development warnings about missing dialog title/description.
feat(explorer): tables viewer pagination (#3426) (@latticexyz/explorer)
The Explore tab's table viewer now supports pagination through limit/offset clauses in SQL queries.
refactor(world-consumer): remove namespace (#3597) (@latticexyz/world-consumer, @latticexyz/world-module-erc20)
WorldConsumer
now doesn't store a single namespace. Instead, child contracts can keep track of namespaces and use the onlyNamespace(namespace)
and onlyNamespaceOwner(namespace)
modifiers for access control.
ERC20 module was adapted to use this new version of WorldConsumer
.
chore(store-indexer): bump koa (#3599) (@latticexyz/store-indexer)
Bumped Koa dependency for vulnerability fix.
feat(explorer): abi explorer (#3635) (@latticexyz/explorer)
Added an ABI page for exploring world ABI. The ABI Explorer also includes a form for searching custom errors or functions based on their selectors.
feat(entrykit): update relay chains (#3620) (@latticexyz/entrykit)
Updated chains supported by Relay.link.
feat(entrykit): validate signature (#3632) (@latticexyz/entrykit)
Exported an internal method to validate signatures for login flows that use session signer on behalf of user accounts.
fix(explorer): enable table data refetch for local explorer (#3627) (@latticexyz/explorer)
Table data refetching is now enabled for locally run Explorer instances.