A zirconium squarate metal-organic framework with modulator-dependent molecular sieving properties.