Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
File

v6.2.1

  • Bug Fixes:

    • undo recent addition of env export.

v6.2.0

  • New Features:

    • access your environment variables completely stateless.

      import { env } from 'https://deno.gg/darkflare@v6.2.0'
      
      export function func() {
        console.log(env)
      }
  • Bug Fixes:

    • no more usage of built-in Deno functions.

      https://esm.sh/file-type@18.2.0 seemed to cause some unexpected imports.

v6.1.0

  • New Features:

    • exp and nbf options in jwt’s sign method now automatically determine the seconds elapsed since midnight, January 1, 1970 UTC.

v6.0.1

  • Bug Fixes:

    • cli should now work as expected

v6.0.0

  • Breaking Changes:

    • removed Store utility

      we recommend to use e.g. flare as an alternative.

    • removed Webhook utility

      you should know how to send a webhook. so this utility is pretty useless.

    • renamed deploy command to publish

    • index routes must now be named mod.ts (following Deno’s naming convention)

    • jwt module now uses djwt under the hood

      the module exports only two methods now: sign (create a new token) and verify (validate tokens and return payload if it’s valid)

  • Bug Fixes:

    • realm-web is only included in the bundle if you’re actually using it
  • New Features:

    • added darkflare/authenticator module

      a easy and well-tested module for creating and validating one time passwords.

    • added encrypt and decrypt functions

      encrypt/decrypt text using AES-GCM SHA-256.