Yes. There is no need to get an upgrade because librarian villagers at all levels can offer the Mending enchantment book.