Upgrade AskDB
Maintain
Move your app to a newer AskDB release. Upgrade the packages in one step, apply the notes of each release you cross, oldest first, and check the result. Upgrade notes by release lists what each release asks of your app.
Before you upgrade
Section titled “Before you upgrade”- Check your Node version. Every AskDB package needs Node 22.23.4 or newer, since 1.0.0-beta.44.
- Find the releases you cross. Upgrade notes by release has a section for each release, named after its
askdbversion, and the line under its heading names the other packages’ versions in it. Read every section between your current versions and the new ones. - Upgrade the AskDB packages your app already lists, in one step, so they all come from the same release. Betas and release candidates publish under npm’s
latesttag. Name eachaskdband@askdb/*package in yourpackage.json, and no others. For example, for an app that lists@askdb/clientand@askdb/core:
npm install @askdb/client@latest @askdb/core@latestpnpm add @askdb/client@latest @askdb/core@latestyarn add @askdb/client@latest @askdb/core@latestThen apply each release’s notes, oldest first, and finish with Check the upgrade.
Check the upgrade
Section titled “Check the upgrade”- Load your config. Run your app or an
askdbcommand once. A config that sets a removed key fails to load and names each key’s replacement. - Ask one question on each path that calls
ask()orbind(), with the tenant scopes you use in production. - If you use RAG, run
askdb rag queryagainst the new index, or check that Studio no longer marks the index as stale.
If something fails, Fix common errors lists the common errors and their fixes.
Read next
Section titled “Read next”© 2026 Yahya Gilany

