scuttlebutt-types

generic types for Secure Scuttlebutt

Latest on Hackage:0.4.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by bkil.hu, Peter Ferenc Hajdu, Joey Hess
Maintained by Joey Hess

Secure Scuttlebutt is a database of unforgeable append-only feeds, optimized for efficient replication for peer to peer protocols. https://www.scuttlebutt.nz/

This library contains Haskell data types for common Secure Scuttlebutt messages, including JSON deserialization.

(JSON serialization support is blocked by https://github.com/ssbc/ssb-feed/issues/11)

Git repositories:

Contributions welcome! Please use git-ssb or email for making pull requests and issue tracking. Also you can find fellow haskellers on the #haskell channel on SSB, and discuss this library there.

Other Haskell Scuttlebutt resources:

  • The haskell-scuttlebutt git repository is built on top of scuttlebutt-types, and has dreams of one day growing up to be a real scuttlebutt client. It git-ssb repository is here: ssb://%Nk2lTG8YHweKZEAfDrmzyjrkHPX1C9jHmYqc6csTCdU=.sha256

Changes

scuttlebutt-types (0.4.0) unstable; urgency=medium

* Simplified Post type (API change)
* Support parsing a Post with a root or branch that has a value
that is not a valid link.
* Fix parsing of Post recps.
* Mention renamed to UserLink. (API change)

-- Joey Hess <id@joeyh.name> Mon, 26 Feb 2018 14:32:59 -0400

scuttlebutt-types (0.3.0) unstable; urgency=medium

* Handle about messages whose image field is a string linking to a blob,
rather than an object.
* Removed ToJSON instance for Message, until something can be done about
https://github.com/ssbc/ssb-feed/issues/11
* Added contentType.
* Support parsing a Post with multiple branches.
* Support parsing a Post when its mentions field is an object rather than
an array.
* Changes to Message data type to support above changes. (API change)
* Support parsing a Post that mentions something that is a not a valid
ssb link.
* Added description to About.

-- Joey Hess <id@joeyh.name> Fri, 06 Oct 2017 14:48:37 -0400

scuttlebutt-types (0.2.0) unstable; urgency=medium

* Improved Link types.
* Added Hash type.
* Some API changes.

-- Joey Hess <id@joeyh.name> Thu, 05 Oct 2017 17:40:48 -0400

scuttlebutt-types (0.1.0) unstable; urgency=low

* First release, split off from haskell-scuttlebutt.

-- Joey Hess <id@joeyh.name> Thu, 05 Oct 2017 12:47:48 -0400
comments powered byDisqus