Breaking change - pass options ot publish().