Changelog History
Page 4
-
v1.0.0-beta.36 Changes
February 25, 2020 -
v1.0.0-beta.35 Changes
February 24, 2020 -
v1.0.0-beta.34 Changes
February 24, 20201.0.0-beta.34 (2020-02-24)
chore
๐ฅ BREAKING CHANGES
- ๐
E
has been removed and replaced byErrors
. The errors are typed so if you use aninstanceof
comparison in thecatch
statement, auto-completion on their.data
property works. There are fewer errors total, they have shorter names, and thus the resulting gzip bundle is smaller despite the addition of 28 new classes. Lastly, the distinction betweenFail
andError
has been removed since it was subjective.
Here's the complete breakdown of which
Errors
classes replaced whichE
codes:AlreadyExistsError
replacesAddingRemoteWouldOverwrite
,NoteAlreadyExistsError
,RefExistsError
AmbiguousError
replacesAmbiguousShortOid
CheckoutConflictError
replacesCheckoutConflictError
CommitNotFetchedError
replacesCommitNotFetchedError
- ๐
EmptyServerResponseError
replacesEmptyServerResponseFail
FastForwardError
replacesFastForwardFail
GitPushError
replacesGitPushError
HttpError
replacesHTTPError
InternalError
replacesInternalFail
InvalidFilepathError
replacesDirectorySeparatorsError
InvalidOidError
replacesCorruptShallowOidFail
,NotAnOidFail
InvalidRefNameError
replacesInvalidRefNameError
MaxDepthError
replacesMaxSearchDepthExceeded
- ๐
MergeNotSupportedError
replacesMergeNotSupportedFail
MissingNameError
replacesMissingAuthorError
,MissingCommitterError
,MissingTaggerError
MissingParameterError
replacesMissingRequiredParameterError
NoRefspecError
replacesNoRefspecConfiguredError
NotFoundError
replacesExpandRefError
,FileReadError
,GitRootNotFoundError
,ReadObjectFail
,RefNotExistsError
,ResolveRefError
,ShortOidNotFound
,TreeOrBlobNotFoundError
ObjectTypeError
replacesDirectoryIsAFileError
,ObjectTypeAssertionFail
,ObjectTypeAssertionInPathFail
,ObjectTypeAssertionInTreeFail
,ObjectTypeUnknownFail
,ResolveCommitError
,ResolveTreeError
- ๐
ParseError
replacesAssertServerResponseFail
,UnparseableServerResponseFail
PushRejectedError
replacesPushRejectedNonFastForward
,PushRejectedTagExists
- ๐
RemoteCapabilityError
replacesRemoteDoesNotSupportDeepenNotFail
,RemoteDoesNotSupportDeepenRelativeFail
,RemoteDoesNotSupportDeepenSinceFail
,RemoteDoesNotSupportShallowFail
- ๐
SmartHttpError
replacesRemoteDoesNotSupportSmartHTTP
UnknownTransportError
replacesUnknownTransportError
- ๐
UrlParseError
replacesRemoteUrlParseError
UserCanceledError
replacesUserCancelledError
๐ The following error codes are no longer used / have no equivalent:
AcquireLockFileFail
,BranchDeleteError
,CoreNotFound
,DoubleReleaseLockFileFail
,InvalidDepthParameterError
,InvalidParameterCombinationError
,MismatchRefValueError
,NoHeadCommitError
,NotImplementedFail
,ObjectTypeAssertionInRefFail
,PluginSchemaViolation
,PluginUndefined
,PluginUnrecognized
- ๐
-
v1.0.0-beta.33 Changes
February 21, 2020 -
v1.0.0-beta.32 Changes
February 21, 20201.0.0-beta.32 (2020-02-21)
๐ Bug Fixes
-
v1.0.0-beta.31 Changes
February 19, 20201.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
-
v1.0.0-beta.30 Changes
February 19, 20201.0.0-beta.30 (2020-02-19)
๐ Bug Fixes
-
v1.0.0-beta.3 Changes
January 24, 20201.0.0-beta.3 (2020-01-24)
๐ Bug Fixes
- checkout: files that don't match filepaths/pattern should be untouched (#977) (6e19496)
- fastCheckout: bug in
noUpdateHead
logic and add missing TS types (#910) (e30bbed) - fetch: handle HTML server response better (#928) (5a07d2c)
- fetch: handle unexpected server response better (#922) (67bad02)
- fetch: remove 'thin-pack' from advertised capabilities (#893) (8f2251e)
- ๐ฏ fetch, clone, push, pull: include 'suggestion' in UnknownTransportError for SSH urls (#955) (ba6e444)
- ๐ merge: fix 'Failed to read git object' errors caused by shallow repos (#859) (8793a2a)
- push: update local copy of remote refs (#984) (03e4c9f)
- statusMatrix: fix a bug in walkBeta2 that resulted in doubled entries (#923) (1aca370)
- config section and variable names are allowed to have - not _ (#945) (495f294)
- if 'oauth2format' is set, silently strip credentials from URLs rather than error (#920) (d9aa842)
- ๐ improve typings (#968) (5254d45)
- โ remove stray console.logs (#860) (0a8b78b)
- resolve "treeNotSorted: not properly sorted" git fsck error (#937) (74a6905)
- truncate commit message to fit in tweet (#967) (eebb115)
- types: type of isDescendent depth argument should be number, not string (#914) (3f84b78)
- walkBeta1: fix error if
.populateHash
is called without calling.populateStat
first (#895) (6d3238a)
๐ Features
- ๐ฏ checkout, clone: add noSubmodule parameter to hide warning (adaeb28)
- ๐ฏ clone, checkout, fastCheckout, pull: Added 'newSubmoduleBehavior' param (#988) (2c980e0)
- fetch: Added 'pruneTags' parameter (#840) (32ffcbb)
- ๐ฏ fetch, push, clone, pull: add autoTranslateSSH param (#946) (661f74e)
- init: Added 'noOverwrite' param (#900) (8d8c3e6)
- pull: add 'noSubmodules' param (#962) (9a3abae)
- push: Added 'delete' param (#983) (c4d0bfe)
- statusMatrix: Added 'noSubmodules' param (#981) (be810f4)
- โ add typed alternatives to readObject/writeObject (#970) (5010dac)
- โ Added 'addNote', 'listNotes', 'removeNote', and 'readNote' commands (#959) (92a7e83)
- โ Added 'fastCheckout' command (#902) (9de5615)
- โ Added 'walkBeta2' command (#897) (bb40f05)
- ๐ publish beta release (#848) (71413c7)
๐ Performance Improvements
- shasum: use SubtleCrypto.digest if available (#913) (30fddf7)
- walker: speed up walking git repos (#892) (b346682)
- ๐ป use native browser 'deflate' if available (#966) (3960eeb)
๐ฅ BREAKING CHANGES
- โฌ๏ธ Drop official support for Safari 11
-
v1.0.0-beta.29 Changes
February 18, 20201.0.0-beta.29 (2020-02-18)
๐ Bug Fixes
-
v1.0.0-beta.28 Changes
February 17, 20201.0.0-beta.28 (2020-02-17)
chore
๐ฅ BREAKING CHANGES
- ๐ The
author.date
,committer.date
,tagger.date
parameters were removed in favor ofauthor.timestamp
,comitter.timestamp
,tagger.timestamp
in order to be clear about what is actually written and better reflect the return types inreadCommit
,log
, andreadTag
.
- ๐ The