No, you are not required to invite your ex to your wedding, however, you may do so if you have a good connection with him or her. In such a scenario, you should ask your fiancée whether it's good if you invite your ex.