Repository navigation
0.2.0
Important
This release bundles Lore 0.12.0, which fixes a deadlock between processes that use the same repository or shared store. The fix works only when every process that uses the store runs Lore 0.12.0, so update the lore command-line tool and any other app that opens these repositories or repositories that share their store.
FileStatus.isConflicted is now true only for a conflict that isn't resolved. In 0.1.0, it stayed true after a conflict was resolved and for files that a merge combined automatically. For the 0.1.0 meaning, check isConflicted || conflictResolution != nil. To find every change from the merge in progress, check isMerged.
A relative Repository.path now resolves against the current directory, and a path that starts with ~/ resolves against the home directory. In 0.1.0, the library resolved a relative path twice, so operations on an existing repository failed with repositoryNotFound, and Repository.create(at:) and clone(from:to:) made the repository at <path>/<path>. Move a repository that 0.1.0 made this way up one level, or open it with the nested path.
MetadataValue.address now holds a ContentAddress (#14). To make a value, pass ContentAddress(hash:context:), which returns nil for a hash that isn't 32 bytes or a context that isn't 16 bytes. To read one, match case .address(let address) and use address.hash and address.context.
Fixes
- Replacing or clearing the log handler no longer crashes the process after many log events (#9)
- Staging several paths under a deleted directory stages only those paths, so the next commit no longer deletes the directory's other files (Lore 0.12.0, #13)
switchBranch(to:revision:)with a revision that names no branch finds the revision on the target branch, not the current branch (Lore 0.12.0, #13)
What's Changed
- Add history, diff, info, and metadata for revisions, files, branches, and repositories by @mattt in #3
- Add merges, reverts, cherry-picks, and amends by @mattt in #4
- Add authentication by @mattt in #5
- Add links and layers by @mattt in #6
- Wait for the identity provider reliably in the integration tests by @mattt in #7
- Add file tools, revision search and bisect, and notifications by @mattt in #8
- Add repository maintenance, the background service, shared stores, and process settings by @mattt in #9
- Add revision trees by @mattt in #10
- Add the storage API by @mattt in #11
- Sync new Lore releases automatically by @mattt in #12
- Update Lore to 0.12.0 by @github-actions[bot] in #13
- Settle API names before 0.2.0 by @mattt in #14
Full Changelog: 0.1.0...0.2.0