Vapor: 4.89.2 Release

Release date:
December 13, 2023
Previous version:
4.89.1 (released December 8, 2023)
Magnitude:
15 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.89.2

baarde

Directory Browser for 4.89.2

All files are compared to previous version, 4.89.1. Click here to browse diffs between other versions.

Loading File Browser...

Release Notes Published

What's Changed

Consistently use the value from X-Request-Id as the request's ID when present by @baarde in #3117

Changes

This PR ensures that the Requestโ€™s id and the value of the loggerโ€™s request-id value are the same.

Motivation

The Requestโ€™s id property was added in #2964 to expose the request-id identifier used for logging.

3072 changed this behavior. The request-id identifier is now set:

  • to the value from the X-Request-Id header, when the header is present,
  • to a random identifier, when the header is absent.

Having two different identifiers is confusing. So, this PR reconciles the two values.

History

The first version of this PR allowed the two identifiers to differ when the X-Request-Id header is present, in order to maintain the original semantics of the id property.

New Contributor

  • @baarde made their first contribution in #3117 ๐ŸŽ‰

Reviewers

Thanks to the reviewers for their help: - @MahdiBM

This patch was released by @0xTim

Full Changelog: https://github.com/vapor/vapor/compare/4.89.1...4.89.2