Skip to content

v0.1.0

Latest
Compare
Choose a tag to compare
@maraisr maraisr released this 05 Dec 06:40
· 8 commits to main since this release
ecc33fa

BREAKING CHANGES

  • Pins diary@0.3.0 — which supports worker modules. (see https://github.com/maraisr/diary/releases/tag/0.3.0)

  • In order to support Cloudflare Module Workers — ambient environment variables no longer exist. Which leaves this up to the developer to opt log events in with the supplied enable api.

    •  export default {
         fetch(req, env) {
            enable(env.DEBUG);
      
            const log = track(request);
            // ...
         }
       }