Deno 1.21 Release Notes
Deno 1.21 adds a `deno check` subcommand and begins a phased plan to disable type checking by default in `deno run`, citing type-check cost as the main startup bottleneck and alignment with the proposed native JS type annotations. Other changes include browser-aligned `reportError` and global `"error"` event handling, cache-based incremental `deno fmt`/`deno lint` (second runs on deno_std drop from ~1.8s to ~0.11s), statistically driven iteration counts and grouped baselines in `deno bench`, and new unstable `Deno.spawn`/`Deno.spawnChild` subprocess APIs built on web streams. The release also brings VSCode extension improvements (config autodiscovery, per-path enablement, Testing API), REPL `--eval-file`, and testing utilities such as BDD, mocking, snapshots and FakeTime.
Related posts
- Deno 1.22 Release Notes
Deno mediumAdeptDeno 1.22 changes the default type checking mode from Full to Local across most subcommands, skipping type errors in dependencies to match tsc, with a proposed move to no type checking in `deno run` and `deno cache` in 1.23. The unstable `Deno.emit()`, `Deno.formatDiagnostics()` and `Deno.applySourceMap()` APIs are removed in favor of the userland `deno_emit` module, and workers now get the `Deno` namespace by default, subject to permissions. Other additions include a `--no-config` flag, `navigator.userAgent`, more DNS record types in `Deno.resolveDns()`, `Response.json()`, LSP linting on by default, AbortSignal support in `Deno.spawn()`, test runner output improvements, and `performance.timeOrigin`.
- Deno 1.23 Release Notes
Deno mediumAdeptDeno 1.23 stops type-checking by default on `deno run`, `deno eval` and `deno cache`, using fast linear-time type-stripping instead, because TypeScript compiler checks are slow and editors already type-check via LSP; `--check` restores the old behavior and `--check=all` covers remote modules. The release also removes the event-loop-blocking `Deno.sleepSync` (with an `Atomics.wait` workaround), makes the file watcher track dynamic imports, adds `--cwd`, redirects and cross-platform `cat`/`xargs` to `deno task`, and returns BigInt for 64-bit FFI values to avoid precision loss. Breaking changes in `std/flags` make array collection and `--no-` negation opt-in via `collect` and `negatable`, and `assertThrows`/`assertRejects` now return the error instead of taking a callback.
- Deno 1.27: Major IDE Improvements
Deno mediumAdeptDeno 1.27 exposes TypeScript inlay hints through its language server, with configurable hints for parameter names, inferred variable and return types, and enum values, and improves deno.land/x registry completions in editors. npm compatibility gains automatic type pickup from packages, @deno-types and @types/node directives, Node-API native module support behind --allow-ffi, lockfile v2 entries for npm packages, and dist-tag specifiers. Other changes include navigator.language, deno task stabilization with INIT_CWD and fail-fast behavior for async commands, a daily background upgrade check, stabilized Deno APIs, a compact lint report format, V8 10.8, Node 18.12 LTS compatibility, and removal of deprecated standard library APIs.
- Deno 1.42: Better dependency management with JSR
Deno mediumAdeptDeno 1.42 adds first-class JSR support through new `deno publish` and `deno add` subcommands, which install packages from JSR and npm and write import map entries. It also adds LSP completions for jsr: specifiers and broadens Node compatibility across crypto, worker_threads, fs, http2 and other modules. Further changes include shell improvements in `deno task` (cross-platform shebangs, `$?`, redirects), `deno lint --fix`, and dropping mid-execution type checking under `--check`. Timers were rewritten so creating a million timers takes 1.4s instead of 5.9s with up to 70% less memory, startup is 10% faster on Linux, and `DENO_FUTURE=1` previews Deno 2 removals.
- Deno 1.46: The Last 1.x Release
Deno mediumAdeptDeno 1.46, the final 1.x release, lets programs run with plain `deno file.ts`, runs tasks via `deno run`, and adds one-letter permission flags (-R, -W, -E, -N, -S) that can be combined and given allow lists. `deno serve --parallel` runs one single-threaded JS runtime copy per core, with the count set by DENO_JOBS. `deno fmt` gains unstable formatting for HTML, CSS, YAML and component files. Other changes include `deno remove`, `deno clean`, code signing and custom icons for `deno compile`, and deprecation warnings for import assertions ahead of Deno 2.