automerge-repo

0.1.0

Extends the Automerge-swift library, providing support for working with multiple Automerge documents at once, with pluggable network and storage providers.
automerge/automerge-repo-swift

What's New

0.1.0

2024-05-08T19:09:45Z

What's Changed

  • remove final warnings due to TaskGroup inferred isolation by @heckj in #59
  • docs work by @heckj in #60
  • re-exposes CBORCoder and associated documentation by @heckj in #63
  • run through and make the log output more consistent for each component by @heckj in #67
  • weak self dance to avoid retain loop by @heckj in #68
  • slim out the dependencies - removing DistributedTracer and deps by @heckj in #69
  • updating to 0.5.13 release of automerge-swift by @heckj in #70
  • separates out persistent save trigger from sync trigger on doc updates by @heckj in #71
  • Establishing a filtering mechanism to optionally vend loggers by @heckj in #72
  • More tracing by @heckj in #74
  • adding more tracing detail on failure condition by @heckj in #75
  • fix observer to only attempt to save once on a document change notifiā€¦ by @heckj in #76
  • adding logging messages on throwing of errors by @heckj in #77
  • API and doc cleanup by @heckj in #78

Full Changelog: 0.1.0-alpha...0.1.0

AutomergeRepo, swift edition

Extends the Automerge-swift library, providing support for working with multiple Automerge documents at once, with pluggable network and storage providers.

The library is a functional port/replica of the automerge-repo javascript library. The goal of this project is to provide convenient storage and network synchronization for one or more Automerge documents, concurrently with multiple network peers.

This library is being extracted from the Automerge-swift demo application MeetingNotes. As such, the API is far from stable, and some not-swift6-compatible classes remain while we continue to evolve this library.

Quickstart

WARNING: This package does NOT yet have a release tagged. Once the legacy elements from the MeetingNotes app are fully ported into Repo, we will cut an initial release for this package. In the meantime, if you want to explore or use this package, please do so as a local Package depdendency.

PENDING A RELEASE, add a dependency in Package.swift, as the following example shows:

let package = Package(
    ...
    dependencies: [
        ...
        .package(url: "https://github.com/automerge/automerge-repo-swift.git", from: "0.1.0")
    ],
    targets: [
        .executableTarget(
            ...
            dependencies: [.product(name: "AutomergeRepo", package: "automerge-repo-swift")],
            ...
        )
    ]
)

For more details on using Automerge Documents, see the Automerge-swift API documentation and the articles within.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Thu May 16 2024 21:59:20 GMT-0900 (Hawaii-Aleutian Daylight Time)