All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project follows Semantic Versioning.
- Added RFC 9110-focused tests for empty list elements, wildcard/parameter precedence, parameter matching behavior, and
q-value edge cases. - Added
AcceptRef<'a>, a borrowedAcceptrepresentation for lazy negotiation without building an ownedVec<MediaTypeBuf>.
- Updated
Acceptparsing to ignore empty list elements in comma-separated header lists. - Updated media-range matching to treat non-
qparameters as required subset constraints for both exact and wildcard ranges. - Refactored shared list-segment parsing so owned and borrowed accept paths apply the same empty-element handling.
- Refactored negotiation internals so quality/specificity parsing and range matching are shared between
AcceptandAcceptRef.
v0.3.0 - 2025-11-22
- Updated
mediatypedependency from0.20.0to0.21.0.
v0.2.1 - 2025-09-14
- Added support for decoding and combining multiple
Acceptheader values.
- Updated CI workflow dependency
actions/checkoutfrom v4 to v5.
v0.2.0 - 2025-07-11
- Implemented a spec-conformant custom
qvalue parser with dedicated test coverage.
- Relaxed the lifetime bound on
Accept::negotiate. - Updated
mediatypedependency from0.19.18to0.20.0.
v0.1.4 - 2024-09-14
- Implemented
FromIterator<MediaType>andFromIterator<MediaTypeBuf>forAccept. - Added iterator construction tests for
Accept.
- General cleanup and linting improvements.
v0.1.3 - 2024-05-06
- Added
TryFrom<&HeaderValue>forAccept.
- Switched wildcard comparisons to use
mediatype::names::_STAR. - General cleanup and minor documentation updates.
v0.1.2 - 2024-05-01
- Added content negotiation via
Accept::negotiate. - Added more comprehensive precedence and negotiation tests.
- Expanded crate-level documentation with negotiation examples.
- General cleanup.
v0.1.1 - 2024-04-29
- Initial tagged release of
headers-accept.
- Improved handling of specificity precedence.
- Updated documentation references to RFC 9110 section 12.5.1.