Neymar has signed a new five-year contract with Barcelona.