import InfoBox from '../components/InfoBox.astro';

Two dependency updates arrived on the same day, and the second was a major version of the PostgreSQL driver. The [earlier dependency post](/posts/a-test-dom-that-stopped-loading-by-default#the-default-that-changed) covered the same kind of grouped update and a major bump in the test DOM. This one differed in what the release touched. The upgrade guide named a removed helper, and the repository did not call it. A major version usually means reading the guide and editing call sites, but this one ended with no change to the source.

## Checking the removed API against the code

The guide's removed helper throws a specific error code when called, so the check was a search for that name and that code across the repository. It returned nothing.

```bash
git grep -n -E 'sql\.array\(|ARRAY_REMOVED'
```

A handful of modules import the driver, and none of them calls the removed helper. The change that followed touched the manifest and the lockfile, and the lockfile moved by 392 lines.

<InfoBox title="A search is a receipt" variant="note">
An upgrade guide lists what changed. A search of the code shows what the repository depends on. The two answer different questions, and only the second decides whether a major version needs source changes.
</InfoBox>

The group update merged first in that window, so the driver upgrade landed on top of the newer framework line rather than the older one. Across the two merges, the source diff stayed empty.

The next major version on the driver's list will go through the same order: the guide's removed names searched against the code, then the lockfile moves.