Water stable oxalate-based coordination polymers with in situ generated cyclic dipeptides showing high proton conductivity.