With the release of Ubuntu 18.04 (and 17.04) the swap partition will be replaced with a swap file. Has this been the case with previous Ubuntu releases?
I ask this because I've found several mentions of this term, "swap file" dated from 2011-2015 here on askubuntu, notably this post How do I configure swappiness?, but it's not clear if they are just using loose terminology referring to the swap partition (calling it a file), or if they mean an actual swap file.
man swapon
swapon, swapoff - enable/disable devices and files for paging and swapping
– waltinator Jun 20 '18 at 13:07