Swiftpack.co - Swift Packages by automerge

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by automerge

automerge/automerge-swift 0.5.11
Swift language bindings presenting Automerge
โญ๏ธ 188
๐Ÿ•“ 5 days ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.5.11
5 days ago
# Updates Automerge-core to 0.5.9, which resolves a document corruption but found in the 0.5.8 core automerge library release **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.10...0.5.11
0.5.10
1 week ago
# DO NOT USE - CORRUPTION BUG, please update to 0.5.11 ## What's Changed * Added public initializer to ActorId and tests to validate setting `actor` property by @bgomberg in https://github.com/automerge/automerge-swift/pull/132 * Actor id docs by @heckj in https://github.com/automerge/automerge-swift/pull/133 * Update to use Automerge core 0.5.8 by @heckj in https://github.com/automerge/automerge-swift/pull/134 Automerge core library 0.5.8 includes: * Fix a bug where the logic to rollback a transaction on error could panic * Fix a bug where marks were calculated incorrectly when viewing a document at a particular set of heads (i.e. not the "current" heads) * Update the `LoadOptions::migrate_strings` logic to no-op if there are no strings to convert **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.9...0.5.10
0.5.9
1 week ago
## What's Changed * adding tests that verify some invariants by @heckj in https://github.com/automerge/automerge-swift/pull/128 * Layered api doc update by @heckj in https://github.com/automerge/automerge-swift/pull/127 * Added commitWith() method to specify message/timestamp and exposing changes via changeByHash() by @bgomberg in https://github.com/automerge/automerge-swift/pull/129 * Change docupdates by @heckj in https://github.com/automerge/automerge-swift/pull/130 * Cleanup by @heckj in https://github.com/automerge/automerge-swift/pull/131 ## New Contributors * @bgomberg made their first contribution in https://github.com/automerge/automerge-swift/pull/129 **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.8...0.5.9
0.5.8
3 weeks ago
In addition to the fixes and tweaks outlined below, this is the first Automerge release with a signed XCFramework and a privacy manifest included. Apologies for the 0.5.7+3 release - it broke a number of systems, so we likely won't be doing SemVer 2.0 patch branches any longer. An experiment that started out OK, but ultimately failed. I was trying to keep the version number of this package aligned with the upstream core library, but with development and updates happening at different rates, that was becoming extremely unwieldy. This package will continue to strive to maintain SemVer `major` and `minor` equivalences with the Automerge-core rust library, but freely increment the patch version. The package has also been updated to present an additional package: `AutomergeUtilities` (in addition to `Automerge`), primarily with extensions that make some debugging or schema introspection tasks a bit easier. ## What's Changed * extending the documentation for heads() based on a slack conversation by @heckj in https://github.com/automerge/automerge-swift/pull/101 * adding discord link instead of slack by @heckj in https://github.com/automerge/automerge-swift/pull/105 * updated discord community link to one that doesn't expire by @heckj in https://github.com/automerge/automerge-swift/pull/108 * makes Document conform to ObservableObject by @heckj in https://github.com/automerge/automerge-swift/pull/109 * adding an AutomergeUtilities package by @heckj in https://github.com/automerge/automerge-swift/pull/110 * expanding errors to support localized error messages by @heckj in https://github.com/automerge/automerge-swift/pull/111 * added discord notes from Alex on how we might be able to leverage CloudKit by @heckj in https://github.com/automerge/automerge-swift/pull/112 * exposing AutomergeUtilities product, and including documentation by @heckj in https://github.com/automerge/automerge-swift/pull/113 * Adding automerge utility documentation organization by @heckj in https://github.com/automerge/automerge-swift/pull/114 * Support SwiftUI previews by @miguelangel-dev in https://github.com/automerge/automerge-swift/pull/117 * updates UniFFI from 0.24.1 to 0.26.1 by @heckj in https://github.com/automerge/automerge-swift/pull/118 * adding in privacy manifest for XCFramework by @heckj in https://github.com/automerge/automerge-swift/pull/106 * adding dictionary tests to illustrate encoding/decoding Dictionaries by @heckj in https://github.com/automerge/automerge-swift/pull/121 * Update README.md by @cciollaro in https://github.com/automerge/automerge-swift/pull/122 * Coding dictionaries by @heckj in https://github.com/automerge/automerge-swift/pull/125 ## New Contributors * @miguelangel-dev made their first contribution in https://github.com/automerge/automerge-swift/pull/117 * @cciollaro made their first contribution in https://github.com/automerge/automerge-swift/pull/122 **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.7...0.5.8
0.5.7+1
6 weeks ago
## What's Changed * extending the documentation for heads() based on a slack conversation by @heckj in https://github.com/automerge/automerge-swift/pull/101 * adding discord link instead of slack by @heckj in https://github.com/automerge/automerge-swift/pull/105 * updated discord community link to one that doesn't expire by @heckj in https://github.com/automerge/automerge-swift/pull/108 * makes Document conform to ObservableObject by @heckj in https://github.com/automerge/automerge-swift/pull/109 * adding an AutomergeUtilities package by @heckj in https://github.com/automerge/automerge-swift/pull/110 * expanding errors to support localized error messages by @heckj in https://github.com/automerge/automerge-swift/pull/111 * adding discord notes from Alex on how we might be able to leverage CloudKit by @heckj in https://github.com/automerge/automerge-swift/pull/112 **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.7...0.5.7+1 > NOTE: This was an attempt to use SemVer 2.0 to release an incremental build that didn't update the Automerge core library, but added some additional functionality (specifically ObservableObject conformance, and exposing deeper layers of Automerge errors for debugging). However, Xcode and SwiftPM don't support SemVer 2.0 parsing, so the `+1` extension isn't treated as a newer version automatically. To use this version, specify the branch for this repo: `0.5.7+1`.
0.5.7
10 weeks ago
## What's Changed * Support WebAssembly by @kateinoigakukun in https://github.com/automerge/automerge-swift/pull/92 * Bumping automerge-swift to layer over rust core library version 0.5.7 by @heckj in https://github.com/automerge/automerge-swift/pull/93 * Core Library updates: 0.5.7 - Update itertools dependency to 0.12.0 - Fix a bug in Read::get_marks which caused it to ignore any heads passed to it and always return the latest marks (only relevant if you ever passed Some(_) as the heads argument of Read::get_marks(objid, index, heads)) * Core Library updates: 0.5.6 - Add Transactable::update_text, which calculates a diff between the current value of a text field and a new value and converts that diff into a set of splice operations * Web assembly notes and updates for releasing libuniffi_automerge.a (WebAssembly) by @heckj in https://github.com/automerge/automerge-swift/pull/96 * the releases now include an archive of `libuniffi_automerge.a`, which is a WebAssembly compiled library from this package, equivalent to AutomergeUniffi, to allow someone to fully compile and use this library in WebAssembly. * adding update_text bindings through to core library by @heckj in https://github.com/automerge/automerge-swift/pull/97 * resolving opening the package in Xcode to find a duplicate modulemap by @heckj in https://github.com/automerge/automerge-swift/pull/98 * Text indexing - docs update, and fixing AutomergeText updating for multi-byte Characters by @heckj in https://github.com/automerge/automerge-swift/pull/99 * Fixes multiple issues stemming from Automerge using UnicodeScalars and _not_ UTF-8 code points as originally believed. A huge thank you to the development team at GoodNotes for calling this out, and helping pave the way to updates that include fixes not only the documentation, but also the implementations for AutomergeText and serialization that now correct encode, decode, and update more complex text scenarios with the multi-part emoji structures (or other complex unicode characters) ## New Contributors * @kateinoigakukun made their first contribution in https://github.com/automerge/automerge-swift/pull/92 **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.5...0.5.7
0.5.5 release
15 weeks ago
# 0.5.5 A fast follow-on to the 0.5.4 release which resolves a sync backward incompatibility issue found and resolved in the core library. Same faster sync mechanisms, no with backwards compatibility with earlier Automerge sync instances.
# 0.5.4
15 weeks ago
This release primarily updates the core Automerge library used by the swift bindings to the latest version, 0.5.4 The changes for the core library are documented in https://github.com/automerge/automerge/blob/main/rust/CHANGELOG.md, with the summary: - Numerous performance improvements in 0.5.3 and 0.5.4, particularly around syncing automerge documents. - Modification of the sync protocol to send the entire document on an initial sync, which dramatically improves initial sync performance. ## What's Changed * [docs] detail how to add Automerge-swift as a dependency by @heckj in https://github.com/automerge/automerge-swift/pull/81 * [docs] Fix a typo in Automerge.md by @wzso in https://github.com/automerge/automerge-swift/pull/83 * [feat] updates XCFramework to use version 0.5.3 of core Automerge library by @heckj in https://github.com/automerge/automerge-swift/pull/84 * [bug] partial work to consistently reproduce #82 by @heckj in https://github.com/automerge/automerge-swift/pull/85 * [chore] adding privacy label by @heckj in https://github.com/automerge/automerge-swift/pull/87 * [feat] updating core library to version 0.5.4 by @heckj in https://github.com/automerge/automerge-swift/pull/88 ## New Contributors * @wzso made their first contribution in https://github.com/automerge/automerge-swift/pull/83 **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.2...0.5.4
0.5.2
23 weeks ago
# 0.5.2 release Matching the version of [the associated Rust crate](https://crates.io/crates/automerge/0.5.2), both the core library and the Swift language overlay provide notable updates. The Rust library updates include supporting deeper rich-text tracking ([Peritext](https://www.inkandswitch.com/peritext/)) that exposes new types - `Mark` and `Cursor` - that annotate and reference specific locations or ranges within a string in order to represent that string as rich text. The Swift updates exposes the new types (`Mark`, `Cursor`), as well as expanding support for the custom Codable capability to serialize and deserialize from cross-platform Automerge documents. The type `Text` in 0.3.x is renamed to `AutomergeText` for development ergonomics (the raw type name `Text` conflicts with common Swift libraries). `AutomergeText` and `Counter` have been converted to reference types so that updates to them a directly read and written from an Automerge document in memory, drastically increasing performance when updating these values within SwiftUI views. This library is binary-compatible with Automerge 2.1 documents, and can be used for cross-platform interactions. ## What's Changed * Update to [email protected], implement marks by @alexjg in https://github.com/automerge/automerge-swift/pull/39 * Sendable fix by @heckj in https://github.com/automerge/automerge-swift/pull/41 * enables configurable log filtering on Automerge-swift by @heckj in https://github.com/automerge/automerge-swift/pull/47 * adds notes about possible SharePlay integration by @heckj in https://github.com/automerge/automerge-swift/pull/49 * adds implementation notes for the Automerge Encoder and Decoder by @heckj in https://github.com/automerge/automerge-swift/pull/50 * renaming Text to AutomergeText for ergonomics in consumption by @heckj in https://github.com/automerge/automerge-swift/pull/51 * adds a note about how the pre-release branch is structured for anyoneโ€ฆ by @heckj in https://github.com/automerge/automerge-swift/pull/52 * Rich text/Peritext interop validation setup by @heckj in https://github.com/automerge/automerge-swift/pull/48 * test that illustrates failure scenario for issue #54 by @heckj in https://github.com/automerge/automerge-swift/pull/55 * fixing followup issue not resolves with #55 to fully resolve #54 by @heckj in https://github.com/automerge/automerge-swift/pull/56 * limits encode cleanup for encode(.., at: [..]) by @heckj in https://github.com/automerge/automerge-swift/pull/58 * Text as a reference type instead of a value type for performance of updates by @heckj in https://github.com/automerge/automerge-swift/pull/59 * AutomergeText encode/decode issue - lost data fix by @heckj in https://github.com/automerge/automerge-swift/pull/61 * another slight (but significant) error fixed by @heckj in https://github.com/automerge/automerge-swift/pull/62 * Codable Counter fixes by @heckj in https://github.com/automerge/automerge-swift/pull/65 * exploring default encodings of attributed strings in tests by @heckj in https://github.com/automerge/automerge-swift/pull/68 * Cursor main by @heckj in https://github.com/automerge/automerge-swift/pull/70 * Rebuild and re-orgnization of Swift API documentation on Automerge by @heckj in https://github.com/automerge/automerge-swift/pull/53 * adding a memory leak check into a few tests by @heckj in https://github.com/automerge/automerge-swift/pull/73 * transfer representation for an Automerge document by @heckj in https://github.com/automerge/automerge-swift/pull/71 * advance pinned version for nightly version of Rust to keep Catalyst support rolling by @heckj in https://github.com/automerge/automerge-swift/pull/77 * updating to latest released crate of the core Rust library for automerge by @heckj in https://github.com/automerge/automerge-swift/pull/75 * Convert Counter from value type to reference type, directly updating Automerge by @heckj in https://github.com/automerge/automerge-swift/pull/63 * cleaning up documentation by @heckj in https://github.com/automerge/automerge-swift/pull/78 * updating prerelease notes for consistency by @heckj in https://github.com/automerge/automerge-swift/pull/79 **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.3.2...0.5.2
0.5.0-alpha4
32 weeks ago
## Cursor support A pre-release update of the upcoming 0.5.0 release of automerge-swift, that now includes Cursor support for tracking a position within a Automerge list or text object, floating with insertions and updates. **Full Changelog**: https://github.com/automerge/automerge-swift/compare/0.5.0-alpha3...0.5.0-alpha4
iOS macOS linux wasi
automerge/automerge-swift-backend 0.1.10
A XCFramework wrapper for the rs-backend
โญ๏ธ 5
๐Ÿ•“ 2 years ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Bring back catalyst support
2 years ago
This binary was build using automerge-rs at cf2a5125a198653b83490b2c996e4f6982f98e57
Rust Backend Release (cf2a51)
2 years ago
This binary was build using automerge-rs at cf2a5125a198653b83490b2c996e4f6982f98e57
Rust Backend Release (cf2a51)
2 years ago
This binary was build using automerge-rs at cf2a5125a198653b83490b2c996e4f6982f98e57
Rust Backend Release (94769e)
2 years ago
This binary was build using automerge-rs at 94769e2daeeb32a6fccdb0ffd27aaa1d2a488f41
Rust Backend Release (14d92e)
2 years ago
This binary was build using automerge-rs at 14d92e513c1d7f9a66cdce7b6894b5bb17df32d6
Rust Backend Release (0590e8)
2 years ago
This binary was build using automerge-rs at 0590e8157ff19dba8430ca91f68b689c0ff2d852
Test Release (4)
2 years ago
Test Release (4)
2 years ago
Test Release (3)
2 years ago
Test Release (2)
2 years ago
iOS macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics