Releases: lukeed/cfw
Release list
v0.3.0
Features
-
Add
config.cronsupport (#10): 146d953
You may now define CRON triggers via yourcfwconfiguration file; example JSON below:{ "name": "hello", "subdomain": true, "profile": "personal", "module": true, "cron": [ "*/15 * * * *", "*/45 * * * *" ] }
Patches
- Avoid the
fs.rmdirdeprecation message on Node 16+: ee047a5
Chores
- Add "Authentication" README section: e9482ea
v0.2.0
Features
-
Add
config.subdomainoption forworkers.devsupport (#7, #9): 3a26e6a, ae4ccd0
Includesubdomain: truein your cfw configuration file to deploy to your account's subdomain. -
Add
config.moduleoption for deploying Module Worker: 6ffc62a
Includemodule: truein your cfw configuration file to deploy a Module Worker. -
Add
config.usageoption for Worker's Usage Model: 557a000
Relies on account default; valid options are"bundled"and"unbound" -
Minify
buildoutput by default: 6f19b63
Disable via the--no-minifyargument.
Patches
- (types) Make
Globalstype more strict w/ string-inference: ef16501
Chores
v0.1.0
Breaking
-
Now uses
esbuildinstead ofrollupfor bundling: 7015697, f60251d
This only affects theconfig.buildfunction hook, if you had been using it. -
Now requires Node 12.10+ runtime: 7e6d20d, b895c12
Previously was only a Node 10.x requirement -
Only ship
cfwas an ESM file: ed0a4b7, 09c49ab
Because Node 12.10+ is now required, there's no need to ship a CommonJS runtime (or both)
Features
- Support
cfw.cjsandcfw.mjsconfig files: 62f93f4 - Add TypeScript definition file for
Configinterface: b6999a8 - Throw
builderror ifconfig.build()produces invalid configuration: 37a839a
Chores
- (build) Update "build errors" message: 08c9945
- (utils) use
Setfor worker argv filters: b68a41f - (utils) Merge
exists&asserthelpers: 402c8f4 - Bump
typescriptversion: d0e4ae7 - Inject
$$VERSION$$at build time: 7945050 - Convert
bin.jsto TypeScript main entry: bf06dec - Replace
premovewithfs.rmdirnative: b895c12