From b87c6df09d7f2b7cd70c72c46818d2d1099c800f Mon Sep 17 00:00:00 2001 From: lif <> Date: Mon, 22 Aug 2022 08:10:02 +0000 Subject: [PATCH] Update changelog with breaking change info for ExtractorMetadata refactor done for WebSockets --- CHANGELOG.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 61caf9003..8bba4a38b 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -17,6 +17,10 @@ https://github.com/oxidecomputer/dropshot/compare/v0.7.0\...HEAD[Full list of co === Breaking Changes +* https://github.com/oxidecomputer/dropshot/pull/403[#403] The `ExtractorMetadata` type has been changed to represent our nonstandard extensions to OpenAPI in a field `extension_mode: ExtensionMode`, rather than `paginated: bool`, which was previously our only nonstandard extension, but is now joined by WebSockets. + +In any existing code that checked `extractor_metadata.paginated`, you can instead check that `extractor_metadata.extension_mode` is `ExtensionMode::Paginated`. + * https://github.com/oxidecomputer/dropshot/pull/351[#351] The `uuid` crate has been updated to version 1.0.0 from 0.8.0. Consumers will need to update to a compatible version of `uuid`. In addition consumers that were using the `uuid` feature flag of the `schemars` crate (so that `uuid::Uuid` implements `schemars::JsonSchema`) will need to use the `uuid1` feature flag instead to force the use of `uuid` version 1.0.0. == 0.7.0 (released 2022-05-06)