mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge branch 'topic/etyp/deprecate-record-ty-to-vec'
* topic/etyp/deprecate-record-ty-to-vec: Deprecate `record_type_to_vector`
This commit is contained in:
commit
c00314746a
3 changed files with 9 additions and 2 deletions
7
CHANGES
7
CHANGES
|
@ -1,3 +1,10 @@
|
|||
8.0.0-dev.754 | 2025-07-28 12:24:41 -0400
|
||||
|
||||
* Deprecate `record_type_to_vector` (Evan Typanski, Corelight)
|
||||
|
||||
After #4682, record_fields is ordered so this is redundant. Furthermore,
|
||||
it is incorrectly documented, as it says nested records are flattened.
|
||||
|
||||
8.0.0-dev.751 | 2025-07-25 09:13:51 -0700
|
||||
|
||||
* Use size_t for byte sizes in SerializationFormat (Tim Wojtulewicz, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
8.0.0-dev.751
|
||||
8.0.0-dev.754
|
||||
|
|
|
@ -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::VectorVal>(zeek::id::string_vec);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue