The CheckUserInsertForRecentChange hook was soft deprecated in 1.40 as part of T324907: Create separate tables for log events in CheckUser. The hook now needs to be hard deprecated to comply with the Deprecation process and allow it's removal in the next release.
One remaining usages exists in the StructuredDiscussions extension which will need to be replaced before the hook is hard deprecated.