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 the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.Releases
@latticexyz/[email protected]
Major Changes
#1399
c4d5eb4e
Thanks @alvrs! - - TheonSetRecord
hook is split intoonBeforeSetRecord
andonAfterSetRecord
and theonDeleteRecord
hook is split intoonBeforeDeleteRecord
andonAfterDeleteRecord
.The purpose of this change is to allow more fine-grained control over the point in the lifecycle at which hooks are executed.
The previous hooks were executed before modifying data, so they can be replaced with the respective
onBefore
hooks.It is now possible to specify which methods of a hook contract should be called when registering a hook. The purpose of this change is to save gas by avoiding to call no-op hook methods.
There are
StoreHookLib
andSystemHookLib
with helper functions to encode the bitmap of enabled hooks.The
onSetRecord
hook call foremitEphemeralRecord
has been removed to save gas and to more clearly distinguish ephemeral tables as offchain tables.Patch Changes
@latticexyz/[email protected]
Major Changes
#1399
c4d5eb4e
Thanks @alvrs! - - TheonSetRecord
hook is split intoonBeforeSetRecord
andonAfterSetRecord
and theonDeleteRecord
hook is split intoonBeforeDeleteRecord
andonAfterDeleteRecord
.The purpose of this change is to allow more fine-grained control over the point in the lifecycle at which hooks are executed.
The previous hooks were executed before modifying data, so they can be replaced with the respective
onBefore
hooks.It is now possible to specify which methods of a hook contract should be called when registering a hook. The purpose of this change is to save gas by avoiding to call no-op hook methods.
There are
StoreHookLib
andSystemHookLib
with helper functions to encode the bitmap of enabled hooks.The
onSetRecord
hook call foremitEphemeralRecord
has been removed to save gas and to more clearly distinguish ephemeral tables as offchain tables.Patch Changes
#1407
18d3aea5
Thanks @alvrs! - AllowcallFrom
with the own address asdelegator
without requiring an explicit delegationUpdated dependencies [
c4d5eb4e
]:@latticexyz/[email protected]
Patch Changes
2459e15f
Thanks @holic! - Letglob
handle resolving the glob against the current working directory.@latticexyz/[email protected]
Patch Changes
@latticexyz/[email protected]
Patch Changes
c4d5eb4e
,2459e15f
,18d3aea5
]:@latticexyz/[email protected]
Patch Changes
@latticexyz/[email protected]
Patch Changes
@latticexyz/[email protected]
Patch Changes
c4d5eb4e
,18d3aea5
]:@latticexyz/[email protected]
Patch Changes
@latticexyz/[email protected]
Patch Changes
@latticexyz/[email protected]
Patch Changes
c4d5eb4e
]:@latticexyz/[email protected]
Patch Changes
@latticexyz/[email protected]
Patch Changes
c4d5eb4e
]:@latticexyz/[email protected]
Patch Changes
c4d5eb4e
,18d3aea5
]:[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
[email protected]
[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]
@latticexyz/[email protected]