Add explicit release notes URL when they are mentioned in error messages by 0xced · Pull Request #6516 · npgsql/npgsql
Pull request overview
Adds direct links to the relevant Npgsql release notes in user-facing messages (runtime exception text and obsolete API diagnostics), making it easier for users to click through to the exact documentation referenced.
Changes:
- Embed explicit
https://www.npgsql.org/doc/release-notes/<version>.0.htmlURLs in several resource-based error messages (8.0). - Embed explicit release notes URLs in
[Obsolete]messages for deprecated type-mapping configuration APIs (7.0, 9.0). - Regenerate the
NpgsqlStrings.Designer.csresource designer after updating the.resx.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/Npgsql/Properties/NpgsqlStrings.resx | Adds explicit 8.0 release notes URL into multiple user-facing resource strings. |
| src/Npgsql/Properties/NpgsqlStrings.Designer.cs | Updates generated resource accessors/docs to reflect the .resx string changes. |
| src/Npgsql/NpgsqlConnectionStringBuilder.cs | Updates [Obsolete] messages to include the 9.0 release notes URL. |
| src/Npgsql/NpgsqlConnection.cs | Updates [Obsolete] messages/comments to include the 7.0 release notes URL. |
Files not reviewed (1)
- src/Npgsql/Properties/NpgsqlStrings.Designer.cs: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.