Releases: syumai/workers
Releases · syumai/workers
Release v0.27.0
Summary
- Added Cloudflare Queues's Producer API support.
- see:
cloudflare/queues
package
- see:
- Added []byte arguments to D1 Query / Exec support.
- Added multiple handlers in single worker (e.g. fetch + cron) support.
What's Changed
- Add message producer by @meandnano in #125
- Support []byte arguments to D1 Query/Exec by @ben-krieger in #128
- Response content length by @ben-krieger in #129
- Support HTTP Request and Cron Trigger in Single Worker by @ben-krieger in #130
- split Done funcs from workers.Serve / cron.ScheduleTask by @syumai in #132
- split queues.Producer's Send funcs and BatchMessage constructors by @syumai in #133
New Contributors
- @meandnano made their first contribution in #125
- @ben-krieger made their first contribution in #128
Full Changelog: v0.26.3...v0.27.0
Release v0.26.3
What's Changed
Full Changelog: v0.26.2...v0.26.3
Release v0.26.2
What's Changed
- add template for cron jobs creation (issue 49) by @vhespanha in #118
- add jsutil.MaybeInt wrapper; apply it to IncomingProperties.Asn by @Skee in #120
New Contributors
- @vhespanha made their first contribution in #118
- @Skee made their first contribution in #120
Full Changelog: v0.26.1...v0.26.2
Release v0.26.1
What's Changed
Full Changelog: v0.26.0...v0.26.1
Release v0.26.0
What's Changed
- fix D1 driver implementation using stmt.raw({ columnNames: true }) by @zztkm in #112
- specify SHELL in Makefile by @syumai in #113
Full Changelog: v0.25.0...v0.26.0
Release v0.25.0
v0.24.0
Breaking Change
- #102 removed
context.Context
parameter from some Cloudflare-related APIs.- if your build fails, please remove
ctx context.Context
from arguments.
- if your build fails, please remove
Example of API changes
// old
cloudflare.Getenv(ctx, "key")
// new
cloudflare.Getenv("key")
// old
cloudflare.GetBinding(ctx, "key")
// new
cloudflare.GetBinding("key")
What's Changed
- build: update compat date, remove by @elithrar in #98
- add Makefile command to build example files by @syumai in #99
- Remove dependencies on Context by @syumai in #102
- support sql.Open for D1 by @syumai in #105
New Contributors
Full Changelog: v0.23.3...v0.24.0
Release v0.23.3
What's Changed
Full Changelog: v0.23.2...v0.23.3
Release v0.23.2
Release v0.23.1
What's Changed
Full Changelog: v0.23.0...v0.23.1