Releases: denoland/deno
Releases · denoland/deno
v0.9.0
Changes
In deno:
- feat: add deno install command (#2522)
- feat: URLSearchParams should work with custom iterator (#2512)
- feat: default output filename for deno bundle (#2484)
- feat: expose window.Response (#2515)
- feat: Add --seed for setting RNG seed (#2483)
- feat: Import maps (#2360)
- fix: setTimeout API adjustments (#2511, #2497)
- fix: URL and URLSearchParams bugs (#2495, #2488)
- fix: make global request type an interface (#2503)
- upgrade: V8 to 7.7.37 (#2492)
In deno_std:
- feat: installer (denoland/deno_std#489)
- feat: bundle loader (denoland/deno_std#480)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.9.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1;
.\install.ps1 v0.9.0
v0.8.0
Changes
In deno:
- feat: Add 'bundle' subcommand. (#2467)
- feat: Handle compiler diagnostics in Rust (#2445)
- feat: add deno fmt --stdout option (#2439)
- feat: CLI defaults to run subcommand (#2451)
- fix: Compiler exit before emit if preEmitDiagnostics found (#2441)
- fix: Deno.core.evalContext & Deno.core.print (#2465)
- fix: Improve setup.py for package managers (#2423)
- fix: Use body when Request instance is passed to fetch (#2435)
- perf: Create fewer threads (#2476)
- upgrade: TypeScript to 3.5.1 (#2437)
- upgrade: std/prettier@0.5.0 to std/prettier@0.7.0 (#2425)
In deno_std:
- ci: Check file changes during test (denoland/deno_std#476)
- ci: Implement strict mode (denoland/deno_std#453)
- ci: Make CI config DRY (denoland/deno_std#470)
- encoding/csv: add easy api (denoland/deno_std#458)
- io: make port BufReader.readByte() return
number | EOF
(denoland/deno_std#472) - ws: Add sec-websocket-version to handshake header (denoland/deno_std#468)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.8.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1;
.\install.ps1 v0.8.0
v0.7.0
Changes
In deno:
- TS compiler refactor (#2380)
- add EventTarget implementation (#2377)
- add module and line no for Rust logger (#2409)
- re-fix permissions for dial and listen (#2400)
- Fix concurrent accepts (#2403)
- Rename --allow-high-precision to --allow-hrtime (#2398)
- Use tagged version of prettier in CLI (#2387)
In deno_std:
- io: refactor BufReader/Writer interfaces to be more idiomatic
(denoland/deno_std#444) - http: add rfc7230 handling (denoland/deno_std#451)
- http: add ParseHTTPVersion (denoland/deno_std#452)
- rename strings/strings.ts to strings/mod.ts (denoland/deno_std#449)
- Prettier: support for specified files and glob mode (denoland/deno_std#438)
- Add encoding/csv (denoland/deno_std#432)
- rename bytes/bytes.ts to bytes/mod.ts
- remove function prefix of bytes module
- add bytes.repeat() (denoland/deno_std#446)
- http: fix content-length checking (denoland/deno_std#437)
- Added isGlob function (denoland/deno_std#433)
- http: send an empty response body if none is provided (denoland/deno_std#429)
- http: make server handle bad client requests properly (denoland/deno_std#419)
- fix(fileserver): wrong url href of displayed files (denoland/deno_std#426)
- http: delete conn parameter in readRequest (denoland/deno_std#430)
- Rename //multipart/multipart.ts to //mime/multipart.ts (denoland/deno_std#420)
- feat(prettier): output to stdout instead of write file by default unless
specified --write flag (denoland/deno_std#332)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.7.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.7.0
v0.6.0
Changes
In deno:
- Fix permissions for dial and listen (#2373)
- Add crypto.getRandomValues() (#2327)
- Don't print new line if progress bar was not used (#2374)
- Remove FileInfo.path (#2313)
In deno_std
- Clean up HTTP async iterator code (denoland/deno_std#411)
- fix: add exnext lib to tsconfig.json (denoland/deno_std#416)
- feat(fs): add copy/copySync (denoland/deno_std#278)
- feat: add Tar and Untar classes (denoland/deno_std#388)
- ws: make acceptable() more robust (denoland/deno_std#404)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.6.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.6.0
v0.5.0
Changes
In deno:
- Add progress bar (#2309)
- fix: edge case in toAsyncIterator (#2335)
- Upgrade rust crates (#2334)
- white listed permissions (#2129 #2317)
- Add Deno.chown (#2292)
In deno_std:
- benching: use performance.now (denoland/deno_std#385)
- bytes fix bytesFindIndex and bytesFindLastIndex (denoland/deno_std#381)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.5.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.5.0
v0.4.0
Changes
In deno:
- add "deno run" subcommand (#2215)
- add "deno xeval" subcommand (#2260)
- add --no-fetch CLI flag to prevent remote downloads (#2213)
- Fix: deno --v8-options does not print v8 options (#2277)
- Performance improvements and fix memory leaks (#2259, #2238)
- Add Request global constructor (#2253)
- fs: add Deno.utime/Deno.utimeSync (#2241)
- Make
atob
follow the spec (#2242) - Upgrade V8 to 7.6.53 (#2236)
- Remove ? from URL when deleting all params (#2217)
- Add support for custom tsconfig.json (#2089)
- URLSearchParams init with itself (#2218)
In deno_std:
- textproto: fix invalid header error and move tests (#369)
- Add http/cookie improvements (#368, #359)
- fix ensureLink (#360)
Install / Upgrade
With Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.4.0
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.4.0
v0.3.11
v0.3.10 / 2019.04.25
v0.3.9 / 2019.04.25
Changes
In deno:
- Fix #2033, shared queue push bug (#2158)
- Fix panic handler (#2188)
- cli: Change "deno --types" to "deno types" and "deno --prefetch" to "deno
prefetch" (#2157) - Make Deno/Deno.core not deletable/writable (#2153)
- Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177)
- symlink: Ignore type parameter on non-Windows platforms (#2185)
- upgrade rust crates (#2186)
- core: make Isolate concrete, remove Dispatch trait (#2183)
In deno_std:
- http: add cookie module (denoland/deno_std#338)
- fs: add getFileInfoType() (denoland/deno_std#341)
- fs: add ensureLink/ensureLinkSync (denoland/deno_std#353)
- fs: add ensureSymlink/ensureSymlinkSync (denoland/deno_std#268)
- fs: add readFileStr, writeFileStr (denoland/deno_std#276, denoland/deno_std#340)
- testing: support Sets in asserts.equals (denoland/deno_std#350)
Install or Upgrade
Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.3.9
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.3.9
v0.3.8
Changes
In deno:
- Async module loading (#2084 #2133)
- core: improve tail latency (#2131)
- third_party: upgrade rust crates
- add custom panic handler to avoid silent failures (#2098)
- fix absolute path resolution from remote (#2109)
- Add deno eval subcommand (#2102)
- fix: re-expose DomFile (#2100)
- avoid prototype builtin hasOwnProperty (#2144)
In deno_std:
- Enforce HTTP/1.1 pipeline response order (deno_std#331)
- EOL add mixed detection (deno_std#325)
- Added read file str (deno_std#276)
- add writeFileStr and update documentation (deno_std#340)
Install or Upgrade
Shell:
curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.3.8
With PowerShell:
iwr https://deno.land/x/install/install.ps1 -out install.ps1; .\install.ps1 v0.3.8