How to setup an ssh connection to a postgres 12 db using dbeaver
The default name is pg_hba.conf, not .pg_hba.  The file still exists in v12.

It is possible to pick any name you want for this file by changing the setting hba_file in postgresql.conf or from the start-up command line.  But if someone has done that, it is a difference in how your server was configured, not a inherent difference between versions of PostgreSQL.