Skip to content

Conversation

@gwynne
Copy link
Member

@gwynne gwynne commented Dec 30, 2025

These changes are now available in 2.15.1

Under some conditions, a failed attempt to decode data from an SQLRow (whether via SQLKit or through Fluent) would throw errors whose descriptions were missing information critical to understanding the problem. This fixes that.

Also adds some useful notes about using PostgresKit with PostgresClient to the README.

@gwynne gwynne requested review from 0xTim, MahdiBM and ptoffy December 30, 2025 04:59
@gwynne gwynne added enhancement New feature or request semver-patch Internal changes only labels Dec 30, 2025
@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

❌ Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.84%. Comparing base (2fc0afb) to head (5fe62d3).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
Sources/PostgresKit/PostgresDataTranslation.swift 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #277      +/-   ##
==========================================
+ Coverage   42.30%   42.84%   +0.53%     
==========================================
  Files          13       13              
  Lines         851      852       +1     
==========================================
+ Hits          360      365       +5     
+ Misses        491      487       -4     
Files with missing lines Coverage Δ
Sources/PostgresKit/PostgresDataTranslation.swift 68.77% <71.42%> (+1.60%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@MahdiBM MahdiBM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gwynne gwynne merged commit 7c07955 into main Dec 30, 2025
14 checks passed
@gwynne gwynne deleted the fix-error-message branch December 30, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request semver-patch Internal changes only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants