Releases: lukeed/cfw
v0.3.0
Features
-
Add
config.cron
support (#10): 146d953
You may now define CRON triggers via yourcfw
configuration file; example JSON below:{ "name": "hello", "subdomain": true, "profile": "personal", "module": true, "cron": [ "*/15 * * * *", "*/45 * * * *" ] }
Patches
- Avoid the
fs.rmdir
deprecation message on Node 16+: ee047a5
Chores
- Add "Authentication" README section: e9482ea
v0.2.0
Features
-
Add
config.subdomain
option forworkers.dev
support (#7, #9): 3a26e6a, ae4ccd0
Includesubdomain: true
in your cfw configuration file to deploy to your account's subdomain. -
Add
config.module
option for deploying Module Worker: 6ffc62a
Includemodule: true
in your cfw configuration file to deploy a Module Worker. -
Add
config.usage
option for Worker's Usage Model: 557a000
Relies on account default; valid options are"bundled"
and"unbound"
-
Minify
build
output by default: 6f19b63
Disable via the--no-minify
argument. -
Upgrade to
[email protected]
version: 039d5ac, 57176e9
Patches
- (types) Make
Globals
type more strict w/ string-inference: ef16501
Chores
v0.1.0
Breaking
-
Now uses
esbuild
instead ofrollup
for bundling: 7015697, f60251d
This only affects theconfig.build
function 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
cfw
as 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.cjs
andcfw.mjs
config files: 62f93f4 - Add TypeScript definition file for
Config
interface: b6999a8 - Throw
build
error ifconfig.build()
produces invalid configuration: 37a839a
Chores
- (build) Update "build errors" message: 08c9945
- (utils) use
Set
for worker argv filters: b68a41f - (utils) Merge
exists
&assert
helpers: 402c8f4 - Bump
typescript
version: d0e4ae7 - Inject
$$VERSION$$
at build time: 7945050 - Convert
bin.js
to TypeScript main entry: bf06dec - Replace
premove
withfs.rmdir
native: b895c12