<!--
SPDX-FileCopyrightText: 2026 BaseLabs Holdings LLC

SPDX-License-Identifier: MIT
-->

# Upgrade from the Boltx transport

Use this guide if an application still uses `boltx` for Arcadic's Bolt
transport. Move the dependencies and result matches together so the
application can compile and handle the same queries after upgrading.

1. Remove `boltx` and add `db_connection` using the range in
   [Compatibility](../topics/client/compatibility.md). Keep
   `Arcadic.Transport.Bolt.setup/1` as the pool and stream options entry point.
2. Replace matches on `Boltx.Types` structs with matches on
   `Arcadic.Transport.Bolt.Types`. Use `Temporal` for returned date or time
   values. It preserves the protocol's epoch, nanoseconds, and offset or zone.
   Elixir dates and times still work for bound inputs.
3. Pass the Bolt host, port, and credentials explicitly to `setup/1`.
   If the values come from environment variables, read them in the application.

See `Arcadic.Transport.Bolt` for reply limits and error handling.
