---
title: "surrealdb 3.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each surrealdb release removed, renamed or changed: 455 breaking changes in 11 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/surrealdb
last_updated: 2026-12-04
---

# surrealdb breaking changes

surrealdb 3.0.0 (November 4, 2026) is its newest release with breaking changes, 319 of them. The first: Removed surrealdb.AsyncEmbeddedSurrealConnection.vars. Every breaking API change we have recorded in surrealdb on PyPI: 455 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.0`, released November 4, 2026. [Source repository](https://github.com/surrealdb/surrealdb.py)

Its 2.0.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 350 breaking changes in 10 versions.

## surrealdb 3.0.0 breaking changes

surrealdb 3.0.0, released November 4, 2026: 319 breaking changes.

- **Removed** `surrealdb.AsyncEmbeddedSurrealConnection.vars`  

AsyncEmbeddedSurrealConnection.vars was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncHttpSurrealConnection.insert_relation`  

AsyncHttpSurrealConnection.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncHttpSurrealConnection.merge`  

AsyncHttpSurrealConnection.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncHttpSurrealConnection.patch`  

AsyncHttpSurrealConnection.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncHttpSurrealConnection.set_token`  

AsyncHttpSurrealConnection.set_token was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncSurrealSession.insert_relation`  

AsyncSurrealSession.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncSurrealSession.merge`  

AsyncSurrealSession.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncSurrealSession.patch`  

AsyncSurrealSession.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncSurrealTransaction.insert_relation`  

AsyncSurrealTransaction.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncSurrealTransaction.merge`  

AsyncSurrealTransaction.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncSurrealTransaction.patch`  

AsyncSurrealTransaction.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncWsSurrealConnection.insert_relation`  

AsyncWsSurrealConnection.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncWsSurrealConnection.merge`  

AsyncWsSurrealConnection.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.AsyncWsSurrealConnection.patch`  

AsyncWsSurrealConnection.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingHttpSurrealConnection.insert_relation`  

BlockingHttpSurrealConnection.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingHttpSurrealConnection.merge`  

BlockingHttpSurrealConnection.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingHttpSurrealConnection.patch`  

BlockingHttpSurrealConnection.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingHttpSurrealConnection.set_token`  

BlockingHttpSurrealConnection.set_token was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingSurrealSession.insert_relation`  

BlockingSurrealSession.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingSurrealSession.merge`  

BlockingSurrealSession.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingSurrealSession.patch`  

BlockingSurrealSession.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingSurrealTransaction.insert_relation`  

BlockingSurrealTransaction.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingSurrealTransaction.merge`  

BlockingSurrealTransaction.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingSurrealTransaction.patch`  

BlockingSurrealTransaction.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingWsSurrealConnection.insert_relation`  

BlockingWsSurrealConnection.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingWsSurrealConnection.merge`  

BlockingWsSurrealConnection.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.BlockingWsSurrealConnection.patch`  

BlockingWsSurrealConnection.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.cbor.decoder`  

surrealdb.cbor.decoder was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.cbor.encoder`  

surrealdb.cbor.encoder was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.cbor.key`  

surrealdb.cbor.key was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.cbor.tool`  

surrealdb.cbor.tool was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.cbor.types`  

surrealdb.cbor.types was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.cbor.value`  

surrealdb.cbor.value was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_embedded.AsyncEmbeddedDB`  

surrealdb.connections.async_embedded.AsyncEmbeddedDB was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_embedded.AsyncEmbeddedSurrealConnection.vars`  

AsyncEmbeddedSurrealConnection.vars was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_http.AsyncHttpSurrealConnection.set_token`  

AsyncHttpSurrealConnection.set_token was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_http.AsyncTemplate.insert_relation`  

AsyncTemplate.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_http.AsyncTemplate.merge`  

AsyncTemplate.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_http.AsyncTemplate.patch`  

AsyncTemplate.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_http.decode`  

surrealdb.connections.async_http.decode was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_http.SurrealError`  

surrealdb.connections.async_http.SurrealError was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_template.AsyncTemplate.insert_relation`  

AsyncTemplate.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_template.AsyncTemplate.merge`  

AsyncTemplate.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_template.AsyncTemplate.patch`  

AsyncTemplate.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_ws.AsyncSurrealSession.insert_relation`  

AsyncSurrealSession.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_ws.AsyncSurrealSession.merge`  

AsyncSurrealSession.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_ws.AsyncSurrealSession.patch`  

AsyncSurrealSession.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_ws.AsyncSurrealTransaction.insert_relation`  

AsyncSurrealTransaction.insert_relation was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_ws.AsyncSurrealTransaction.merge`  

AsyncSurrealTransaction.merge was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)
- **Removed** `surrealdb.connections.async_ws.AsyncSurrealTransaction.patch`  

AsyncSurrealTransaction.patch was removed in surrealdb 3.0.0 [pypi.org](https://pypi.org/project/surrealdb/3.0.0/)

And 269 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## surrealdb 3.0.0b11 breaking changes

surrealdb 3.0.0b11, released November 4, 2026: 1 breaking change.

- **Default changed** `timeout`  

Requests still default to 30 seconds; the timeout is now settable per connection. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.11)

## surrealdb 3.0.0b10 breaking changes

surrealdb 3.0.0b10, released November 4, 2026: 1 breaking change.

- **Signature changed** `rows`  

Code annotating rows() results as AsyncQueryStream or QueryStream must switch to SyncRows or AsyncRows. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.10)

## surrealdb 3.0.0b9 breaking changes

surrealdb 3.0.0b9, released November 4, 2026: 3 breaking changes.

- **Default changed** `ping_interval`  

The default ping interval and timeout changed; the websockets floor is now 15.0. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.9)
- **Signature changed** `delete`  

On the blocking client, delete() without data returns a builder; call .execute() to run it. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.9)
- **Signature changed** `select`  

On the blocking client, select() returns a builder; call .execute() or iterate it to get rows. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.9)

## surrealdb 3.0.0b8 breaking changes

surrealdb 3.0.0b8, released November 4, 2026: 4 breaking changes.

- **Removed** `surrealdb.spectron`  

The bundled memory client moved to the separate surrealdb-memory distribution. Install it with pip install 'surrealdb\[memory\]' and import from surrealdb.memory. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.8)
- **Renamed** `surrealdb.spectron.AsyncSpectron`  

AsyncSpectron is now AsyncMemory. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.8)
- **Renamed** `surrealdb.spectron.Spectron`  

Spectron is now Memory. Update imports and references. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.8)
- **Renamed** `surrealdb.spectron.SpectronError`  

The base error class is now MemoryServiceError. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.8)

## surrealdb 3.0.0b5 breaking changes

surrealdb 3.0.0b5, released November 4, 2026: 17 breaking changes.

- **Removed** `set_token`  

Use authenticate() to authenticate; assigning db.token directly also works. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed**  

NULL values come back as surrealdb.Null, which is not equal to None; code checking for None must also handle NULL. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed**  

Python ints above the signed 64-bit maximum are refused at encode time instead of being silently corrupted. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed**  

Catch InvalidUrlError, which is a SurrealError, where a bare ValueError was caught before. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed**  

Catch ConnectionUnavailableError, a SurrealError, instead of the bare RuntimeError raised before. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed**  

Passing a value the SDK cannot encode now raises TypeError, so code catching BufferError must change. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed** `close`  

After close() and connect(), the new socket is a fresh session, so sign in and use() again. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed** `connect`  

Passing a different url to connect() on an open connection now switches endpoints instead of being ignored. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed** `create`  

An explicit data=None on async create() is now an error, matching the blocking connections. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)
- **Behavior changed** `insert`  

An explicit data=None on async insert() is now an error, matching the blocking connections. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.5)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### surrealdb 3.0.0b4 breaking changes

surrealdb 3.0.0b4, released November 4, 2026: 2 breaking changes.

- **Behavior changed** `__all__`  

AsyncEmbeddedSurrealConnection and BlockingEmbeddedSurrealConnection now appear in \_\_all\_\_ only when the embedded extra is installed. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.4)
- **Behavior changed** `UrlScheme`  

Unsupported URL schemes raise UnsupportedEngineError instead of ValueError. Code catching ValueError around connection construction should catch SurrealError or UnsupportedEngineError. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.4)

### surrealdb 3.0.0b1 breaking changes

surrealdb 3.0.0b1, released November 4, 2026: 1 breaking change.

- **Behavior changed**  

Failures that previously leaked third-party exceptions such as requests or aiohttp errors are now mapped to SurrealError subclasses. Code catching the old third-party exceptions must catch SurrealError instead. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-beta.1)

### surrealdb 3.0.0a3 breaking changes

surrealdb 3.0.0a3, released November 4, 2026: 1 breaking change.

- **Behavior changed** `delete`  

delete with a RecordID now returns dict | None instead of its previous return type. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-alpha.3)

### surrealdb 3.0.0a2 breaking changes

surrealdb 3.0.0a2, released November 4, 2026: 1 breaking change.

- **Behavior changed** `select`  

select() returns the unwrapped result rather than the wrapped form, so code handling the old wrapper shape must change. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v3.0.0-alpha.2)

### surrealdb 2.0.0 breaking changes

surrealdb 2.0.0, released April 23, 2026: 105 breaking changes.

- **Removed**  

Python 3.9 is no longer supported by this release. Users on Python 3.9 must upgrade their Python version before installing 2.0.0. [github.com](https://github.com/surrealdb/surrealdb.py/releases/tag/v2.0.0)
- **Removed** `surrealdb.errors.SurrealDBMethodError.__init__`  

SurrealDBMethodError() was removed in surrealdb 2.0.0 [pypi.org](https://pypi.org/project/surrealdb/2.0.0/)

And 103 more in this version.

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