Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @opennextjs/cloudflare to ^0.5.0 #212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@opennextjs/cloudflare (source) ^0.3.0 -> ^0.5.0 age adoption passing confidence

Release Notes

opennextjs/opennextjs-cloudflare (@​opennextjs/cloudflare)

v0.5.0

Compare Source

Minor Changes
  • 82bb588: feat: basic in-memory de-duping revalidation queue
Patch Changes
  • 2e48d4f: fix: make sure that fetch cache sets are properly awaited

    Next.js does not await promises that update the incremental cache for fetch requests,
    that is needed in our runtime otherwise the cache updates get lost, so this change
    makes sure that the promise is properly awaited via waitUntil

  • 0c26049: fix path to file template in open-next.config.ts.

v0.4.8

Compare Source

Patch Changes
  • ac8b271: fix waitUntil

    Calling waitUntil/after was failing when mulitple requests were handled concurrently.
    This is fixed by pulling opennextjs/opennextjs-aws#733

  • 761a312: import randomUUID from node:crypto to support NodeJS 18

v0.4.7

Compare Source

Patch Changes
  • 420b598: Fix asset cache path

  • a19b34d: perf: reduce CPU and memory usage by limiting code to AST parsing

  • f30a5fe: bump @opennextjs/aws dependency to https://pkg.pr.new/@​opennextjs/aws@727

  • 6791cea: Use kebab-case for the KV Cache.

  • a630aea: fix: enable using the direct queue for isr

    The direct mode is not recommended for use in production as it does not de-dupe requests.

  • f30a5fe: Fix: make sure that the kvCache doesn't serve stale cache values from assets when there is no KV binding

v0.4.6

Compare Source

Patch Changes
  • 9561277: fix: remove dynamic require for map file

    ESBuild tries to load all files in the chunks folder with require("./chunks/" + var).
    This is an error when the folder contains map file.

v0.4.5

Compare Source

Patch Changes
  • 1ccff65: bump @opennextjs/aws dependency to https://pkg.pr.new/@​opennextjs/aws@724

    this bump fixes rewrites to external urls not working when the external urls
    point to resources hosted on the Cloudflare network

  • 30374b9: fix: Drop the module condition from ESBuild

    Because Next (via nft) does not use the module condition, ESBuild should not use it.
    Otherwise we might end up with missing files and a broken build.

v0.4.4

Compare Source

Patch Changes
  • 6103547: fix: provide a proper error message when using getCloudflareContext in static routes

    getCloudflareContext can't be used in static routes, currently a misleading error
    message incorrectly tells the developer that they haven't called initOpenNextCloudflareForDev
    in their config file, this change updates such error message to properly clarify what
    the issue is (and how to solve it)

  • 0a6191d: fix the encoding of __NEXT_PRIVATE_STANDALONE_CONFIG

  • da7f8d8: fix: enable PPR with wrangler dev

  • 714172d: fix: trailing slash redirect

  • 0892679: fix: inline optional dependencies when bundling the server

v0.4.3

Compare Source

Patch Changes
  • 9d45ee8: fix the error message of getCloudflareContext

    Hardcode function names that would get mangled otherwise.

  • ac52954: bump the wrangler peer dependency (so to avoid multiple Using vars defined in .dev.vars logs during local development)

v0.4.2

Compare Source

Patch Changes
  • 1b3a972: Dump ESBuild metadata to handler.mjs.meta.json

    The ESBuild metadata are written to a file alongside handler.mjs
    in .open-next/server-functions/default/...

  • 5c90521: refactor: Make the list of optional dependencies configurable

  • 67acb2f: fix build issues with @opentelemetry

    By using the pre-compiled library provided by Next.

  • 3ed6cd1: fix: syntax error

v0.4.1

Compare Source

Patch Changes
  • 1a2b815: fix: make sure that the initOpenNextCloudflareForDev() logic runs only once

    Currently calling initOpenNextCloudflareForDev() in the Next.js config file causes
    this initialization logic to run twice, consuming more resources and causing extra
    noise in the terminal logs, this change makes sure that the initialization logic
    is run only once instead

v0.4.0

Compare Source

Minor Changes
  • 8de2c04: introduce new initOpenNextCloudflareForDev utility and make getCloudflareContext synchronous

    this change introduces a new initOpenNextCloudflareForDev function that must called in the Next.js config file to integrate the Next.js dev server with the open-next Cloudflare adapter.

    Also makes getCloudflareContext synchronous.

    Additionally the getCloudflareContext can now work during local development (next dev) in the edge runtime (including middlewares).

    Moving forward we'll recommend that all applications include the use of the initOpenNextCloudflareForDev utility in their config file (there is no downside in doing so and it only effect local development).

    Example:

    // next.config.mjs
    
    import { initOpenNextCloudflareForDev } from "@​opennextjs/cloudflare";
    
    initOpenNextCloudflareForDev();
    
    /** @​type {import('next').NextConfig} */
    const nextConfig = {};
    
    export default nextConfig;
Patch Changes
  • 4ec334a: fix: @​vercel/og failing due to using the node version.

    Patches usage of the @​vercel/og library to require the edge runtime version, and enables importing of the fallback font.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) January 27, 2025 17:31
@renovate renovate bot force-pushed the renovate/opennextjs-cloudflare-0.x branch 8 times, most recently from df0dda0 to 2dc13fa Compare February 1, 2025 20:44
@renovate renovate bot force-pushed the renovate/opennextjs-cloudflare-0.x branch from 2dc13fa to 63e8bb8 Compare February 12, 2025 11:00
@renovate renovate bot changed the title chore(deps): update dependency @opennextjs/cloudflare to ^0.4.0 chore(deps): update dependency @opennextjs/cloudflare to ^0.5.0 Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants