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

# passport breaking changes

passport 0.7.0 (November 27, 2023) is its newest release with breaking changes. The first: Default changed authenticate. Every breaking API change we have recorded in passport on npm: 7 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.7.0`, released November 27, 2023. 

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

- From [0.5.0](#v-0-5-0) to [0.7.0](#v-0-7-0): 1 breaking change in 1 version.

## passport 0.7.0 breaking changes

passport 0.7.0, released November 27, 2023: 1 breaking change.

- **Default changed** `authenticate`  

With the assignProperty option, req.authInfo is now set by default, matching behavior without that option. To keep the old behavior, set the authInfo option to false. [github.com](https://github.com/jaredhanson/passport/blob/v0.7.0/CHANGELOG.md)

## passport 0.5.0 breaking changes

passport 0.5.0, released September 23, 2021: 6 breaking changes.

- **Removed** `http.IncomingMessage.prototype.isAuthenticated`  

The isAuthenticated() function is no longer added to http.IncomingMessage.prototype. Use the functions that initialize() middleware adds to the request object instead. [github.com](https://github.com/jaredhanson/passport/blob/v0.5.0/CHANGELOG.md)
- **Removed** `http.IncomingMessage.prototype.isUnauthenticated`  

The isUnauthenticated() function is no longer added to http.IncomingMessage.prototype. Use the functions that initialize() middleware adds to the request object instead. [github.com](https://github.com/jaredhanson/passport/blob/v0.5.0/CHANGELOG.md)
- **Removed** `http.IncomingMessage.prototype.login`  

The login() function is no longer added to http.IncomingMessage.prototype. Use the functions that initialize() middleware adds to the request object instead. [github.com](https://github.com/jaredhanson/passport/blob/v0.5.0/CHANGELOG.md)
- **Removed** `http.IncomingMessage.prototype.logIn`  

The logIn() function is no longer added to http.IncomingMessage.prototype. Use the functions that initialize() middleware adds to the request object instead. [github.com](https://github.com/jaredhanson/passport/blob/v0.5.0/CHANGELOG.md)
- **Removed** `http.IncomingMessage.prototype.logout`  

The logout() function is no longer added to http.IncomingMessage.prototype. Use the functions that initialize() middleware adds to the request object instead. [github.com](https://github.com/jaredhanson/passport/blob/v0.5.0/CHANGELOG.md)
- **Removed** `http.IncomingMessage.prototype.logOut`  

The logOut() function is no longer added to http.IncomingMessage.prototype. Use the functions that initialize() middleware adds to the request object instead. [github.com](https://github.com/jaredhanson/passport/blob/v0.5.0/CHANGELOG.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.
