Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Release version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evaera committed Jun 25, 2022
1 parent 69df97b commit 1607d73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## [Unreleased]
## [0.4.0] - 2022-06-25
### Changed
- Modifying the World while inside `World:query` can no longer cause iterator invalidation. All operations to World while inside a query are now safe. 🎉
- If you aren't using `Loop`, you must call `World:optimizeQueries` periodically (e.g., every frame)
- If a system stops calling `queryChanged`, its internal storage will now be cleaned up. It is no longer a requirement that a system calls `queryChanged` forever.
- `Matter.merge` (an undocumented function) now only accepts two parameters.
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions lib/Loop.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ end
Replaces an older version of a system with a newer version of the system. Internal system storage (which is used
by hooks) will be moved to be associated with the new system. This is intended to be used for hot reloading.
@param before System
@param after System
@param old System
@param new System
]=]
function Loop:replaceSystem(old: System, new: System)
if not self._systems[old] then
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "evaera/matter"
version = "0.3.0"
version = "0.4.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
exclude = ["example", "docs", "Packages", ".moonwave", "build", "pages", "tests", "AttackOfTheKillerRoombas.rbxl", "AttackOfTheKillerRoombas.rbxl.lock", "matter.rbxl", "matter.rbxm", "roblox.toml"]
Expand Down

0 comments on commit 1607d73

Please sign in to comment.