Terraform-provider-aws version 3.x shows "filter" is deprecated

On 5.0.0 (May 25, 2023) - data-source/aws_identitystore_group: The filter argument has been removed (#31312)

On 5.16.0 (September 8, 2023) - data-source/aws_identitystore_group: Restore filter argument to prevent UnknownOperationException errors in certain Regions (#33311)

Why do I see in the last 3 months “filter deprecated” warnings in my visual code if I’m using lower version?
My Terraform is working fine. but every .tf file with “filter”
argument is yellowed
How can I make it disappear?
Thanks