January 4th incident update
A refactor of content negotiation on deno.land caused modules under deno.land/x and deno.land/std to be served wrapped in HTML instead of raw code for about 40 minutes on January 4th, 2022. The new logic did not account for the Deno CLI and Deno Deploy sending an Accept header that permits all content types, including text/html, and tests had been written against wrong assumptions about those headers. Recovery was slowed because Deno Deploy had no revert capability and the fix itself depended on the broken module hosting, so service was restored by pointing dependencies at an earlier deployment. Follow-ups are new tests for the negotiation logic and a rollback feature for Deno Deploy.
Related posts
- March 2 incident update
Deno mediumAdeptA 98-minute outage of deno.land media, deno.land/x and deno.land/std module serving, doc.deno.land and cdn.deno.land was caused by a faulty Cloudflare abuse-prevention filter. A traffic spike from the Deno 1.8 Hacker News post triggered a TOS media block, and Cloudflare treated every .ts file as an MPEG transport stream, even though the files were served as application/typescript. Deno moved its Cloudflare Worker to a Deno script on Fly.io in under 20 minutes by polyfilling the fetch event, then switched DNS. Cloudflare lifted the block 16.5 hours later. Users with cached dependencies were largely unaffected; new users and CI pipelines bore the impact. A public status page followed.
- Deno 1.17 Release Notes
Deno mediumAdeptDeno 1.17 adds import assertions and JSON modules (static JSON imports need no permissions), expands the Web Cryptography API with RSA, AES and EC key import/export and unwrapping, and introduces a --no-check=remote flag that discards type-check diagnostics from remote dependencies. It also adds unstable ALPN negotiation in Deno.connectTls, Deno.unrefTimer/refTimer so timers stop blocking event-loop exit, abort reason propagation plus AbortSignal.throwIfAborted, and new Deno.test overloads. Further updates cover the language server's registry completion protocol, extra --watch paths, REPL Node compatibility mode, FFI pointer APIs and TypeScript 4.5.
- July 27 incident update
Deno easyNoviceA database schema change that dropped a column and replaced it with another, deployed at the same time as code using the new column, took Deno Deploy projects and deno.land down for 6 minutes on July 27, 2021. Because the rollout wasn't atomic, instances still running old code kept polling the modified table, hit the missing column and crashed until they were replaced. deno.land was restored early by redirecting to backup Cloudflare Workers, and no data was lost. Staging logs had shown the failures without failing tests or triggering alarms, so new staging alerts were added.
- 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.
- What we got wrong about HTTP imports
Deno easyNoviceDeno's original module system of direct HTTP URL imports didn't scale. Long URLs cluttered code, `deps.ts` files were clumsy, exact version pinning in URLs led to duplicate copies of the same library, and builds depended on the uptime of every host in the dependency graph. Deno is keeping HTTP imports but now recommends import maps for short specifiers and central version management, plus JSR, a semver-aware registry that resolves `jsr:` specifiers to immutable HTTP URLs. That design keeps granular file downloads and fixes deduplication and reliability. These changes are a core part of Deno 2.