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 DO bindings #8690

Conversation

alexanderniebuhr
Copy link
Member

@alexanderniebuhr alexanderniebuhr commented Sep 28, 2023

Changes

  • new: local mocking for durable objects

Testing

  • existing tests
  • added tests for durable objects

Docs

/cc @withastro/maintainers-docs for feedback!

@alexanderniebuhr alexanderniebuhr requested a review from a team as a code owner September 28, 2023 13:16
@changeset-bot
Copy link

changeset-bot bot commented Sep 28, 2023

🦋 Changeset detected

Latest commit: 77661d7

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 28, 2023
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from d9aefe9 to e15d66f Compare September 28, 2023 13:18
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from f703ffc to ff43a74 Compare September 28, 2023 15:21
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from e15d66f to 57e02bf Compare September 28, 2023 15:21
@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_local_mocking_for_DO_bindings branch from 57e02bf to 2976a66 Compare September 28, 2023 15:47
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from fc2bb87 to 38a7489 Compare September 28, 2023 16:05
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from 2976a66 to 72fc005 Compare September 28, 2023 16:05
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from 38a7489 to c3f05d8 Compare September 28, 2023 16:08
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from 72fc005 to 413b974 Compare September 28, 2023 16:08
@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_local_mocking_for_DO_bindings branch from 413b974 to 048d3ce Compare September 28, 2023 16:25
@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_local_mocking_for_DO_bindings branch from 048d3ce to fa8817d Compare September 28, 2023 18:44
@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/feat_cloudflare_add_local_mocking_for_DO_bindings branch from fa8817d to 5641fd2 Compare September 28, 2023 19:13
@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_local_mocking_for_DO_bindings branch from 5641fd2 to 136f3db Compare September 29, 2023 07:49
@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_local_mocking_for_DO_bindings branch from 136f3db to e4ce7d4 Compare September 29, 2023 19:50
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from d184e3d to 3b697cf Compare September 30, 2023 05:42
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from e4ce7d4 to 8510659 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/feature_cloudflare_add_Caches_bindings branch from 3b697cf to bc6c259 Compare October 2, 2023 13:43
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from 8510659 to 5081969 Compare October 2, 2023 13:44
---------

Co-authored-by: Sarah Rainsberger <[email protected]>
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feature_cloudflare_add_Caches_bindings branch from bc6c259 to 9f04df4 Compare October 2, 2023 13:47
@alexanderniebuhr alexanderniebuhr force-pushed the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch from 5081969 to 77661d7 Compare October 2, 2023 13:47
@alexanderniebuhr alexanderniebuhr merged commit 1de957b into nbhr/feature_cloudflare_add_Caches_bindings Oct 2, 2023
13 checks passed
@alexanderniebuhr alexanderniebuhr deleted the nbhr/feat_cloudflare_add_local_mocking_for_DO_bindings branch October 2, 2023 14:02
alexanderniebuhr added a commit that referenced this pull request Oct 2, 2023
* 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]>
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