Upgrading a SQL Replication Topology

Jonathan Allen wrote to me asking what order one should upgrade servers in a replication topology - pointing out that this doesn't seem obviouis from Books On Line, which I agree.

The answer is essentially the same as for any previous upgrade:  Distributor first (as it has to handle new and old log record formats), then the Publisher and finally the Subscribers.