Releases: zengm-games/facesjs
Releases · zengm-games/facesjs
v5.0.1
v5.0.0
- Got rid of CommonJS build and switched to ESM only, since Node 20+ can require(ESM).
v4.3.3
- Get rid of
generateRelative
export and instead just have arelative
option on the normalgenerate
function.
v4.3.2
- Don't override jersey/teamColors when making relatives, it just produces weird results.
v4.3.1
- Fix issue with some bundlers.
v4.3.0
-
#58 - New
generateRelative
function to generate a face that is similar to an exisiting face, like a sibling/parent/child. -
#57 - faces.js recognizes if it has been opened from a ZenGM game, and in that case it displays a "Save" button in the bottom right corner that sends face data back to the page that opened it. (Other apps can use the same mechanism if they want, there's nothing specific to ZenGM in the code here.)
v4.2.2
-
The
Face
React component should now be imported as:// New correct way import { Face } from "facesjs/react";
Rather than the way it was imported in version 4.2.0:
// Old wrong way import { Face } from "facesjs";
The reason is because version 4.2.0 broke importing other facesjs exports in some non-React projects.
v4.2.1
v4.2.0
-
Added a
Face
React component for easier integration with React. -
Renamed the
Face
type toFaceConfig
.