From 7f93ff5ecdb4729dbad26550c6d9262fa816428f Mon Sep 17 00:00:00 2001 From: Evan Typanski Date: Mon, 28 Jul 2025 11:11:33 -0400 Subject: [PATCH] Deprecate `record_type_to_vector` After #4682, record_fields is ordered so this is redundant. Furthermore, it is incorrectly documented, as it says nested records are flattened. --- src/zeek.bif | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zeek.bif b/src/zeek.bif index 210aa12a69..f4b46c310b 100644 --- a/src/zeek.bif +++ b/src/zeek.bif @@ -2052,7 +2052,7 @@ function bare_mode%(%): bool ## rt: The name of the record type. ## ## Returns: A string vector with the field names of *rt*. -function record_type_to_vector%(rt: string%): string_vec +function record_type_to_vector%(rt: string%): string_vec &deprecated="Remove in v8.1: Consider using the ordered table from record_fields" %{ auto result = zeek::make_intrusive(zeek::id::string_vec);