Skip to content

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Mar 25, 2025

Changes

  • NEXT_CACHE_WORKERS_KV -> NEXT_CACHE_KV
  • durable-queue -> do-queue
  • NEXT_CACHE_REVALIDATION_DURABLE_OBJECT -> NEXT_CACHE_DO_REVALIDATION
  • create an overrides
  • drop NEXT_CACHE_D1_TAGS_TABLE, NEXT_CACHE_D1_REVALIDATIONS_TABLE
  • NEXT_CACHE_REVALIDATION_WORKER -> WORKER_SELF_REFERENCE (I wish we can drop that ASAP)
  • NEXT_CACHE_KV -> NEXT_INC_CACHE_KV
  • NEXT_CACHE_R2_... -> NEXT_INC_CACHE_R2_...
  • NEXT_CACHE_D1 -> NEXT_TAG_CACHE_D1
  • NEXT_CACHE_DO_REVALIDATION -> NEXT_CACHE_DO_QUEUE
  • NEXT_CACHE_DO_... -> NEXT_TAG_CACHE_DO_...
  • ... -> NEXT_CACHE_DO_QUEUE_...

TODO: changeset

What about renaming NEXT_CACHE_REVALIDATION_WORKER to NEXT_CACHE_SERVICE_SELF or any better idea?

/cc @conico974 @james-elicx @dario-piotrowicz

Copy link

changeset-bot bot commented Mar 25, 2025

🦋 Changeset detected

Latest commit: 85c308b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Mar 25, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@499

commit: 85c308b

@vicb vicb requested review from conico974 and james-elicx March 25, 2025 15:37
james-elicx
james-elicx previously approved these changes Mar 25, 2025
@james-elicx james-elicx dismissed their stale review March 25, 2025 20:59

premature

@vicb
Copy link
Contributor Author

vicb commented Mar 26, 2025

I think I have addressed the feedback, I'm going to add a changeset

@vicb vicb requested review from conico974 and james-elicx March 26, 2025 07:49
Copy link
Collaborator

@conico974 conico974 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a few minor nits

@vicb
Copy link
Contributor Author

vicb commented Mar 26, 2025

Thanks for the review 🙏

@vicb vicb merged commit 5037f57 into main Mar 26, 2025
7 checks passed
@vicb vicb deleted the vicb/cleanup branch March 26, 2025 09:54
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.

3 participants