Barnsley have released a number of players including Wayne Rooney's brother John, the club has confirmed.