Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-04 | chore: upgrade to Rust 1.57.0 (#12968) | Bartek Iwańczuk | |
2021-12-04 | chore: merge v1.16.4 into main (#12984) | Luca Casonato | |
2021-12-01 | refactor: cli doesn't need to depend on deno_tls (#12952) | Ryan Dahl | |
also move create_http_client to deno_fetch | |||
2021-11-29 | feat(ext/net): enable sending to broadcast address (#12860) | Michael Busby | |
You can now send UDP datagrams to the broadcast address. | |||
2021-11-26 | feat(ext/net): ALPN support in `Deno.connectTls()` (#12786) | Yury Selivanov | |
2021-11-24 | chore: merge v1.16.3 into main (#12892) | Bert Belder | |
2021-11-17 | chore: bump crates for 1.16.2 (#12792) | David Sherret | |
2021-11-11 | chore: bump crate versions for 1.16.1 (#12729) | Luca Casonato | |
2021-11-09 | feat(core): streams (#12596) | Aaron O'Mullan | |
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams. `op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core` Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call Closes #12556 | |||
2021-11-09 | chore: bump crate versions for 1.16.0 (#12706) | Luca Casonato | |
2021-11-09 | fix(ext/net): expose all tls ops (#12699) | Luca Casonato | |
This makes it possible for implementers to cherry-pick which ops they want to use. | |||
2021-11-02 | chore: update to Rust edition 2021 (#12578) | Bartek Iwańczuk | |
2021-10-30 | cleanup(ext/net): consistent op names (#12607) | Aaron O'Mullan | |
2021-10-29 | feat: stabilize Deno.startTls (#12581) | Luca Casonato | |
This commit stabilizes `Deno.startTls` and removes `certFile` from the `StartTlsOptions`. | |||
2021-10-26 | feat(ext/net): add TlsConn.handshake() (#12467) | Bert Belder | |
A `handshake()` method was added that returns when the TLS handshake is complete. The `TlsListener` and `TlsConn` interfaces were added to accomodate this new method. Closes: #11759. | |||
2021-10-25 | chore: bump crate version for 1.15.3 (#12531) | Yoshiya Hinosawa | |
2021-10-20 | fix(ext/net): fix TLS bugs and add 'op_tls_handshake' (#12501) | Bert Belder | |
A bug was fixed that could cause a hang when a method was called on a TlsConn object that had thrown an exception earlier. Additionally, a bug was fixed that caused TlsConn.write() to not completely flush large buffers (>64kB) to the socket. The public `TlsConn.handshake()` API is scheduled for inclusion in the next minor release. See https://github.com/denoland/deno/pull/12467. | |||
2021-10-18 | chore: release crates for v1.15.2 (#12478) | Bartek Iwańczuk | |
2021-10-17 | fix(core): poll async ops eagerly (#12385) | Bert Belder | |
Currently all async ops are polled lazily, which means that op initialization code is postponed until control is yielded to the event loop. This has some weird consequences, e.g. ```js let listener = Deno.listen(...); let conn_promise = listener.accept(); listener.close(); // `BadResource` is thrown. A reasonable error would be `Interrupted`. let conn = await conn_promise; ``` JavaScript promises are expected to be eagerly evaluated. This patch makes ops actually do that. | |||
2021-10-12 | chore: bump crate version for 1.15.0 (#12406) | Satya Rohith | |
2021-10-10 | feat: stabilize Deno.resolveDns (#12368) | Satya Rohith | |
2021-10-10 | feat(ext/net): relevant errors for resolveDns (#12370) | Satya Rohith | |
2021-10-05 | chore: various op cleanup (#12329) | Leo K | |
2021-10-05 | chore: merge v1.14.3 into main (#12327) | Bartek Iwańczuk | |
2021-10-04 | chore: remove No*Permissions structs (#12316) | Luca Casonato | |
These are confusing. They say they are "for users that don't care about permissions", but that isn't correct. `NoTimersPermissions` disables permissions instead of enabling them. I would argue that implementors should decide what permissions they want themselves, and not take our opinionated permissions struct. | |||
2021-10-02 | fix(ext/net): should not panic when listening to unix abstract address (#12300) | Ahab | |
2021-09-30 | feat(tls): custom in memory CA certificates (#12219) | Luca Casonato | |
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`. | |||
2021-09-28 | chore: bump crate versions for 1.14.2 (#12253) | Aaron O'Mullan | |
2021-09-22 | chore(ext/net): improve embedder friendliness (#12178) | Ben Noordhuis | |
Default to None if UnsafelyIgnoreCertificateErrors is not present in the OpState. Embedders may not have a need for restricting outgoing TLS connections and having them hunt through the source code for the magic incantation that makes the borrow panics go away, is less user friendly. | |||
2021-09-22 | chore: bump crate versions for 1.14.1 (#12172) | Kitson Kelly | |
2021-09-21 | chore: bump deno_net (#12157) | Satya Rohith | |
2021-09-20 | refactor(ext/net): make op_connect & op_connect_tls public (#12150) | Satya Rohith | |
2021-09-17 | chore: Remove unused deps from Cargo.toml files (#12106) | Squirrel | |
2021-09-14 | chore: bump crate versions for 0.14 (#12072) | David Sherret | |
2021-09-07 | docs(ext/net): add note about listening 0.0.0.0 (#11938) | Yoshiya Hinosawa | |
Co-authored-by: Craig Morten <cmorten@users.noreply.github.com> | |||
2021-09-02 | feat(fmt): add basic JS doc formatting (#11902) | David Sherret | |
2021-09-02 | chore: update dependencies (#11856) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-08-31 | fix: move unstable declarations to deno.unstable (#11876) | Luca Casonato | |
2021-08-25 | feat(fetch): mTLS client certificates for fetch() (#11721) | Sean Michael Wykes | |
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`. | |||
2021-08-23 | chore: release crates for 1.13.2 (#11820) | David Sherret | |
2021-08-16 | chore: release crates for 1.13.1 (#11729) | David Sherret | |
2021-08-15 | refactor(ops): return BadResource errors in ResourceTable calls (#11710) | Aaron O'Mullan | |
* refactor(ops): return BadResource errors in ResourceTable calls Instead of relying on callers to map Options to Results via `.ok_or_else(bad_resource_id)` at over 176 different call sites ... | |||
2021-08-11 | Rename extensions/ directory to ext/ (#11643) | Ryan Dahl | |