Shay Mitchell suffered a miscarriage in 2018.

The actress made the shocking reveal on her Instagram Story while reflecting ahead of New Year's Eve. Mitchell, 31, posted a sonogram photo with a broken heart emoji, along with a message about her "hardships."

"Although it was an amazing year it didn't come without hardships," Mitchell said. "We all have to deal with various struggles and challenges in life. And sometimes it's easier to only showcase the good times on social media, which is what leads many people to criticize it for lack of authenticity."

She continued, "Having so many people follow me on Instagram and read my posts is both incredibly humbling and hugely uplifting. The support and affection that so many of you show me lifts me up during even my darkest days, one of which happened last year after I miscarried and lost the child of my hopes and dreams."

Mitchell urged fans to remember that life is a "journey" we're all on together. She asked that everyone "remind ourselves that we seldom really know or understand the struggles and hardships that other people are going through."

"So, for 2019, let's all try to be a little more compassionate, empathetic, patient and thoughtful with each other," she finished. "This sounds like a great resolution to me. I hope that you agree. Happy New Year everyone!"

Mitchell was rumored to be in a relationship with NBA star Blake Griffin in May. She shut down those reports, however, and is thought to be dating Matte Babel. Her beau is a Canadian TV host.