The 2019 "On Protecting the functioning of the Ukrainian language as the State language" law forbid the publishing of print media in Russian unless the same publication was available in Ukrainian, it forbid requiring Russian language ability for any job, it forbid Russian instruction in schools after elementary school, and it limited the amount of Russian content allowed in broadcasting.
That does not seem to me to be more friendly than the way Mexicans are treated in the US. It seems like a law that was designed to cause conflict. If Canada passed a law that treated French speakers like that, I would expect violence and I would assume that the legislators who passed the law were trying to provoke violence.