From 1607d732b95101d5d00388795cda62e8a85685dd Mon Sep 17 00:00:00 2001 From: "eryn L. K" Date: Sat, 25 Jun 2022 04:04:33 -0400 Subject: [PATCH] Release version 0.4.0 --- CHANGELOG.md | 3 ++- lib/Loop.lua | 4 ++-- wally.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5a3448..4c60c2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/Loop.lua b/lib/Loop.lua index 6d9a74a..908273d 100644 --- a/lib/Loop.lua +++ b/lib/Loop.lua @@ -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 diff --git a/wally.toml b/wally.toml index d5e73ca..b04e7ff 100644 --- a/wally.toml +++ b/wally.toml @@ -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"]