Sri Lanka's all-rounder Wanidu Hasaranga de Silva rewrote record books by becoming the first Sri Lankan to take a hat-trick on debut during the second ODI against Zimbabwe in Galle on Sunday.