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

feat(cloudflare): add local mocking for Caches bindings #8664

Conversation

alexanderniebuhr
Copy link
Member

@alexanderniebuhr alexanderniebuhr commented Sep 25, 2023

Changes

  • new: local mocking for caches

Testing

  • existing tests
  • added tests for caches

Docs

/cc @withastro/maintainers-docs for feedback!

@changeset-bot
Copy link

changeset-bot bot commented Sep 25, 2023

🦋 Changeset detected

Latest commit: 1de957b

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

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

@github-actions github-actions bot added the pkg: integration Related to any renderer integration (scope) label Sep 25, 2023
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch 3 times, most recently from 4392bbb to 47479f2 Compare September 26, 2023 06:52
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from cc2a011 to 8d3d083 Compare September 26, 2023 07:10
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 47479f2 to dc2e7b7 Compare September 26, 2023 07:10
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 8d3d083 to 6755acd Compare September 26, 2023 07:11
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch 3 times, most recently from 3976c39 to 8743a34 Compare September 26, 2023 11:40
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 6755acd to 28835f3 Compare September 26, 2023 14:40
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 8743a34 to eea35f9 Compare September 26, 2023 14:40
@alexanderniebuhr alexanderniebuhr marked this pull request as ready for review September 26, 2023 17:08
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 28835f3 to 90b98ee Compare September 26, 2023 17:12
@alexanderniebuhr alexanderniebuhr requested a review from a team as a code owner September 26, 2023 17:12
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from eea35f9 to d20835b Compare September 26, 2023 17:13
@alexanderniebuhr alexanderniebuhr changed the title feature(cloudflare): add Caches bindings feature(cloudflare): add local mocking for Caches bindings Sep 26, 2023
@alexanderniebuhr alexanderniebuhr changed the title feature(cloudflare): add local mocking for Caches bindings feat(cloudflare): add local mocking for Caches bindings Sep 26, 2023
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 90b98ee to f310c08 Compare September 26, 2023 18:34
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from d20835b to 0292819 Compare September 26, 2023 18:34
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from f310c08 to 3c47012 Compare September 27, 2023 13:43
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 0292819 to ec532b9 Compare September 27, 2023 13:43
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 3c47012 to 6dc85e7 Compare September 27, 2023 14:05
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from ec532b9 to 6f2efd1 Compare September 27, 2023 14:05
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 404597b to 41b1564 Compare September 28, 2023 15:47
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from ff43a74 to fc2bb87 Compare September 28, 2023 15:47
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 41b1564 to d52d71c Compare September 28, 2023 16:05
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch 2 times, most recently from 38a7489 to c3f05d8 Compare September 28, 2023 16:08
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from d52d71c to c20ab42 Compare September 28, 2023 16:25
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from c3f05d8 to 7c51c28 Compare September 28, 2023 16:25
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from c20ab42 to 7846d92 Compare September 28, 2023 18:44
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 7c51c28 to 23cc5c7 Compare September 28, 2023 18:44
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 7846d92 to 6e3a730 Compare September 28, 2023 19:12
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 23cc5c7 to cfa6dff Compare September 28, 2023 19:12
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from cfa6dff to 3f83b5a Compare September 29, 2023 07:48
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 6e3a730 to 913c8f5 Compare September 29, 2023 19:50
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 3f83b5a to d184e3d Compare September 29, 2023 19:50
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 913c8f5 to b55e208 Compare September 30, 2023 05:42
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from d184e3d to 3b697cf Compare September 30, 2023 05:42
Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Docs approves!

@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from b55e208 to 9e6a8d0 Compare October 2, 2023 13:43
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 3b697cf to bc6c259 Compare October 2, 2023 13:43
---------

Co-authored-by: Sarah Rainsberger <[email protected]>
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_Add_KV_Bindings branch from 9e6a8d0 to 2edf350 Compare October 2, 2023 13:47
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from bc6c259 to 9f04df4 Compare October 2, 2023 13:47
@alexanderniebuhr alexanderniebuhr merged commit 7b5ebe0 into nbhr/feat_cloudflare_Add_KV_Bindings Oct 2, 2023
4 checks passed
@alexanderniebuhr alexanderniebuhr deleted the nbhr/feature_cloudflare_add_Caches_bindings branch October 2, 2023 14:02
alexanderniebuhr added a commit that referenced this pull request Oct 2, 2023
* feat(cloudflare): Add KV Bindings

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

* feat(cloudflare): add local mocking for Caches bindings (#8664)

* feature(cloudflare): add Caches bindings

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

* feat(cloudflare): add local mocking for DO bindings (#8690)

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>
alexanderniebuhr added a commit that referenced this pull request Oct 2, 2023
* feat(cloudflare): add support for r2 bindings

This update provides users the ability to leverage Cloudflare's R2 storage within the system.

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

* feat(cloudflare): add local mocking for KV bindings (#8657)

* feat(cloudflare): Add KV Bindings

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

* feat(cloudflare): add local mocking for Caches bindings (#8664)

* feature(cloudflare): add Caches bindings

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

* feat(cloudflare): add local mocking for DO bindings (#8690)

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>
alexanderniebuhr added a commit that referenced this pull request Oct 2, 2023
* feat(cloudflare): add D1 database binding

* feat(cloudflare): add local mocking for R2 bindings (#8656)

* feat(cloudflare): add local mocking for KV bindings (#8657)

* feat(cloudflare): add local mocking for Caches bindings (#8664)

* feat(cloudflare): add local mocking for DO bindings (#8690)

---------

Co-authored-by: Sarah Rainsberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants