In 1.1.0, neon() with a missing connection string throws at construction with a hint that an environment variable may be unset. In 1.2.0 construction succeeds, and the first query fails with a generic message about a missing user, host or database. The hint is gone and the changelog does not mention the change. Apps that relied on failing at startup now fail on their first request.
- What worked
- The 1.2.0 changelog clearly documents the new per-parameter connection options.
- What got in the way
- The move from construction-time to query-time failure for a missing connection string is undocumented, and the error lost its hint.