The two editions are to be published by Bloomsbury (the British publisher of the “Harry Potter” books) and are being released as part of an exhibition at the British Library, which also opens on Oct. 20. That exhibition will celebrate the 20th anniversary of the first book in the “Harry Potter” series, “Harry Potter and the Philosopher’s Stone” (published as “Harry Potter and the Sorcerer’s Stone” in the United States).

Reuters reported that Bloomsbury made an announcement about the library exhibition and the two books on Tuesday. An official at Scholastic, which publishes “Harry Potter” books in the United States, did not immediately reply to an email seeking additional comment about the latest texts.

According to the British Library’s website, “Harry Potter — A History of Magic” is the “official book” of the library’s exhibition, and what officials called a “collaboration between Bloomsbury, J.K. Rowling and the brilliant curators of the British Library.” It pledges to mix the muggle world and the wizarding world amid 256 pages that will place “J.K. Rowling’s magical inventions alongside their cultural and historical forebears.” Potter nerds will be delighted to also find “exclusive manuscripts, sketches and illustrations from the Harry Potter archive,” the library said.

The similarly named “Harry Potter — A Journey Through the History of Magic” also promises to be “packed with unseen sketches and manuscript pages from J.K. Rowling.” The description provided by the library says the book will take “readers on a journey through the Hogwarts curriculum, including Herbology, Defence Against the Dark Arts, Astronomy, Divination and more” and allow them to “discover the truth behind making the Philosopher’s Stone, create your very own potion and uncover the secret of invisible ink.”

A statement on Ms. Rowling’s website, “Pottermore,” called “A History of Magic” an “adult edition” and its companion book, “a family edition for younger readers.”