# Migration Context: Deno v0.42 -> v1 # Generated by Changelogs.us: 2026-11-30T03:04:32.965667+00:00 # Target Version: v1.46.3 # Upgrade Command: N/A # Breaking Changes: 42 # Security Fixes: 0 ## Executive Summary Upgrading Deno from 0.42 to 1 involves 210 releases with risk rating High. ## Breaking Changes List: - [vv1.1.2] - BREAKING(std/encoding/hex): reorder encode & decode arguments (#6410): - [vv1.2.0] - BREAKING(std/encoding/hex): Simplify API (#6690): - [vv1.2.1] - BREAKING(std/fs): remove readFileStr and writeFileStr (#6848, #6847): - [vv1.3.1] - BREAKING(std/datetime): Remove currentDayOfYear (#7059): - [vv1.3.2] - BREAKING(std/wasi): rename Module to Context (#7110): - [vv1.3.2] - BREAKING(std/wasi): use record for exports (#7109): - [vv1.4.0] - BREAKING(std/fs): remove writeJson and writeJsonSync (#7256): - [vv1.4.0] - BREAKING(std/fs): remove readJson and readJsonSync (#7255): - [vv1.4.0] - BREAKING(std/ws): remove connect method (#7403): - [vv1.4.3] - BREAKING(std/encoding/csv): Improve the definition of ParseOptions (#7714): - [vv1.5.0] - BREAKING: Enable isolatedModules by default (#8050): - [vv1.6.0] - BREAKING: Make "isolatedModules" setting non-configurable (#8482): - [vv1.6.0] - BREAKING(std/bytes): Adjust APIs based on std-wg discussion (#8612): - [vv1.7.0] - BREAKING(unstable): Use hosts for net allowlists (#8845): - [vv1.7.0] - BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928): - [vv1.7.0] - BREAKING(std/wasi): make implementation details private (#8996): - [vv1.7.0] - BREAKING(std/wasi): return exit code from start (#9022): - [vv1.13.0] - BREAKING(unstable): Rename Deno.WebSocketUpgrade::websocket to socket (#11542): - [vv1.14.0] - BREAKING(unstable): Fix casing in FfiPermissionDescriptor (#11659): - [vv1.14.0] - BREAKING(unstable): Remove Deno.Signals enum, Deno.signals. (#11909): - [vv1.16.0] - BREAKING(ext/web): remove `ReadableStream.getIterator` (#12652): - [vv1.20.1] - BREAKING: don't inherit permissions by default (#13668): - [vv1.22.0] - BREAKING(unstable): Enable Deno namespace in workers by default (#14581): - [vv1.22.0] - BREAKING: Remove unstable Deno.applySourceMap API (#14473): - [vv1.22.0] - BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463): - [vv1.23.0] - BREAKING: remove `Intl.v8BreakIterator` (#14864): - [vv1.23.0] - BREAKING: Remove unstable Deno.sleepSync (#14719): - [vv1.23.1] - BREAKING(unstable/ffi): Remove `Deno.UnsafePointer` indirection (#14915): - [vv1.24.0] - BREAKING(unstable): Improve Deno.spawn() stdio API (#14919): - [vv1.25.0] - BREAKING(ext/ffi): specialized `buffer` type (#15518): - [vv1.25.2] - BREAKING(unstable): remove --compat mode (#15678): - [vv1.33.0] - BREAKING(unstable): remove "Deno.serve(handler, options)" overload (#18759): - [vv1.34.0] - BREAKING(unstable): change return type of Deno.serve() API (#19189): - [vv1.40.0] - fix(BREAKING): remove dead `--prompt` flag (#22038): - [vv1.41.0] - BREAKING(net/unstable): remove `Deno.DatagramConn.rid` (#22475): - [vv1.41.0] - BREAKING(unstable): remove `Deno.HttpClient.rid` (#22075): - [vv1.41.0] - BREAKING: add `Deno.CreateHttpClientOptions.{cert,key}` (#22280): - [vv1.44.0] - BREAKING(ffi/unstable): always return u64 as bigint (#23981): - [vv1.44.0] - BREAKING(ffi/unstable): use BigInt representation in turbocall (#23983): - [vv1.45.0] - BREAKING(unstable/ffi): remove callback reentrant flag (#24367): - [vv1.46.0] - BREAKING(temporal/unstable): Remove obsoleted Temporal APIs (#24836): - [vv1.46.0] - BREAKING(webgpu/unstable): Replace async .requestAdapterInfo() with sync .info: ## Instructions for AI Assistant: When migrating user code from Deno 0.42 to 1, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv1.46.3 idioms.