Author JK Rowling announces her latest book which follows a new generation of Hogwarts pupils will be available on July 31.