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
github-actions[bot]
107ea4159d
chore: bump versions ( #513 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-03-29 08:16:35 -04:00
Jonathan Donaldson
cd41d40fbe
Update queue bindings ( #335 )
...
* Update queues
* Update queue bindings
* Fix tests and lint
* Fix tests
* Add support for message batches and retry / message options
* Add queue example
* Address comments
2024-03-29 07:19:37 -04:00
github-actions[bot]
e1e93360a1
chore: bump versions ( #504 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-03-27 15:35:26 -04:00
Alexander van Saase
340177c3f6
Implement Send, Sync and Clone for Fetcher ( #503 )
...
* Derive clone for Fetcher
* Implement Send and Sync for Fetcher
2024-03-27 15:23:16 -04:00
github-actions[bot]
f6ba9558b4
chore: bump versions ( #497 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-03-26 13:05:09 -04:00
Tanner Rogalsky
476f85b6b2
Expose DurableObject's transaction function ( #487 )
2024-03-26 12:55:15 -04:00
Eric Seppanen
3db61a422e
implement get_tags for hibernatable websockets ( #484 )
...
get_tags allows a durable object to read metadata describing the
websocket.
2024-03-19 19:48:13 -04:00
github-actions[bot]
dc040f07e9
chore: bump versions ( #479 )
...
Co-authored-by: kflansburg <6134007+kflansburg@users.noreply.github.com>
2024-03-15 11:24:20 -04:00
Nico Zweifel
7ed61c088a
update/use workspace dependencies (wasm_bindgen, etc) ( #472 )
...
* update dependencies
* use workspace version
* bump / use workspace versions
* format
* Update Cargo.toml
* format
* Update Cargo.toml
* use newest version
2024-03-11 11:11:59 -04:00
Kevin Flansburg
c0bf5cd8d6
Release v0.0.20 ( #463 )
2024-03-08 08:04:20 -08:00
Alexandre Faria
3f1f7836b0
Added support for R2 Checksums to GET and PUT. ( #460 )
...
* Added support for R2 Checksums to GET and PUT.
* Fixed some clippy warnings.
2024-03-08 07:57:25 -08:00
kpcyrd
9328b299a9
Add cf.as_organization function ( #461 )
2024-03-07 13:31:28 -08:00
Kevin Flansburg
4663a8ac7e
Release v0.0.19 ( #459 )
2024-03-05 09:42:46 -05:00
Dylan R. Johnston
1ddf6d7579
Implement Hibernatable Web Sockets API ( #436 )
...
* Rebase commit
* Pull Request feedback
* Fix problems with async_trait
* Improve error message around incorrect impl methods
* Improve error message around incorrect impl methods
* Add missing semi-colon
* Add missing async
* Add clippy exceptions
* Fix trait type
* Properly qualify worker_sys
* Change websockets to ref:
* Revert formatting changes to Cargo.toml
* Remove left-over code
* fix formatting
* clippy
---------
Co-authored-by: Kevin Flansburg <kflansburg@cloudflare.com>
2024-02-28 09:10:54 -05:00
Kevin Flansburg
e06193a621
Update all dependencies ( #450 )
...
* Update all dependencies
* Fix tests for changes in router param matching
2024-02-26 12:38:22 -05:00
Fredrik Fornwall
d40ced2991
Update wasm-bindgen from 0.2.86 to 0.2.87
2023-09-22 13:10:39 +02:00
Zeb Piasecki
12e011ad9f
chore: bump versions
2023-08-08 16:39:51 -04:00
Kevin Flansburg
df9d61a383
Correct typo in response webSocket attribute
2023-08-04 17:06:58 -04:00
KianNH
215c6f7253
chore: various typo fixes
2023-06-15 13:58:00 -07:00
FlareLine
ff994ff10d
Created query mcaro
2023-06-14 12:14:31 -07:00
FlareLine
a728c6ba59
Added feature flag
2023-06-14 12:14:31 -07:00
FlareLine
9934527d40
Added initial contributions with some fixes
2023-06-14 12:14:31 -07:00
Zeb Piasecki
71ad6bc969
chore: update deps
2023-06-12 09:52:50 -07:00