I have a 3 month old baby and didn't plan on applying for new jobs until she is a bit older. However, I found a job in my field that would be perfect for me. The issue is that I now have a gap in my CV from when my contract wasn't renewed whilst I was heavily pregnant. Prior to me disclosing my pregnancy to my former employer, there were many talks of long term goals and new projects were allocated to me. I received lots of praise from my manager and very senior members of staff (back when I wasn't pregnant or hadn't disclosed my pregnancy yet). Manager waited until I was nearly 8 months pregnant to tell me that I would not be staying on despite knowing I was pregnant for a few months by this point. They hired another woman to take my job. They claimed it was just a temp contract and that's why they didn't renew it, but why hire someone so soon and ask me to handover my projects to her?
If I am invited for job interviews, do I have to tell them why my contract wasn't renewed? Or could I just say my contract came to an end? Thank you.