Note about this release: Any drinks with additions will lose all of their addition data when coming from 1.20.4 or below because of Minecraft's introduction of the Item Component system. Specialty Drinks will also lose their data and will become
Uncraftable Drinks
OnDrinkSerializers and SpecialtyDrinkSerializers now use StreamCodecs to serialize packetsPre-2.0.1 (1.20.4 and below), Drink data (Additions, Coffee Type, etc.) was stored in a CompoundTag under the key DrinkData. In here there were elements like Additions, a ListTag containing the IDs of the Additions added, or in Pluto's Coffee there was CoffeeType in brewed coffee which stored the Roast of coffee.
Drink Data has been split into several different components. Drink Additions use the pdapi:additions component, and Coffee Types in Pluto's Coffee use the plutoscoffee:coffee_type component.
Basically, if you wanted to give yourself an item with preset additions, here's the difference between versions
1.20.4 and below
/give @s pdapi:example_drink{DrinkData:{Additions:["pdapi:ice","pdapi:milk","pdapi:sugar"]}}
1.20.5 and above
/give @s pdapi:example_drink["pdapi:additions":["pdapi:ice","pdapi:milk","pdapi:sugar"]]

A small little API Mod for the Pluto's Drinks Series