File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,21 @@ post on the Discussion boards!
107107
108108## Library Updates
109109
110+ ### [ hecs]
111+
112+ [ hecs] is a fast, lightweight, and unopinionated archetypal ECS library.
113+
114+ [ Version 0.8] [ hecs-changelog ] marks a breaking change to most methods that
115+ previously took a generic type parameter ` T: Component ` , replacing them with
116+ methods taking type parameters which must be * references to* component types
117+ instead. This resolves a long-standing footgun where users accustomed to writing
118+ ` &T ` in queries might write ` world.get::<&T> ` , interpreted by rustc as
119+ referencing the valid component type ` &'static T ` , resulting in code that
120+ compiles but fails to access the intended component.
121+
122+ [ hecs ] : https://github.com/Ralith/hecs
123+ [ hecs-changelog ] : https://github.com/Ralith/hecs/blob/master/CHANGELOG.md#080
124+
110125## Popular Workgroup Issues in Github
111126
112127<!-- Up to 10 links to interesting issues -->
You can’t perform that action at this time.
0 commit comments