v0.50.0
Pre-release
Pre-release
New engine.types property
Previously, engine.typeEssentials was added to simplify working with custom actions that require information about available languages, characters, state and data. However, the naming was not correct and the design was not the best. That's why engine.types comes in and replaces old engine.typeEssentials. For the convenience the new type utility is added — TypesFromEngine.
Before
type Characters = NonNullable<(typeof engine.typeEssintials)['c']>;Now
import type { TypesFromEngine } from '@novely/core';
type Types = TypesFromEngine<typeof engine>;
type Characters = Types['c'];IIFE is no more
Previously, build included iife build for CDN's with global Novely variable. I think it was not really used, also modern browsers support loading of ESM and CDN's ship ESM nowadays.
Languages
Languages that were translated using an online translator were removed. It has not enough quality.