github opennextjs/opennextjs-cloudflare @opennextjs/cloudflare@0.5.4

one day ago

Patch Changes

  • #320 ff2dd55 Thanks @james-elicx! - feat: d1 adapter for the tag cache

  • #409 a604c85 Thanks @dario-piotrowicz! - make sure that instrumentation files work

    currently instrumentation files
    in applications built using the adapter are ignored, the changes here
    make sure that those are instead properly included in the applications

  • #410 d30424b Thanks @dario-piotrowicz! - remove eval calls introduced by depd wrapped functions

    Some dependencies of Next.js (raw-body and send) use depd to deprecate some of their functions,
    depd uses eval to generate a deprecated version of such functions, this causes eval warnings in
    the terminal even if these functions are never called, the changes here by patching the depd wrapfunction
    function so that it still retains the same type of behavior but without using eval

  • #404 12d385d Thanks @dario-piotrowicz! - fix incorrect (sync) getCloudflareContext error message

    currently getCloudflareContext run in sync mode at the top level of a not static route
    gives a misleading error message saying that the function needs to be run in a not static
    route, the changes here correct this error message clarifying that the problem actually is

Don't miss a new opennextjs-cloudflare release

NewReleases is sending notifications on new releases.