---
title: "bunyan 2.0.5 Breaking Changes on npm | Since.dev"
description: "What each bunyan release removed, renamed or changed: 3 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/bunyan
last_updated: 2026-12-04
---

# bunyan breaking changes

bunyan 2.0.5 (January 8, 2021) is its newest release with breaking changes. The first: Behavior changed req. Every breaking API change we have recorded in bunyan on npm: 3 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.5`, released January 8, 2021. [Source repository](https://github.com/trentm/node-bunyan)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.1](#v-2-0-1) to [2.0.5](#v-2-0-5): 2 breaking changes in 2 versions.

## bunyan 2.0.5 breaking changes

bunyan 2.0.5, released January 8, 2021: 1 breaking change.

- **Behavior changed** `req`  

The default "req" serializer now accepts req.originalUrl from expressjs for the "url" field, so logged url values can differ from before. [github.com](https://github.com/trentm/node-bunyan/blob/2.0.5/CHANGES.md)

## bunyan 2.0.4 breaking changes

bunyan 2.0.4, released June 29, 2020: 1 breaking change.

- **Behavior changed**  

Newlines in bunyan output now come from os.EOL, so output on Windows uses CRLF. Check any code that parses raw log lines by splitting on \\n. [github.com](https://github.com/trentm/node-bunyan/blob/2.0.4/CHANGES.md)

## bunyan 2.0.1 breaking changes

bunyan 2.0.1, released August 2, 2017: 1 breaking change.

- **Behavior changed** `bunyan`  

The bunyan CLI no longer guesses and adds a Host header when rendering a client_req field in log records, so output differs from 1.x. Users relying on that rendered Host header must adjust. [github.com](https://github.com/trentm/node-bunyan/blob/2.0.1/CHANGES.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
