Hydrazone-linked 2D porphyrinic covalent organic framework photocatalysis for visible light-driven aerobic oxidation of amines to imines.