Anyone develop food sensitivitys postpartum?

Ever since I had my son, I can no longer tolerate gluten or dairy products. I get extremely bloated and have constipation or diarrhea. My doctor said it is not uncommon to develop food allergies postpartum. Just wondering if anyone else experienced this? Was it permanent?