Jordi Alba has signed a new five-year contract with FC Barcelona, keeping him at the club until 2024.