isomorphic-git v1.0.0-beta.31 Release Notes
Release Date: 2020-02-19 // about 4 years ago-
1.0.0-beta.31 (2020-02-19)
🔋 Features
💥 BREAKING CHANGES
- onAuth: The
token
andoauth2format
properties have been removed from the GitAuth interface, which makes it much simpler and and eliminates a dozen GitErrors handling specific edge cases.
A
headers
property has been added to the GitAuth interface. This makesonAuth
much more powerful because you can inject whatever HTTP headers you want.The
onAuthFailed
callback now lets you return a GitAuth object. This means you can keep retrying to authenticate as many times as you like.A
cancel
property has been added to the GitAuth interface. This means you gracefully give up authenticating and the function will throw an E.UserCancelledError instead of an E.HTTPError. - onAuth: The