chore(templated_uri): adopt latest ohno and release new version#379
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #379 +/- ##
=======================================
Coverage 100.0% 100.0%
=======================================
Files 224 224
Lines 16134 16135 +1
=======================================
+ Hits 16134 16135 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates templated_uri to align with newer ohno error-labeling patterns and publishes a new crate version.
Changes:
- Introduces
ErrorLabelsupport forValidationError(labels for invalid URI vs underlyinghttp::Error). - Replaces
ValidationError::caused_by(...)call sites with a labeledinvalid_uri(...)helper. - Bumps
templated_urifrom0.1.1to0.1.2across workspace metadata (and updates docs.rs links).
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| crates/templated_uri/src/uri.rs | Switches validation failures to use invalid_uri(...) for consistent labeling. |
| crates/templated_uri/src/error.rs | Refactors ValidationError to carry an ErrorLabel and adds labeled From conversions + tests. |
| crates/templated_uri/src/base_uri/origin.rs | Uses invalid_uri(...) for scheme/authority validation errors. |
| crates/templated_uri/src/base_uri/base_path.rs | Uses invalid_uri(...) for base-path format validation errors. |
| crates/templated_uri/src/base_uri.rs | Uses invalid_uri(...) when scheme/authority are missing. |
| crates/templated_uri/README.md | Updates embedded docs.rs links to the new crate version. |
| crates/templated_uri/Cargo.toml | Bumps crate version to 0.1.2. |
| crates/templated_uri/CHANGELOG.md | Adds a 0.1.2 entry describing ErrorLabel support. |
| Cargo.toml | Updates workspace dependency version for templated_uri to 0.1.2. |
| Cargo.lock | Locks templated_uri to 0.1.2. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ohnoversionErrorLabel