Skip to content

Commit

Permalink
v1.2.0, remove catch-all any type for extended Component properties
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzy committed Nov 23, 2020
1 parent 0b35bd3 commit 34a9f07
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ Build sizes are also significantly smaller due to no longer using the node.js `c
* Swap to UUIDv4 for performance improvements \([martinemmert](https://github.com/martinemmert)\]
* Fix of webbenchmark \[[martinemmert](https://github.com/martinemmert)\]
* Web Benchmark is now apples-to-apples comparison, reflected in Overview.md \[[fritzy](https://github.com/fritzy)\]

## 1.2.0 November 22, 2020

* Components can be registered to multiple worlds. (more multi-world support to come)
* Prettier config and formatting.
* Components typeName static property to deal with minimizers (compiling packages sometimes change function/class names).
* Custom System init parameters.
* TypeScript fixes.
* System.subscribe will now take Component class as well as name (to match other functions that take Component type).
1 change: 1 addition & 0 deletions builds/ape-ecs-v1.2.0.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ape-ecs",
"version": "1.1.1",
"version": "1.2.0",
"description": "Ape-ECS (Apex) Entity-Component-System library for simulation and game development.",
"main": "./src/index.js",
"types": "./src/index.d.ts",
Expand Down
1 change: 0 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export declare class Component {
entity: Entity;
id: string;
update(values?: IComponentUpdate): void;
[name: string]: any;
static properties: Object;
static serialize: Boolean;
static serializeFields: string[];
Expand Down

0 comments on commit 34a9f07

Please sign in to comment.