Releases: denoland/deno
Releases · denoland/deno
v0.23.0
Changes
- feat: Add serveTLS and listenAndServeTLS (#3257)
- feat: Lockfile support (#3231)
- feat: Adds custom inspect method for URL (#3241)
- fix: Support for deep
Map
equality withasserts#equal
(#3236, #3258) - fix: Make EOF unique symbol (#3244)
- fix: Prevent customInspect error from crashing console (#3226)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.23.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.23.0
v0.22.0
Changes
- feat: Deno.listenTLS (#3152)
- feat: Publish source tarballs for releases (#3203)
- feat: Support named imports/exports for subset of properties in JSON modules
(#3210) - feat: Use web standard Permissions API (#3200)
- feat: Remove --no-prompt flag, fail on missing permissions (#3183)
- feat: top-level-for-await (#3212)
- feat: Add ResourceTable in core (#3150)
- feat: Re-enable standard stream support for fetch bodies (#3192)
- feat: Add CustomInspect for Headers (#3130)
- fix: Cherry-pick depot_tools 6a1d778 to fix macOS Cataliona issues (#3175)
- fix: Remove runtime panics in op dispatch (#3176, #3202, #3131)
- fix: BufReader.readString to actually return Deno.EOF at end (#3191)
- perf: faster TextDecoder (#3180, #3204)
- chore: Reenable std tests that were disabled during merge (#3159)
- chore: Remove old website (#3194, #3181)
- chore: Use windows-2019 image in Github Actions (#3198)
- chore: use v0.21.0 for subcommands (#3168)
- upgrade: V8 to 7.9.317.12 (#3208)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.22.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.22.0
v0.21.0
Changes
- feat: --reload flag to take arg for partial reload (#3109)
- feat: Allow "deno eval" to run code as module (#3148)
- feat: support --allow-net=:4500 (#3115)
- fix: Ensure DENO_DIR when saving the REPL history (#3106)
- fix: Update echo_server to new listen API (denoland/std#625)
- fix: [prettier] deno fmt should format jsx/tsx files (#3118)
- fix: [tls] op_dial_tls is not registerd and broken (#3121)
- fix: clearTimer bug (#3143)
- fix: remote jsx/tsx files were compiled as js/ts (#3125)
- perf: eager poll async ops in Isolate (#3046, #3128)
- chore: Move std/fs/path to std/path (#3100)
- upgrade: V8 to 7.9.304 (#3127)
- upgrade: prettier type definition (#3101)
- chore: Add debug build to github actions (#3127)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.21.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.21.0
v0.20.0
Changes
In deno:
- feat: Add Deno.hostname() (#3032)
- feat: Add support for passing a key to Deno.env() (#2952)
- feat: JSX Support (#3038)
- feat: Replace Isolate::set_dispatch with Isolate::register_op (#3002, #3039,
#3041) - feat: window.onunload (#3023)
- fix: Async compiler processing (#3043)
- fix: Implement ignoreBOM option of UTF8Decoder in text_encoding (#3040)
- fix: Support top-level-await in TypeScript (#3024)
- fix: iterators on UrlSearchParams (#3044)
- fix: listenDefaults/dialDefaults may be overriden in some cases (#3027)
- upgrade: V8 to 7.9.218 (#3067)
- upgrade: rust to 1.38.0 (#3030)
- chore: Migrate CI to github actions (#3052, #3056, #3049, #3071, #3076, #3070,
#3066, #3061, #3010) - chore: Remove deno_cli_snapshots crate. Move //js to //cli/js (#3064)
- chore: use xeval from deno_std (#3058)
In deno_std:
- feat: test runner v2 (denoland/std#604)
- feat: wss support with dialTLS (denoland/std#615)
- fix(ws): mask must not be set by default for server (denoland/std#616)
- fix: Implement expandGlob() and expandGlobSync() (denoland/std#617)
- upgrade: eslint and @typescript-eslint (denoland/std#621)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.20.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.20.0
v0.19.0
Changes
In deno:
- feat: Add Deno.dialTLS()
- feat: Make deno_cli installable via crates.io (#2946)
- feat: Remove test.py, use cargo test as test frontend (#2967)
- feat: dial/listen API change (#3000)
- feat: parallelize downloads from TS compiler (#2949)
- fix: Make
window
compatible with ts 3.6 (#2984) - fix: Remove some non-standard web API constructors (#2970)
- fix: debug logging in runtime/compiler (#2953)
- fix: flag parsing of config file (#2996)
- fix: reschedule global timer if it fires earlier than expected (#2989)
- fix: type directive parsing (#2954)
- upgrade: V8 to 7.9.110 for top-level-await (#3015)
- upgrade: to TypeScript 3.6.3 (#2969)
In deno_std:
- feat: Implement BufReader.readString (denoland/std#607)
- fix: TOML's key encoding (denoland/std#612)
- fix: remove //testing/main.ts (denoland/std#605)
- fix: types in example_client for ws module (denoland/std#609)
- upgrade: mime-db to commit c50e0d1 (denoland/std#608)
Install / Upgrade
With cargo:
cargo install deno_cli --version 0.19.0
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.19.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.19.0
v0.18.0
Changes
In deno:
- build: remove tools/build.py; cargo build is the build frontend now (#2865, #2874, #2876)
- feat: Make integration tests rust unit tests (#2884)
- feat: Set user agent for http client (#2916)
- feat: add bindings to run microtasks from Isolate (#2793)
- fix(fetch): implement bodyUsed (#2877)
- fix(url): basing in constructor (#2867, #2921)
- fix(xeval): incorrect chunk matching behavior (#2857)
- fix: Default 'this' to window in EventTarget (#2918)
- fix: Expose the DOM Body interface globally (#2903)
- fix: Keep all deno_std URLs in sync (#2930)
- fix: make 'deno fmt' faster (#2928)
- fix: panic during block_on (#2905)
- fix: panic during fetch (#2925)
- fix: path normalization in resolve_from_cwd() (#2875)
- fix: remove deprecated Deno.platform (#2895)
- fix: replace bad rid panics with errors (#2870)
- fix: type directives import (#2910)
- upgrade: V8 7.9.8 (#2907)
- upgrade: rust crates (#2937)
In deno_std:
- feat: Add xeval (denoland/std#581)
- fix(flags): Parse builtin properties (denoland/std#579)
- fix(uuid): Make it v4 rfc4122 compliant (denoland/std#580)
- perf: Improve prettier speed by adding d.ts files (denoland/std#591)
- upgrade: prettier to 1.18.2 (denoland/std#592)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.18.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.18.0
v0.17.0
Changes
In deno:
- feat: Add window.queueMicrotask (#2844)
- feat: Support HTTP proxies in fetch (#2822)
- feat: Support
_
and_error
in REPL (#2845, #2843) - feat: add statusText for fetch (#2851)
- feat: implement Addr interface (#2821)
- fix: Improve error stacks for async ops (#2820)
- fix: add console.dirxml (#2835)
- fix: do not export
isConsoleInstance
(#2850) - fix: set/clearTimeout's params should not be bigint (#2834, #2838)
- fix: shared queue requires aligned buffer (#2816)
- refactor: Remove Node build dependency and change how internal V8 snapshots
are built (#2825, #2827, #2826, #2826) - refactor: Remove flatbuffers (#2818, #2819, #2817, #2812, #2815, #2799)
- regression: Introduce regression in fetch's Request/Response stream API to
support larger refactor (#2826)
In deno_std:
- fix: better paths handling in test runner (denoland/std#574)
- fix: avoid prototype builtin
hasOwnProperty
(denoland/std#577) - fix: boolean regexp (denoland/std#582)
- fix: printf should use padEnd and padStart (denoland/std#583)
- fix: ws should use crypto getRandomValues (denoland/std#584)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.17.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.17.0
v0.16.0 / 2019.08.22
Changes
In deno:
- feat: "deno test" subcommand (#2783, #2784, #2800)
- feat: implement console.trace() (#2780)
- feat: support .d.ts files (#2746)
- feat: support custom inspection of objects (#2791)
- fix: dynamic import panic (#2792)
- fix: handle tsconfig.json with comments (#2773)
- fix: import map panics, use import map's location as its base URL (#2770)
- fix: set response.url (#2782)
In deno_std:
- feat: add overloaded form of unit test declaration (denoland/std#563)
- feat: add printf implementation (fmt/sprintf.ts) (denoland/std#566)
- feat: print out the failed tests after the summary (denoland/std#554)
- feat: test runner (denoland/std#516, denoland/std#564,
denoland/std#568) - fix: accept absolute root directories in the file server
(denoland/std#558) - fix: refactor 'assertEquals' (denoland/std#560)
- fix: test all text functions in colors module (denoland/std#553)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.16.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.16.0
v0.15.0
Changes
In deno:
- feat: print cache location when no arg in deno info (#2752)
- fix: Dynamic import should respect permissions (#2764)
- fix: Propagate Url::to_file_path() errors instead of panicking (#2771)
- fix: cache paths on Windows are broken (#2760)
- fix: dynamic import base path problem for REPL and eval (#2757)
- fix: permission requirements for Deno.rename() and Deno.link() (#2737)
In deno_std: No changes
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.15.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.15.0
v0.14.0
Changes
In deno:
- feat: remove
Deno.build.args
(#2728) - feat: support native line ending conversion in the
Blob
constructor (#2695) - feat: add option to delete the
Deno
namespace in a worker (#2717) - feat: support starting workers using a blob: URL (#2729)
- feat: make
Deno.execPath()
a function (#2743, #2744) - feat: support
await import(...)
syntax for dynamic module imports (#2516) - fix: enforce permissions on
Deno.kill()
,Deno.homeDir()
and
Deno.execPath()
(#2714, #2723) - fix:
cargo build
now builds incrementally (#2740) - fix: avoid REPL crash when DENO_DIR doesn't exist (#2727)
- fix: resolve worker module URLs relative to the host main module URL (#2751)
- doc: improve documentation on using the V8 profiler (#2742)
In deno_std:
- fix: make the 'ws' module (websockets) work again (denoland/std#550)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.14.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.14.0