## Problem 1. `NewAPIRecorder` accepts `record.EventRecorder` which is deprecated in favor of `events.EventRecorder` (`events.k8s.io/v1` API) 2. `WithAnnotations` silently drops `filterFns` on every call due to not forwarding them to `NewAPIRecorder` 3. `FilterFn` godoc incorrectly states return false prevents recording (should be return true) 4. `Eventf` call passes empty action string, which can cause `events.k8s.io/v1` rejection ## Related PR #1052
Problem
NewAPIRecorderacceptsrecord.EventRecorderwhich is deprecated in favor ofevents.EventRecorder(events.k8s.io/v1API)WithAnnotationssilently dropsfilterFnson every call due to not forwarding them toNewAPIRecorderFilterFngodoc incorrectly states return false prevents recording (should be return true)Eventfcall passes empty action string, which can causeevents.k8s.io/v1rejectionRelated PR
#1052