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

# mariadb breaking changes

mariadb 3.5.5 (November 5, 2026) is its newest release with breaking changes, 5 of them. The first: Removed ConnectionConfig.logPackets. Every breaking API change we have recorded in mariadb on npm: 17 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 `3.5.5`, released November 5, 2026. [Source repository](https://github.com/mariadb-corporation/mariadb-connector-nodejs)

Its 3.5.3 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.5.3](#v-3-5-3) to [3.5.5](#v-3-5-5): 14 breaking changes in 2 versions.

## mariadb 3.5.5 breaking changes

mariadb 3.5.5, released November 5, 2026: 5 breaking changes.

- **Removed** `ConnectionConfig.logPackets`  

The logPackets option is no longer declared in the TypeScript types, so code that references it may fail type checks. [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.5)
- **Removed** `ConnectionInfo.collation`  

ConnectionInfo.collation was removed in mariadb 3.5.5 [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.5)
- **Behavior changed**  

A connection configured with a charset the server does not support is now refused instead of silently staying on utf8mb4. Use a charset the server supports. [github.com](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.5)
- **Signature changed** `ConnectionConfig.logger`  

Was logger?: LoggerConfig; now logger?: LoggerConfig | ((msg: string | Error) => void). [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.5)
- **Signature changed** `QueryConfig.logger`  

Was logger?: LoggerConfig; now logger?: LoggerConfig | ((msg: string | Error) => void). [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.5)

## mariadb 3.5.4 breaking changes

mariadb 3.5.4, released September 1, 2026: 9 breaking changes.

- **Removed** `TypeNumbers.LONG`  

TypeNumbers.LONG was removed in mariadb 3.5.4 [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Removed** `Types.LONG`  

Types.LONG was removed in mariadb 3.5.4 [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Behavior changed**  

An exception thrown by a callback is no longer passed back to that same callback as a database error; it now propagates like in other node-style callbacks. Code that relied on catching it in the callback must change. [github.com](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.4)
- **Signature changed** `ConnectionConfig.stream`  

Was stream?: (callback: typeof StreamCallback) => void; now stream?: (callback: StreamCallback) => void. [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Signature changed** `FieldInfo.date`  

Was date(): Date | null; now date(): Date | string | null. [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Signature changed** `FieldInfo.decimal`  

Was decimal(): number | null; now decimal(): string | null. [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Signature changed** `FieldInfo.long`  

Was long(): number | null; now long(): bigint | null. [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Signature changed** `StreamCallback`  

Was function StreamCallback(err?: Error, stream?: Duplex): void; now type StreamCallback = (err?: Error, stream?: Duplex) => void. [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)
- **Signature changed** `TypeCastResult`  

Was type TypeCastResult = boolean | number | string | symbol | null | Date | Geometry | Buffer; now type TypeCastResult = | boolean | number | bigint | string | symbol | null | Date | Geometry | Buffer | string\[\] | Record\<string, any> |... [npmjs.com](https://www.npmjs.com/package/mariadb/v/3.5.4)

## mariadb 3.5.3 breaking changes

mariadb 3.5.3, released June 9, 2026: 3 breaking changes.

- **Removed**  

Node.js 18 is no longer supported. Upgrade to Node.js 20 or later before using this release. [github.com](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3)
- **Behavior changed**  

PAM (dialog) authentication is refused unless the connection uses TLS or a local unix socket. Configure a secure connection if you rely on PAM dialog authentication. [github.com](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3)
- **Behavior changed** `permitLocalInfile`  

A server-initiated LOAD DATA LOCAL INFILE request is now rejected when permitLocalInfile is disabled. Enable permitLocalInfile if your code depends on that request being served. [github.com](https://github.com/mariadb-corporation/mariadb-connector-nodejs/releases/tag/3.5.3)

## 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.
