I installed the new one, configured it the way I liked it and all works as expected (like with the old one), however there's some discrepancy I just found. So, I have allowed the following domain:
->allowLinksFromDomain('pianoclack.s3.us-east-1.amazonaws.com')
Now, I have a user that matches the criteria for filtering and I posted two images from the above server:
https://pianoclack.s3.us-east-1.amazonaws.com/2022-05-16/1652706371-369258-6931c6ee-525b-4025-b1c1-db1fb2d0d7b6.jpg
https://pianoclack.s3.us-east-1.amazonaws.com/2022-09-01/1662053787-63955-how-effective-are-mask.jpg
The first one is not allowed (but it's from an allowed domain), while the second one is allowed. And they are both from the same allowed domain. So, maybe the URL matching regexp has some issues?