There is a lot of new research showing that there are concerns such as bone loss and low magnesium levels when PPIs are taken for long periods (e.g. longer than 5 years). The problem is that at the same time esophageal cancer is on the rise. There has to be a balance found between your risk of ulceration/esophageal cancer vs. the risk of bone loss. For my Mom that means taking the PPIs for at least 15 years now but having regular bone scans. For my daughter and I it meant switching to Pepcid (H2 blocker) and being "okay" GI wise vs. great on PPIs so as to try and limit our bone loss issues.
It would be a good time to discuss all of the reseach with your doctor and what is the best course of action for you.