You can actually bring an empty water bottle through security, and then fill it up at a water fountain once you're past the checkpoint. It's like getting a free pass to bring your own drink on the plane, and it's also better for the environment. Just make sure your water bottle is completely empty before you go through security, or it might get taken away.
Some liquids and gels are exempt from the 3-1-1 rule, like medications, baby formula, and breast milk. You can bring these items in reasonable quantities, but you'll need to declare them at security and be prepared to have them screened. It's like declaring a special item at customs, but instead of paying a fee, you just need to be patient and let the security team do their thing.