Commit graph

7058 commits

Author SHA1 Message Date
Satya Rohith
788553bf2f
chore: bump deno_http to 0.33.0 (#13867) 2022-03-07 23:16:03 +05:30
Satya Rohith
670aef5c1a
fix(ext/http): drop content-length header on compression (#13866) 2022-03-07 22:43:15 +05:30
Aaron O'Mullan
4e1da28b39
perf(serde_v8): avoid SerializablePkg allocs (#13860)
For common return types such as String/ZeroCopyBuf/ByteString
2022-03-07 13:06:50 +01:00
Aaron O'Mullan
0b9da1aa7a
cleanup(serde_v8): SerializablePkg verbosity (#13855) 2022-03-07 11:12:44 +01:00
Aaron O'Mullan
94c8ecfaaa
perf(serde_v8): optimize ByteString deserialization (#13853) 2022-03-07 11:12:36 +01:00
Aaron O'Mullan
f65529aa67
bench(common): base64 short strings (#13851) 2022-03-07 11:12:16 +01:00
Satya Rohith
d5642f5df7
chore: bump deno_http to 0.32.0 (#13850) 2022-03-07 00:15:10 +05:30
Aaron O'Mullan
72d593fc5c
perf(ext/web): optimize atob/btoa (#13841)
Follow up to #13839, optimizing `base64_roundtrip` ~20x (~125ms => ~6.5ms)
2022-03-05 20:12:30 +01:00
David Sherret
96dc7421ae
chore: automatically update Releases.md when doing a release (#13837)
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-04 22:28:23 -05:00
Gianluca Oldani
7e3496403a
feat(ext/net): Use socket2 crate to create TcpListener (#13808) 2022-03-05 00:43:48 +01:00
Satya Rohith
70690f54af
chore: update deps (#13821) 2022-03-05 03:38:04 +05:30
Divy Srivastava
18a3a0ba75
bench: add base64 roundtrip (#13839) 2022-03-04 21:45:24 +01:00
Bartek Iwańczuk
060dabee4c
feat(net): add Deno.UnixConn interface (#13787) 2022-03-04 20:33:13 +01:00
Kitson Kelly
d1db500cda
feat(ext/http): auto-compression of fixed response bodies (#13769)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Co-authored-by: Satya Rohith <me@satyarohith.com>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2022-03-04 16:04:39 +11:00
Satya Rohith
99904a668e
chore: update cut_a_release.md (#13822) 2022-03-04 09:00:55 +05:30
Satya Rohith
975f413c46 1.19.2 (#13825) 2022-03-03 15:05:18 -05:00
Satya Rohith
95459e60f6 chore: bump crate version for 1.19.2 (#13824) 2022-03-03 15:05:18 -05:00
Kitson Kelly
1db7566e2a
docs: information about updating TypeScript version (#13810) 2022-03-03 13:08:01 +11:00
David Sherret
e8c47755bb
chore(lsp): log more for "unexpected positions" lsp error (#13815)
Ref #13657
2022-03-03 08:06:38 +11:00
Divy Srivastava
9de5275030
chore: add test-flaky-ci label to disable default workflow concurrency (#13813) 2022-03-02 20:05:47 +05:30
Divy Srivastava
d8489b6f1f
chore: cancel old in-progress CI workflows (#13811) 2022-03-02 16:04:27 +05:30
Divy Srivastava
8b2989c417
feat(ext/crypto): AES-GCM support for 128bit IVs (#13805) 2022-03-02 10:56:10 +05:30
Yoshiya Hinosawa
b751e97a01
fix(repl): fix null eval result (#13804)
Co-authored-by: Satya Rohith <me@satyarohith.com>
2022-03-02 13:39:08 +09:00
Kitson Kelly
7fc5bfe51b
feat(cli): update to TypeScript 4.6.2 (#13474) 2022-03-02 07:44:43 +11:00
David Sherret
4be0365fb8
chore(tools): use automation scripts from automation repo (#13796) 2022-03-01 15:40:32 -05:00
Antonio Musolino
6a030a5396
fix(runtime): disable console color for non tty stdout (#13782) 2022-03-01 12:37:50 +09:00
Elisée Maurer
a41d399f5f
chore: Add "noImplicitOverride" to config-file.v1.json (#13780) 2022-02-28 09:39:47 +11:00
Bartek Iwańczuk
7e3d9084b6
feat: Add Deno.TcpConn class, change return type from Deno.connect (#13714) 2022-02-27 15:18:30 +01:00
Bartek Iwańczuk
a65ce33fab
feat(compat): CJS/ESM interoperability (#13553)
This commit adds CJS/ESM interoperability when running in --compat mode.

Before executing files, they are analyzed and all CommonJS modules are
transformed on the fly to a ES modules. This is done by utilizing analyze_cjs()
functionality from deno_ast. After discovering exports and reexports, an ES
module is rendered and saved in memory for later use.

There's a caveat that all files ending with ".js" extension are considered as
CommonJS modules (unless there's a related "package.json" with "type": "module").
2022-02-27 14:38:45 +01:00
Bartek Iwańczuk
4bea1d06c7
fix(test): use --no-prompt by default (#13777)
This commit changes "deno test" subcommand, to
always never prompt for permissions (ie. as if "deno test"
was run with "--no-prompt" flag).
2022-02-26 14:49:50 +01:00
David Sherret
4a20435d3c
chore(ci): pin setup-gcloud to v0 instead of master (#13764) 2022-02-25 15:53:20 -05:00
Bartek Iwańczuk
d332bf1132
feat: deno test --trace-ops (#13770)
This commit adds "--trace-ops" flag to "deno test" subcommand.

This flag enables saving of stack traces for async ops, that before were always
saved. While the feature proved to be very useful it comes with a significant performance
hit, it's caused by excessive source mapping of stack frames.
2022-02-25 16:14:46 +01:00
Yoshiya Hinosawa
111c343281
fix(cli): disable config discovery for remote script (#13745) 2022-02-25 14:39:18 +09:00
David Sherret
3b12afd072
chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
Simon Lecoq
c59152e400
feat(cli): support data url (#13667)
Closes #11141
2022-02-25 11:26:13 +11:00
Bartek Iwańczuk
cd04b6852f
chore: update deno_std submodule (#13771) 2022-02-25 01:23:10 +01:00
David Sherret
5f28066204 1.19.1 (#13762) 2022-02-24 17:45:39 -05:00
David Sherret
4deefafdd1 chore: bump crate versions for 1.19.1 (#13760) 2022-02-24 17:45:39 -05:00
David Sherret
49b6fc34b4
chore: upgrade swc_ecmascript to 0.114 (#13758) 2022-02-24 10:43:46 -05:00
Divy Srivastava
03c55b4970
fix(compile): Support import maps (#13756) 2022-02-24 18:58:00 +05:30
Yoshiya Hinosawa
3e8180c793
feat(ext/net): support cert, key options in listenTls (#13740) 2022-02-24 13:16:56 +09:00
mlemesle
f8b73ab97e
fix(upgrade): move the file permission check to the beginning of the upgrade process (#13726) 2022-02-23 16:11:46 -05:00
Kitson Kelly
973fe6dd3a
refactor: remove dead code from lsp (#13743) 2022-02-24 08:01:20 +11:00
Aaron O'Mullan
7122187bc7
bench: core.encode/decode (#13750) 2022-02-23 18:51:13 +01:00
Kitson Kelly
ee27b9dd7e
feat: allow specification of import map in config file (#13739)
Closes: #12800
2022-02-23 10:51:14 +11:00
Geert-Jan Zwiers
6613a312b1
docs: code example to structuredClone, CompressionStream, DecompressionStream (#13719)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-22 20:41:59 +01:00
David Sherret
877c0b724e
chore: use rustfmt cli via dprint for faster format (#13735) 2022-02-21 12:47:08 -05:00
David Sherret
5d7e1229db
fix(vendor): do not add absolute specifiers to scopes (#13710) 2022-02-18 23:10:40 -05:00
Bartek Iwańczuk
6830e004e6
chore: update CODEOWNERS (#13712) 2022-02-19 05:09:48 +01:00
Aapo Alasuutari
b1a6555c05
feat(ext/ffi): Support read only global statics (#13662) 2022-02-18 17:51:19 +05:30