isomorphic-git v1.0.0-beta.17 Release Notes

Release Date: 2020-02-02 // about 4 years ago
  • 1.0.0-beta.17 (2020-02-02)

    chore

    • 👌 improve readObject and writeObject typings (#1023) (9f905d9)

    💥 BREAKING CHANGES

    • ⚡️ readObject and writeObject have been updated to use the same object schemas used in readCommit, readTree, and readTag. And they are actually documented now in the docs. (The main change is trees are simply arrays now, rather than objects with a .entries property.) The types returned by readObject also form a proper discriminated union so TypeScript will infer the type of .object given .format and .type.