It is unfortunate Myanmar suffered from prolonged internal conflicts, and politically motivated violence did occur but now, Myanmar is absolutely safe to travel and it is recommended that you visit this beautiful country to see what it has to offer.
Few extra cautions should be taken like avoiding politics, religions and other sensitive topics, respect the local way of life and respect any social and cultural traditions in Myanmar to avoid offending local sensitivities and potentially breaking the law. Myanmar has strict penalties it imposes on criminals, therefore, the cases of petty crime like pick pocketing and purse snatching is very rare. You just need to be little informative before visiting and plan your trip well to avoid any unfortunate incidents.
As mentioned, travel to Myanmar is safe and with a truly exotic adventure, you are encouraged to indulge in as Myanmar has plenty waiting to be discovered.