Closed github-actions[bot] closed 1 year ago
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
miniplex-demo | 🔄 Building (Inspect) | Jan 7, 2023 at 0:35AM (UTC) |
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
miniplex@2.0.0-beta.4
Patch Changes
ae19dd0: Aaaaah, it's Miniplex 2.0 Beta 4! The library received some major refactoring for this beta, making it significantly less complex, and at the same time easier to explain and document. Which, sadly, also means breaking changes -- but most of them are just renames, so you shouldn't have any trouble upgrading. (If you do, let me know!)
The most important changes:
world.archetype
is gone. The query API is now just.with(...components)
and.without(...components)
..where(predicate)
now returns a full query object that can be chained further (as opposed to a standalone iterator). Please note that this functionality is still experimental and will still receive upgrades and changes in the future.onEntityAdded.add(listener)
, you will now toonEntityAdded.subscribe(listener)
.1258841: All packages are now built using TypeScript 5.0.
Updated dependencies [4448080]
Updated dependencies [1258841]
Updated dependencies [4448080]
@miniplex/bucket@2.0.0-beta.4
Patch Changes
Bucket
class now uses Eventery for itsonEntityAdded
andonEntityRemoved
events, which has a slightly different API than the library used before, since it uses.subscribe(listener)
and.unsubscribe(listener)
instead of.add
and.remove
.@miniplex/core@2.0.0-beta.4
Patch Changes
Bucket
class now uses Eventery for itsonEntityAdded
andonEntityRemoved
events, which has a slightly different API than the library used before, since it uses.subscribe(listener)
and.unsubscribe(listener)
instead of.add
and.remove
.world.archetype()
is gone. In its place, you can simply useworld.with()
instead.@miniplex/react@2.0.0-beta.4
Patch Changes
Bucket
class now uses Eventery for itsonEntityAdded
andonEntityRemoved
events, which has a slightly different API than the library used before, since it uses.subscribe(listener)
and.unsubscribe(listener)
instead of.add
and.remove
.