The Sefer haYashar (first edition 1552) is a Hebrew midrash also known as the Toledot Adam and Dibre ha-Yamim be-'Aruk. The Hebrew title may be translated Sefer haYashar - "Book of the Correct Record" - but it is known in English translation mostly as The Book of Jasher following English tradition. The book is named after the Book of Jasher mentioned in Joshua and 2 Samuel.
Although it is presented as the original "Book of Jasher" in the translations such as that of Moses Samuel (1840), it is not accepted as such in rabbinical Judaism, nor does the original Hebrew text make such a claim. It should not be confused with the very different Book of Jasher (Pseudo-Jasher) printed by Jacob Ilive in 1751, which claimed to have been translated by the English monk Alcuin.
The earliest extant version of this Hebrew midrash was printed in Venice in 1625, and the introduction refers to an earlier 1552 "edition" in Naples, of which neither trace nor other mention has been found. The printer Yosèf ben Samuel claimed the work was copied by a scribe named Jacob the son of Atyah, from an ancient manuscript whose letters could hardly be made out.
This work is also not to be confused with an ethical text by the same name, which, according to the Encyclopaedia Judaica, Volume 14, p. 1099, was "probably written in the 13th century." Scholars have proposed various dates between the 9th century and 16th century.
The Venice 1625 text was heavily criticised as a forgery by Leon Modena, as part of his criticisms of the Zohar as a forgery, and of Kabbalah in general. Modena was a member of the Venetian rabbinate that supervised the Hebrew press in Venice, and Modena prevented the printers from identifying Sefer ha-Yashar with the Biblical lost book.
Behold, it [the Zohar] is like Sefer ha-Yashar, which they printed (without my knowledge and without the knowledge of the sages here in Venice, about twenty years ago). Although I removed the fantasies and falsehoods from it, [eg,] that it is the Sefer ha-Yashar mentioned in Scripture, there are still those who claim that it was discovered during the time of the destruction [of the temple]. But who can stop those who imagine in their minds whatever they wish.