Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-04 | feat(net): add Deno.UnixConn interface (#13787) | Bartek Iwańczuk | |
2022-03-03 | chore: bump crate version for 1.19.2 (#13824) | Satya Rohith | |
2022-02-27 | feat: Add Deno.TcpConn class, change return type from Deno.connect (#13714) | Bartek Iwańczuk | |
2022-02-24 | chore: bump crate versions for 1.19.1 (#13760) | David Sherret | |
2022-02-24 | feat(ext/net): support cert, key options in listenTls (#13740) | Yoshiya Hinosawa | |
2022-02-17 | chore: release crates for v1.19.0 (#13698) | Bartek Iwańczuk | |
2022-02-16 | chore: make new TCP conn methods unstable (#13686) | Luca Casonato | |
2022-02-15 | feat(runtime): web streams in fs & net APIs (#13615) | Luca Casonato | |
This commit adds `readable` and `writable` properties to `Deno.File` and `Deno.Conn`. This makes it very simple to use files and network sockets with fetch or the native HTTP server. | |||
2022-02-04 | chore: forward v1.18.2 to main (#13595) | Bartek Iwańczuk | |
2022-02-01 | refactor: primordials for instanceof (#13527) | Bartek Iwańczuk | |
2022-01-31 | feat(ext/net): Add Conn.setNoDelay and Conn.setKeepAlive (#13103) | Yosi Pramajaya | |
2022-01-27 | chore: forward v1.18.1 to main (#13514) | Bartek Iwańczuk | |
2022-01-27 | Revert "refactor: update runtime code for primordial checks for "instanceof" ↵ | Bartek Iwańczuk | |
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601. | |||
2022-01-27 | refactor: update runtime code for primordial checks for "instanceof" (#13497) | Bartek Iwańczuk | |
2022-01-20 | chore: bump crate version for 0.18.0 (#13441) | Divy Srivastava | |
2022-01-20 | chore: update copyright year (#13434) | Yoshiya Hinosawa | |
2022-01-13 | chore: forward v1.17.3 to main (#13364) | Bartek Iwańczuk | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2022-01-06 | chore: forward 1.17.2 to main (#13295) | Bartek Iwańczuk | |
2021-12-22 | chore: merge v1.17.1 into main (#13184) | Bartek Iwańczuk | |
2021-12-16 | chore: release crates for v1.17.0 (#13112) | Bartek Iwańczuk | |
2021-12-14 | fix(ext/net): make unix and tcp identical on close (#13075) | Ben Noordhuis | |
std/http/server knows how to handle "Listener has been closed" exceptions but not "operation canceled" errors. Make "unix" listen sockets throw the same exception as "tcp" listen sockets when the socket is closed and has a pending accept operation. There is still a discrepancy when multiple accept requests are posted but that's probably a less visible issue and something for another day. Fixes #13033 | |||
2021-12-10 | chore: place `@deprecated` tag after documentation block (#13037) | Kitson Kelly | |
2021-12-07 | chore: upgrade to rustls 0.20 (#12488) | Ryan Dahl | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
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 | |