Pacnew and Pacsave files

Hi there,
I’m relatively new to the world of Arch. How do we deal with the pacnew and pacsave files? Last time i tried i borked my installation.

Is there any third party utlity which could do the job? Thanks.

compare the config files with pacdiff

I like to open both files and do a quick review to figure out the changes and apply them manually if I see something worthy.

Thanks for the answers. I also found the utility topgrade which compares the two files.

[GitHub - topgrade-rs/topgrade: Upgrade all the things]