1.Per my test, if you grant users with a custom permission level (can edit file but cannot see versions) to a file, then share this file with users through a specific link with edit permission. Then users will have edit permission for this file.
2.In my opinion, I suggest you grant users with a custom permission level (can edit file but cannot see versions) to a file, do not share the file through specific link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.