Repository navigation
v0.6.0
Minor Changes
-
725a0c0: The server adapters (Express, Fastify, Hono, Koa, Elysia, h3, Astro, SvelteKit, NestJS, Fetch API, Angular) accept the generated
config, so{ ...dialex }fromdialex.generated.tsis all they need:defaultLocale,localesandfallbacksno longer have to be repeated by hand. Explicit options still win.Express, Hono, Koa, Elysia, h3 and Astro also export
dialexExpress,dialexHono,dialexKoa,dialexElysia,dialexH3anddialexAstro, so the adapter and the generateddialexobject do not share a name.dialexkeeps working. -
39eca0b:
dialexjsno longer depends onfast-globandunconfig(about 2.9 MB of installed size, mostlyjiti). The project scanner moved into@dialexjs/cli, which already did all the scanning.Breaking: the
dialexjs/scannerentry point is gone, and adapters no longer scan the project at startup when nodictionariesare passed. Pass the generated registry ({ ...dialex }fromdialex.generated.ts); an adapter without it only finds dictionaries already registered throughdefineDictionary.