- By Gojko Adzic
Claudia 2.1.1 is now available on NPM, along with Claudia API Builder 2.0.2, fixing several bugs:
- Access-Control-Allow-Credentials header is now being set automatically if CORS is allowed, fixing cookie/header authentication workflows for CORS, thanks to StampStyle.
--no-optional-dependencies
fix, thanks to jveres, now correctly excludes optional dependencies.- package.json
files
wildcards now work correctly. Claudia previously flattened the directory structure in some cases when wildcards are used, now it will preserve the directory structure from the package.
Claudia is now using NPM to package files, instead of directly copying individual files, so all NPM tricks and workflow events for packaging are directly supported. This makes it also easier to predict what’s going to end up in a package.
There are no code changes required for any client packages. If you used wildcards in the files
property of package.json and had workarounds for that bug, you can simplify your deployment now.
Interested in Claudia.js? Get notified when we release a new version.
Low-volume, high value mailing list, no ads or spam.