# Migration Context: Deno v1 -> v2 # Generated by Changelogs.us: 2026-11-30T03:04:32.995261+00:00 # Target Version: v2.9.8 # Upgrade Command: N/A # Breaking Changes: 10 # Security Fixes: 0 ## Executive Summary Upgrading Deno from 1 to 2 involves 99 releases with risk rating High. ## Breaking Changes List: - [vv2.0.0] - BREAKING: `DENO_FUTURE=1` by default, or welcome to Deno 2.0 (#25213): - [vv2.0.0] - BREAKING: disallow `new Deno.FsFile()` (#25478): - [vv2.0.0] - BREAKING: drop support for Deno.run.{clearEnv,gid,uid} (#25371): - [vv2.0.0] - BREAKING: improve types for `Deno.serve` (#25369): - [vv2.0.0] - BREAKING: improved error code accuracy (#25383): - [vv2.0.0] - BREAKING: make supported compilerOptions an allow list (#25432): - [vv2.0.0] - BREAKING: move `width` and `height` options to `UnsafeWindowSurface`: - [vv2.0.0] - BREAKING: remove --allow-hrtime (#25367) - BREAKING: remove "emit" and "map" from deno info output (#25468) - BREAKING: remove `--allow-none` flag (#25337): - [vv2.5.0] - feat(BREAKING/fmt): prompt or require `deno fmt .` when providing no files and: - [vv2.6.0] - feat(BREAKING/install): require `--` for script arg in `deno install -g` and: ## Instructions for AI Assistant: When migrating user code from Deno 1 to 2, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv2.9.8 idioms.