Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Releases: ecsyjs/ecsy

v0.4.2

10 Sep 03:39
Compare
Choose a tag to compare
  • Merge branch 'dev' 48c3c65
  • Merge pull request #248 from DavidPeicho/feature/typescript-entity efb4ae1
  • Merge pull request #254 from simonihmig/fix-type df6573f
  • Merge pull request #256 from crabmusket/fix_esm_imports 121ad7d
  • Merge pull request #259 from ecsyjs/dependabot/npm_and_yarn/http-proxy-1.18.1 0f9afe1
  • Merge pull request #258 from ecsyjs/dependabot/npm_and_yarn/tree-kill-1.2.2 3791da6
  • Merge pull request #253 from DavidPeicho/fix/remove-entity-components 3d626a1
  • Merge branch 'master' of github.com:MozillaReality/ecsy ca18575
  • Bump http-proxy from 1.17.0 to 1.18.1 bcafeec
  • Bump tree-kill from 1.2.1 to 1.2.2 4de731f
  • Add .js extensions to imports 10bb182
  • Fix wrong hasRegisteredComponent type fc03952
  • test: entitymanager: run eslint fix 3f89706
  • tests: add test checking entity.destroy() removal of components 1e7f169
  • EntityManager: dispose components before callng removeEntity 7ad68b7
  • typescript: parametrize World and System over Entity c49a64a
  • Merge pull request #231 from endel/patch-1 d7f9f11
  • fixes .set() to use only 2 arguments 9174025

v0.4.1...v0.4.2

v0.4.1

21 Aug 19:38
Compare
Choose a tag to compare
  • Merge pull request #244 from pirelenito/fix-entity-type-definition c9c7f80
  • Merge pull request #252 from DavidPeicho/fix/ts-system-priority 2a8bfeb
  • types: system: add as readonly attribute 7596fa9
  • Fix Entity type definition d577ea0

v0.4.0

06 Aug 13:22
Compare
Choose a tag to compare

Migration Guide:

  • You must call world.registerComponent() before registering systems that use these components.
  • We updated Prettier to its latest version and it changed two rules: trailing commas and single parameter arrow functions with parenthesis.
  • We have development mode that will increase the checks and warnings thrown to the user if you are using the API incorrectly, for example:
    • Try to set an attribute on a Component which has been not been defined in its schema
    • Try to modify a Component returned by with getComponent() (Instead of getMutableComponent())

Change Log:

  • fixes .set() to use only 2 arguments a12bf6e
  • Merge pull request #241 from xr3ngine-archive/init-typescript 42ce1a3
  • Shouldn't be abstract 74a5f34
  • Added init to System.d.ts 50f850b
  • Update AWESOME_ECSY.md 695a720
  • Merge pull request #240 from MozillaReality/entity-system-types c7ccfc8
  • Merge branch 'dev' into entity-system-types d9696ad
  • Add queries to system constructor 1767798
  • Make getComponent etc. use optional return types 5c6e7dc
  • Merge pull request #238 from MozillaReality/fix-linting fe94874
  • Merge pull request #239 from xr3ngine-archive/hasRegisteredComponent 1777e1f
  • Add ;s to pass linting e469d7c
  • Upgrade prettier and fix linting f43b121
  • Merge pull request #236 from xr3ngine-archive/hasRegisteredComponent b70c78e
  • Added world.hasRegisteredComponent 9a4f54c
  • Merge pull request #235 from MozillaReality/remove-undefined-components 684b2fa
  • Remove undefined from getComponent type 91de2d9
  • Merge pull request #227 from MozillaReality/docs 5ff1086
  • Fix decrement loop 18fa3a9
  • Update site/docs/manual/Architecture.md fdb5544
  • Update site/docs/manual/Architecture.md c59cef0
  • Update site/docs/manual/Architecture.md d5fa0e0
  • Update site/docs/manual/Architecture.md 4d21534
  • Update site/docs/manual/Architecture.md fa8ed3a
  • Update site/docs/manual/Architecture.md 774c72e
  • Merge pull request #233 from sheepsteak/readonly-components ce47c5d
  • Merge pull request #230 from zeddic/fix-system-types 3d94d38
  • Change getRemovedComponent to return readonly component 6d8bdc2
  • Allow getMutableComponent to return undefined 5fefe49
  • Update Entity getComponent tests for development and production 2a921e4
  • Fix getComponent type 3731762
  • Merge pull request #232 from sheepsteak/fix-stats-test 6a504ed
  • Fix Stats test 4482ad3
  • Fix types for System's queries changed option. 5447024
  • Update to peerjs https c0cac9a
  • Use peerjs.cesy.io bc7aa82
  • Fix registration order 31f8ddd
  • Merge pull request #222 from MozillaReality/fix-query-collision f42fe03
  • Rename names to ids in the Utils.queryKey a884839
  • Merge pull request #228 from MozillaReality/fernandojsg-patch-1 181255e
  • Update README.md ab8c916
  • Fixes #165, added missing docs 696c8b4
  • Merge pull request #225 from MozillaReality/stats 4f1c854
  • Add world.stats test 3a09e1d
  • Merge pull request #224 from MozillaReality/timer 12015f3
  • Change elapsed time and delta if no values are provided e534c95
  • Fix linter be8455f
  • Remove debugger 3cbbac8
  • Introduce throw when creating a query or registering a system with unregistered components 95c93e5
  • Fix ball example 392fb3f
  • Add check for Components registered before registering a system c44b97a
  • Change order on the three example 9c7af44
  • Add a simple test for _typeId 91d6851
  • Updates queryKey to use the Component typeId. Adds a regression test. fe6dc11
  • Bump lodash from 3.10.1 to 4.17.19 2a65212
  • Merge pull request #195 from MozillaReality/checkattributes 3697ae3
  • Add production check in checkUndefinedAttributes 883cfb3
  • Fix tests fe0bef1
  • checkUndefinedAttributes on schema 72451da
  • Check component attributes not defined on schema 758c668
  • Merge pull request #218 from zeddic/add-get-system-types 94a6da4
  • Merge pull request #217 from sheepsteak/replace-debug a57edcc
  • Merge pull request #216 from sheepsteak/fix-entity-tests d89aeb4
  • Update World.getSystem() typescript type to return the requested System type instead of System. f571544
  • Add docs about development mode b1533e3
  • Switch to using NODE_ENV d00051b
  • Use replace in Rollup 401f544
  • Add @rollup/plugin-replace 13d6541
  • Fix and enable Entity tests 0e4a0fb
  • Merge pull request #212 from MozillaReality/dependabot/npm_and_yarn/lodash-4.17.19 c262f94
  • Bump lodash from 3.10.1 to 4.17.19 9356013

v0.3.2...v0.4.0

v0.3.2

15 Jul 22:55
Compare
Choose a tag to compare
  • Merge pull request #204 from MozillaReality/removeName 572227b
  • Merge pull request #210 from joshmarinacci/dev 4b8017d
  • Update AWESOME_ECSY.md cdeb212
  • Merge pull request #209 from MozillaReality/fix/array-copy a8ea477
  • Fix the copyArray method 20c6c49
  • Update AWESOME_ECSY.md 9a6c33d
  • Update AWESOME_ECSY.md d8a40f2
  • Update AWESOME_ECSY.md f31b0bb
  • Update AWESOME_ECSY.md 733e65e
  • Update AWESOME_ECSY.md 3a5cd7c
  • Include awesome_ecsy.md 6d33b7e
  • Merge pull request #208 from MozillaReality/typescript-proptype-defaults 5bf62df
  • Merge pull request #207 from MozillaReality/typescript-component-defs c0ea632
  • Fix exported prop types 3cec8a9
  • Fix exported PropTypes b972601
  • Fix dest being undefined 5f04ceb
  • Handle component property default values correctly eff7734
  • Clean up typings related to component props de3c475
  • s/_ecsyId/_typeId 7d7f169
  • Use System.getName() 439b341
  • Fix WrapImmutable to use getName() 0917dd2
  • Fix Component.getName() f99e67a
  • Fix getName 652cd5a
  • Add test to registerTwo components with the same name c821b52
  • Bring back test case in case sensitive 93c9baa
  • Remove indexOf on addComponent 7add583
  • Remove getname usage ec32f59
  • Get rid of Component.name 68f4f56
  • Merge pull request #201 from MozillaReality/fix-typescript-defs a10b0ea
  • Remove ComponentProps and replace with inline union type 4f5adeb
  • World delta and time arguments are optional. f4874d3
  • Merge pull request #198 from wingyplus/fix-typo-doc 5308940
  • Fix typo in Architecture.md 4cb8f16

v0.3.1...v0.3.2

v0.3.1

27 Jun 00:52
Compare
Choose a tag to compare
  • Remove package.json import and replace with a constant 22785eb

v0.3.0...v0.3.1

v0.3.0

26 Jun 21:15
Compare
Choose a tag to compare

What's New?

ECSY now has component schemas! Schemas are used to set default component values and generate default implementations of the .clone(), .copy(), and .reset() functions. This is similar to the old createComponentClass() function, but it's now built into the Component class. This means you get Component Pooling and copying entities/components for free! If the default implementation isn't fast enough for your needs, you can also override each method. Learn more in the new docs here: https://ecsy.io/docs/#/manual/Architecture

Migration Guide:

  • createComponentClass has been removed. You'll need to migrate to the Component class and the new schema format. https://ecsy.io/docs/#/manual/Architecture?id=components
  • You must call world.registerComponent() before you can use a component.
  • All components must extend the Component class
  • Component schemas are optional, but highly recommended unless you know what you are doing. By defining a schema you get a default implementation of the .clone(), .copy(), and .reset() functions. Without these functions, component pooling will not work correctly and you will either need to disable component pooling or implement the functions yourself. You can find more details on custom components here: https://ecsy.io/docs/#/manual/Architecture?id=custom-components
  • createType has a new type signature. If you are using custom types, you will need to update them. https://ecsy.io/docs/#/manual/Architecture?id=components

Change Log:

  • update package-lock for ecsy/core 9b7a08f
  • Merge pull request #197 from MozillaReality/update-docs 8c89c78
  • Types.Object -> Types.Ref 78ff448
  • Add Architecture docs edits cc01b20
  • Try another export for _Entity 21153e6
  • Export _Entity and Entity types e4082cc
  • Export Entity as _Entity in typescript defs 5717016
  • Update README.md a60b106
  • Update Docs for New Component Schemas e7b0f9a
  • Remove README.md from docs folder cb11017
  • Fix links to example source f21646b
  • Remove build/benchmarks.module.js 05ff8be
  • Merge pull request #192 from MozillaReality/refactorbuild 80c5e2b
  • Merge branch 'dev' into refactorbuild b6bc4e7
  • Merge pull request #196 from MozillaReality/is-system b0de24d
  • Add isSystem check and fixed tests 98f4709
  • Fix linting 578bc0c
  • Merge branch 'dev' into refactorbuild f73a7f6
  • Fix linting 3cc3be6
  • Change back to ecsy package 27c4414
  • Fix break of system check as some bundlers are breaking it db907ed
  • Setup public/gh-pages scripts and directory b245353
  • Merge branch 'dev' into refactorbuild 46d2eb3
  • Merge pull request #191 from MozillaReality/updatetypes 7afb288
  • Update type copy/clone functions 22aa909
  • Update docs b67cd34
  • Update docs e47c2a9
  • Update system type definitions 69bb8b2
  • Update docs 66ae975
  • Update registerComponent types 39fbd39
  • Update entity types 5ebd49e
  • Add ObjectPool types 316c274
  • Update docs a2aa716
  • Update SystemStateComponent definitions 9826a7a
  • Update builds 2513f49
  • Fix prop types definition b2abd60
  • Fix component types c0974c5
  • Update type definitions 57ba541
  • Merge pull request #168 from MozillaReality/feature/component-schema-pooling 3b57af0
  • gitignore benchmark_result 87268cd
  • Fix createtype.test e21564a
  • Fix rebase 434fde1
  • Change Type.copy method 91645d0
  • Entity manager baseObject -> T f488d2b
  • Component.reset clone -> copy a2f0d85
  • baseObject -> T 0f0e243
  • entity.components -> entity._components 16e4b6e
  • Fix vector3 usage c8eaf9d
  • Add reset method to component class bb5996d
  • Implement methods on helper components. Pass false for default component constructor. b7f0369
  • Rebase and adding benchmarks 0169e05
  • Update benchmarks. WIP on browser e85d7ae
  • Added acquiring and returning 11f1418
  • All benchmarks e1e909b
  • more bench c645bb6
  • More benchmarks 405477e
  • More benchs 0141ec9
  • More benchmarks 5cef011
  • Add reset method to component class 98283c4
  • Implement methods on helper components. Pass false for default component constructor. c1a5cdf
  • Use Vector3 type in benchmark to match original implementation. 6126093
  • bump benchmarker 747c2e0
  • Rebase and adding benchmarks 5c5d8e8
  • ObjectPool.aquire => acquire 26d0672
  • Export Entity as _Entity and allow parameter to be set in World constructor 3493479
  • Added options to the world. entityPoolSize 65de2fc
  • Fix #157 remove entity from _entitiesByNames when removing it fbd87c9
  • Fix tests f180e4d
  • Implement new Component class and ObjectPool b9d88fb
  • Refactoring build, scripts, license 6e36dd6
  • Merge pull request #189 from MozillaReality/update-ava d4134ed
  • Fix merge conflicts 45c7e5b
  • Update ava to 3.9.0 be5318c
  • Merge pull request #177 from MozillaReality/benchmarks b515ca2
  • Enable all benchmarks 3face2b
  • Remove comments on objpool.bench b9417cb
  • Update benchmarks. WIP on browser 9b9be41
  • Added acquiring and returning bd3c631
  • Merge pull request #186 from IfnotFr/patch-1 1606f0d
  • Add unregisterSystem TS definition into World 264be79
  • All benchmarks 3e7f829
  • more bench ea20414
  • More benchmarks eb2d640
  • More benchs a20acf4
  • ObjectPool.aquire => acquire 4d3043e
  • Fix options assign on world 1bab4ef
  • Export Entity as _Entity and allow parameter to be set in World constructor a12c4be
  • Update README.md 5c0855f
  • More benchmarks e51982e
  • Fix bench names 474aba4
  • Initial benchmarks af82143

v0.2.6...v0.3.0