Skip to content

flowbits: add deprecation notice for toggle command - #15664

Merged
victorjulien merged 2 commits into
OISF:main-7.0.xfrom
inashivb:toggle-deprecate-7/v2
Jun 22, 2026
Merged

flowbits: add deprecation notice for toggle command#15664
victorjulien merged 2 commits into
OISF:main-7.0.xfrom
inashivb:toggle-deprecate-7/v2

Conversation

@inashivb

@inashivb inashivb commented Jun 18, 2026

Copy link
Copy Markdown
Member

Previous PR: #15578

Changes since v1:

  • changed the entire approach to match the approved main-8.0.x patch

Link to ticket: https://redmine.openinfosecfoundation.org/issues/8638

inashivb added 2 commits June 18, 2026 12:01
to deal with the failure due to cbindgen updates and mismatches in
generated bindings.

detect-bytemath.c:61: error: "DETECT_BYTEMATH_ENDIAN_DEFAULT" redefined [-Werror]
   61 | #define DETECT_BYTEMATH_ENDIAN_DEFAULT (uint8_t) BigEndian
      |
In file included from rust.h:34,
                 from detect-bytemath.c:32:
./../rust/gen/rust-bindings.h:5071: note: this is the location of the previous definition
 5071 | #define DETECT_BYTEMATH_ENDIAN_DEFAULT BigEndian
      |
@catenacyber

Copy link
Copy Markdown
Contributor

Looks ok for me, why a draft ?

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.52%. Comparing base (6e7907e) to head (6a23995).

Additional details and impacted files
@@             Coverage Diff             @@
##           main-7.0.x   #15664   +/-   ##
===========================================
  Coverage       81.52%   81.52%           
===========================================
  Files             925      925           
  Lines          252965   252970    +5     
===========================================
+ Hits           206235   206241    +6     
+ Misses          46730    46729    -1     
Flag Coverage Δ
fuzzcorpus 62.24% <100.00%> (-0.02%) ⬇️
suricata-verify 63.85% <100.00%> (+0.04%) ⬆️
unittests 62.13% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@inashivb

Copy link
Copy Markdown
Member Author

Looks ok for me, why a draft ?

was waiting for CI to pass :P

@inashivb
inashivb marked this pull request as ready for review June 18, 2026 08:58
Reverses the present setting. So for example if a condition is set,
it will be unset and vice-versa.

.. deprecated:: 7.0.17

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL this annotation style. ✨

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI told me about this 🙈

@jufajardini jufajardini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, as well :P

@suricata-qa

Copy link
Copy Markdown

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.app_layer.flow.ftp-data 604 580 96.03%

Pipeline = 32154

@victorjulien victorjulien added this to the 7.0 milestone Jun 21, 2026
@victorjulien
victorjulien merged commit 6a23995 into OISF:main-7.0.x Jun 22, 2026
89 of 92 checks passed
@victorjulien

Copy link
Copy Markdown
Member

Merged in #15694, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants