# Deno v2.0.0 — Release & Upgrade Intelligence
- **Product:** Deno (https://deno.com)
- **Version:** v2.0.0
- **Released:** Oct 09, 2024
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/deno/updates/v2.0.0/

## Executive Summary (TL;DR)
Deno v2.0.0. Source highlight: Read announcement blog post at: https://deno.com/blog/v2.0

## Breaking Changes & Deprecations
- - BREAKING: `DENO_FUTURE=1` by default, or welcome to Deno 2.0 (#25213)
- - BREAKING: disallow `new Deno.FsFile()` (#25478)
- - BREAKING: drop support for Deno.run.{clearEnv,gid,uid} (#25371)
- - BREAKING: improve types for `Deno.serve` (#25369)
- - BREAKING: improved error code accuracy (#25383)
- - BREAKING: make supported compilerOptions an allow list (#25432)
- - BREAKING: move `width` and `height` options to `UnsafeWindowSurface`
- - BREAKING: remove --allow-hrtime (#25367) - BREAKING: remove "emit" and "map" from deno info output (#25468) - BREAKING: remove `--allow-none` flag (#25337)

## New Features
- feat: add `--allow-import` flag (#25469)
- feat: Add a hint on error about 'Relative import path ... not prefixed with
- feat: Add better error messages for unstable APIs (#25519)
- feat: Add suggestion for packages using Node-API addons (#25975)
- feat: Allow importing .cjs files (#25426)
- feat: default to TS for file extension and support ext flag in more scenarios

## Improvements
- BREAKING: improve types for `Deno.serve` (#25369)
- BREAKING: improved error code accuracy (#25383)
- perf: fast path for cached dyn imports (#25636)
- perf: Use -O3 for sui in release builds (#26010)
- perf(cache): single cache file for remote modules (#24983)
- perf(cache): single cache file for typescript emit (#24994)

## Bug Fixes
- feat(ext/node): add abort helpers, process & streams fix (#25262)
- feat(lsp): quick fix for @deno-types="npm:@types/*" (#25954)
- fix: add link to env var docs (#25557)
- fix: add suggestion how to fix importing CJS module (#21764)
- fix: add test ensuring als works across dynamic import (#25593)
- fix: better error for Deno.UnsafeWindowSurface, correct HttpClient name,
