这是indexloc提供的服务,不要输入任何密码
Skip to content

[v0.3.4] Automated combining of inconsistent repositories

Choose a tag to compare

@sosuisen sosuisen released this 06 Jun 14:23
· 542 commits to main since this release

Features

  • Implemented 'combine-head-with-ours' strategy in combining inconsistent repositories.
  • Fixed memory leak caused by NodeGit.
  • Added SyncResultCombineDatabase type. trySync() will return it when combining inconsistent repositories.
  • Added get_sync_result option to GitDocumentDB#sync() to get the first SyncResult from Sync#init().
  • Added database ID and GitDocumentDB#dbId() method.
  • Added GitDocumentDB#setRepository() method.
  • Changed scope of Sync#remoteRepository from private to public.

Breaking changes

  • Removed remoteURL argument from GitDocumentDB#sync()
  • Changed return value of GitDocumentDB#open(), createDB() from DatabaseInfo type to DatabaseOpenResult type.
  • Changed default value of AllDocsOptions.include_docs from false to true.
  • Added .gitddb/info.json instead of .gitddb/lib_version.
  • Changed CommitInfo type to NormalizedCommit type.
  • Removed GitDocumentDB#fileExt(). Added JSON_EXT instead.