Skip to content

Releases: zengm-games/facesjs

v5.0.2

09 Sep 13:13

Choose a tag to compare

  • Remove extra class names from some SVG elements, as they were not doing anything and had the potential to conflict with other class names (such as "outline" from Tailwind).

v5.0.1

06 May 16:54

Choose a tag to compare

  • Remove extra files from build.

v5.0.0

06 May 16:48

Choose a tag to compare

  • Got rid of CommonJS build and switched to ESM only, since Node 20+ can require(ESM).

v4.3.3

24 Mar 02:10

Choose a tag to compare

  • Get rid of generateRelative export and instead just have a relative option on the normal generate function.

v4.3.2

24 Mar 02:10

Choose a tag to compare

  • Don't override jersey/teamColors when making relatives, it just produces weird results.

v4.3.1

24 Mar 00:54

Choose a tag to compare

  • Fix issue with some bundlers.

v4.3.0

24 Mar 00:26

Choose a tag to compare

  • #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

04 Aug 20:56

Choose a tag to compare

  • 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

15 May 21:20

Choose a tag to compare

  • #47 - Restore the "shave" facial feature option to the editor, which was accidentally removed in v4.1.0.

v4.2.0

13 May 15:09

Choose a tag to compare

  • Added a Face React component for easier integration with React.

  • Renamed the Face type to FaceConfig.