libwebkit2gtk-4.0 and libwebkit2gtk-4.1 are identical except for the fact that 4.1 uses libsoup3 instead of libsoup2. (the version change is needed since libsoup2 and libsoup3 cannot be loaded in to the same process at the same time)
Many distros including Debian and Fedora are dropping libwebkit2gtk-4.0, since it needs to be compiled separately (and takes a long time to compile) so this allows building with libwebkit2gtk-4.1.
libwebkit2gtk-4.0 and libwebkit2gtk-4.1 are identical except for the fact that 4.1 uses libsoup3 instead of libsoup2. (the version change is needed since libsoup2 and libsoup3 cannot be loaded in to the same process at the same time)
Many distros including Debian and Fedora are dropping libwebkit2gtk-4.0, since it needs to be compiled separately (and takes a long time to compile) so this allows building with libwebkit2gtk-4.1.