PostGIS Patch Releases
The PostGIS development team is pleased to provide bug fix releases for 3.5.1, 3.4.4, 3.3.8, 3.2.8, 3.1.12
Please refer to the links above for more information about the issues resolved by these releases.
After installing the binaries or after running pg_upgrade:
Do below which will upgrade all your postgis extensions.
SELECT postgis_extensions_upgrade();
-- to confirm all is good
SELECT postgis_full_version();