From de9aae61483e63cd885d528fc6f6102a163dbf03 Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 30 Oct 2024 15:04:37 -0700 Subject: [PATCH] 0.22.0 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f4a366..560b3e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# 0.22.0 +* Use `performance.now()` everywhere instead of falling back to `Date.now()` +* make API simpler and more consistent: + * alias addWorld -> createWorld + * alias addEntity -> createEntity + * alias addComponent -> addComponentToEntity + * alias removeComponent -> removeComponentFromEntity + + # 0.21.0 * refactor `deferredRemovals` to not rely on entity indexes diff --git a/package.json b/package.json index 249dc32..4ae8093 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ecs", - "version": "0.21.0", + "version": "0.22.0", "description": "data oriented, functional entity component system", "main": "ecs.js", "types": "types/ecs.d.ts",