Question: what to say to someone leaving?
Answer: I've learned a lot working with you these past years. ... , I've really enjoyed working with you. ... , Wishing you all the best in the next chapter of your career. ... , Sorry you're leaving. ... , All the best for the future and good luck with your new chapter – keep in touch.