github-actions[bot]
daa910e9fe
chore: bump versions ( #854 )
...
Co-authored-by: guybedford <598730+guybedford@users.noreply.github.com>
2025-10-27 16:16:09 -07:00
Connor Hindley
5f5d27f52a
feat: add props support to Context ( #838 )
...
* feat: add props support to Context
Adds support for accessing props passed to workers via service bindings, enabling configuration to be passed based on invocation context.
* wire up wasm_bindgen_test and wasm-bindgen-test-runner
* rustup target add wasm32-unknown-unknown
---------
Co-authored-by: Guy Bedford <gbedford@cloudflare.com>
2025-10-14 17:45:14 -07:00
github-actions[bot]
8e72136a3c
Release v0.6.6 ( #823 )
2025-09-23 17:30:29 -07:00
github-actions[bot]
b5b60959f5
Release v0.6.5 ( #820 )
...
* chore: bump versions
* worker-build@0.1.8
---------
Co-authored-by: guybedford <598730+guybedford@users.noreply.github.com>
Co-authored-by: Guy Bedford <gbedford@cloudflare.com>
2025-09-18 16:29:02 -07:00
github-actions[bot]
aa2a75ba18
Release v0.6.4 ( #817 )
2025-09-17 21:41:45 -07:00
github-actions[bot]
eee6946229
Release v0.6.3 ( #811 )
...
* chore: bump versions
* bump worker-build@0.1.6
---------
Co-authored-by: guybedford <598730+guybedford@users.noreply.github.com>
Co-authored-by: Guy Bedford <gbedford@cloudflare.com>
2025-09-17 14:03:52 -07:00
hr567
8ddef15f40
Add Containers bindings ( #797 )
2025-09-17 13:33:21 -07:00
github-actions[bot]
2ebf1ba0a9
chore: bump versions ( #807 )
...
Co-authored-by: guybedford <598730+guybedford@users.noreply.github.com>
2025-09-16 17:05:16 -07:00
Connor Hindley
653ee535d1
feat: implement DurableObjectNamespace getByName and getByName with o… ( #792 )
...
* feat: implement DurableObjectNamespace getByName and getByName with options
Add support for the getByName API to directly obtain DurableObject stubs by name,
matching the JavaScript Workers API. This provides a more efficient alternative
to the id_from_name() + get_stub() pattern.
Changes:
- Add get_by_name() and get_by_name_with_options() to worker-sys bindings
- Implement get_by_name() and get_by_name_with_location_hint() in worker crate
- Add example handlers in worker-sandbox
- Update dependencies to latest Cloudflare Workers types
---------
Co-authored-by: Guy Bedford <gbedford@cloudflare.com>
2025-09-03 16:56:14 -07:00
github-actions[bot]
cf65a17267
chore: bump versions ( #788 )
...
Co-authored-by: guybedford <598730+guybedford@users.noreply.github.com>
2025-07-24 17:15:20 -07:00
Lexo Liu
00d2b20d0d
feat: implement Debug trait for various structs across the codebase ( #775 )
2025-07-24 16:12:59 -07:00
Guy Bedford
f50c73ae68
feat: SecretStore implementation, Miniflare upgrade ( #786 )
2025-07-24 15:57:34 -07:00
Luke Valenta
dd0e6363d6
Support deleting multiple R2 keys, fixes #780 ( #781 )
2025-07-16 16:09:47 -07:00
Guy Bedford
3f0db65e0f
fix: add additional optional cf properties ( #777 )
2025-07-14 14:41:04 -07:00
Marshall Bowers
415094a0e6
fix: make as_organization optional ( #776 )
2025-07-14 14:14:41 -07:00
Luke Valenta
dca9cd6e1a
Add name method to ObjectId, fixes #760 ( #761 )
...
* Add name method to ObjectId, fixes #760
- Fix up worker-sandbox/wrangler.toml to get 'npx wrangler dev' to work (on macOS)
- Add SOME_SECRET to .dev.vars to fix /durable/:id endpoint
- Add handlers for /hello and /storage endpoints in export_durable_object.rs in order to test ObjectId::name()
* Use wasm_bindgen getter attribute to access 'name' property
* Add 'equals' method for ObjectId
---------
Co-authored-by: Guy Bedford <gbedford@cloudflare.com>
2025-06-24 10:03:16 +01:00
github-actions[bot]
2e07f77f12
chore: bump versions ( #751 )
2025-06-19 11:38:15 -07:00
Connor Hindley
0c0c2eb0eb
Add support for sqlite backed durable objects. ( #727 )
2025-06-18 12:37:34 -07:00
Connor Hindley
b6b647a0a7
feat: Add support for DO websocket_auto_response. ( #728 )
2025-06-17 13:31:37 -07:00
Guy Bedford
8612c0cd64
deps: update dependencies, examples and templates /w Axum upgrade ( #744 )
2025-06-16 16:29:27 -07:00
Cole MacKenzie
ea5d36f2ab
Add support for Analytics Engine
...
This one was a little tricky to add and requires mocking out the
analytics engine binding using a miniflare wrapped binding that logs
each datapoint to console.
Resolves #280 , #327
refactor: rename to match Typescript type names
test: mock out analytics engine binding
2025-03-10 06:05:29 -07:00
zebp
5c31380201
chore: bump versions
2024-12-11 16:33:39 -05:00
Kevin Flansburg
c25260cee6
AI prototype with new bindings
2024-12-10 16:50:29 -05:00
github-actions[bot]
636d76047f
chore: bump versions ( #650 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-10-10 20:44:08 -04:00
Marc Mettke
b5de9b534a
Adding host_metadata to Cloudflare Request Data ( #348 )
...
* Adding host_metadata to Cloudflare Request Data
* Update incoming_request_cf_properties.rs
Make `host_metadata` method `catch`
* Update cf.rs
---------
Co-authored-by: Kevin Flansburg <kflansburg@cloudflare.com>
Co-authored-by: Kevin Flansburg <kevin.flansburg@gmail.com>
2024-10-10 20:06:18 -04:00
github-actions[bot]
c81a753dc7
chore: bump versions ( #642 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-09-26 08:24:41 -04:00
Kevin Flansburg
9fc2fbd0f3
Implement Rate Limiter Binding ( #603 )
...
* Implement Rate Limiter binding
* Make success field public
2024-09-26 08:10:55 -04:00
github-actions[bot]
af6ee9a99c
chore: bump versions ( #637 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-09-13 15:37:08 -04:00
nakamura shuta
5100f4e5d5
Implement get_all function to return non-folding set-cookie headers ( #597 )
...
* Add `get_all` function. (#423 )
* Implement get_all using wasm-bindgen
* Refactor Headers get_all method and improve error handling
- Update HeadersExt trait to return js_sys::Array directly
- Modify Headers::get_all to handle potential invalid values
- Adjust import order in ext.rs for consistency
* Included in glue module along with other modules
2024-09-02 06:28:15 -04:00
Lane Kolbly
ba9c868309
Make R2 Object::size return u64 ( #625 )
...
Co-authored-by: Lane Kolbly <lkolbly@cloudflare.com>
2024-08-27 08:59:18 +01:00
github-actions[bot]
aaf5c672c0
chore: bump versions ( #622 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-08-19 11:29:49 -04:00
Kevin Flansburg
c7e966cf2b
Remove HeaderExt and AbortSignalExt ( #621 )
...
* Remove HeaderExt
Closes #617
* Fix deprecation warnings
* feature
2024-08-19 11:15:05 -04:00
github-actions[bot]
6a5bfc1c8d
chore: bump versions ( #615 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-08-06 15:41:52 -04:00
Noah Kennedy
1e8183a38b
durable: add location hint support ( #614 )
2024-08-06 14:35:42 -04:00
github-actions[bot]
488e1b7b45
chore: bump versions ( #611 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-08-02 13:15:22 -04:00
github-actions[bot]
59e551edca
chore: bump versions ( #602 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-07-25 11:26:09 -04:00
Gonçalo
611ac9368d
Add support for Version Metadata Binding ( #598 )
...
* Add support for Version Metadata Binding
Allows users to fetch the version metadata fron the worker environment. This is useful when using Gradual Deployments.
* Add timestamp field to version object
---------
Co-authored-by: GoncaloGarcia <ggarcia@cloudflare.com>
2024-07-23 12:54:36 -04:00
Fisher Darling
80d1c6ca33
Support sha256 cert fingerprints in TlsClientAuth ( #601 )
...
This adds support for getting a client sha256 fingerprint.
2024-07-23 12:24:34 -04:00
github-actions[bot]
8a52472e55
chore: bump versions ( #579 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-05-19 08:58:32 -04:00
Kevin Flansburg
bfe6d566ab
Add encodeBody and cf to ResponseInit. Adopt builder pattern. ( #568 )
...
* Add `encodeBody` and `cf` to ResponseInit. Adopt builder pattern.
Closes #567
* Refine builder pattern
* address comments
* Response.clone, test, http extensions
* Do not check content-type in Response.json
Closes #577
2024-05-19 08:33:57 -04:00
Kevin Flansburg
6bf6cf7e30
Use u64 for R2 range requests ( #564 )
...
* Use u64 for R2 range requests
Closes #560
* address comment
* Clarify options
2024-05-19 08:24:34 -04:00
Alexander van Saase
a2b50b728d
Hyperdrive binding ( #566 )
...
* Starting to add hyperdrive binding
* Add Hyperdrive getters
* Expose getters from worker crate
2024-05-03 16:58:28 -04:00
Alexander van Saase
53b2ebc3ae
Implement Send, Sync and Clone for some Durable Object types ( #563 )
2024-05-03 16:58:14 -04:00
Kevin Flansburg
abbcb00bc9
Fix clippy lints ( #565 )
2024-05-03 11:55:48 -04:00
David Komer
3945ae6c16
Rust-friendly DigestStream API ( #529 )
...
* Rust-friendly DigestStream API
* Fixes #383
* refactor DigestStream
* move comment back
* delete examples yarn.lock
* Update worker/src/crypto.rs
Co-authored-by: Kevin Flansburg <kevin.flansburg@gmail.com>
* fix SendFuture syntax
* upgrade example deps
* remove allow dead code
---------
Co-authored-by: Kevin Flansburg <kevin.flansburg@gmail.com>
2024-04-30 12:26:49 -04:00
github-actions[bot]
8454d87844
chore: bump versions ( #558 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-04-28 19:37:49 -04:00
Jasper Bekkers
76c0c22250
🤽 worker-sys Make all methods catch ( #546 )
...
* Replace mechanically all wasm_bindgen(method) and return types
Return types find:
pub fn(.*)-> (?!Result)(.*);
Replace:
pub fn$1-> Result<$2, JsValue>
* Manual fixups
* Cleanup call-sites
* clippy lints
2024-04-14 09:54:41 -04:00
github-actions[bot]
449a16e36d
chore: bump versions ( #535 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-04-04 14:39:30 -04:00
Kevin Flansburg
7fecf35365
Add socket tests ( #518 )
...
* Add socket tests
* Fix d1 error again :/
2024-04-01 11:00:57 -04:00
Roshan P
31727a1f3e
Add Socket.opened implementation ( #509 )
...
* Add opened implementation
* Add binding attribute 'getter'.
* Remove opened option.
2024-03-30 08:46:26 -04:00