Apple has released iTunes 10.5 via software update, the first release in a series leading up to the public release of iOS 5 on Wednesday.
iTunes 10.5 introduces iCloud to the software along with automatic downloads. You can also download previous music, TV, app and book purchases again at no additional cost. Some previous purchases might not be available because they are no longer available through iTunes.
It also adds Wi-Fi syncing, which automatically syncs an iPhone, iPad or iPod touch with iTunes any time they're both on the same Wi-Fi network, one of the key features of iOS 5.