Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade process for fontawesome from 4 to 5

We contributed to font-awesome 5 (yea), and we are looking from moving from our existing icons (Symbol set) to font-awesome. Will the naming of icons and usage of font-awesome 5 be backwards compatible with font-awesome 4.7?

IE: Should we go to 4.7 now, and have very easy upgrade to 5.0? OR should we hold off until font-awesome 5 comes out?

like image 564
Daniel Avatar asked Sep 09 '25 19:09

Daniel


2 Answers

It's not backwards compatible.

I just publish a script to do the migration from 4 to 5 in:

https://github.com/estebandelaf/scripts/blob/master/fontawesome4to5.sh

PS: I know the post is from a year ago, but is the second result in google for "fontawesome migration script 4 to 5".

like image 130
delaf Avatar answered Sep 13 '25 06:09

delaf


Since above mentioned scripts doesn't work for icons like thermometer,battery etc. Created a python script that works for all icons. Below is the link.

https://github.com/abkcode/fontawesome4to5

For details about the upgrade changes visit.

https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4

like image 34
Abhijeet Kambli Avatar answered Sep 13 '25 06:09

Abhijeet Kambli