Skip to content

Instantly share code, notes, and snippets.

@ynx0
Last active April 8, 2021 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ynx0/56845329674d29d891086ac31e1cbacc to your computer and use it in GitHub Desktop.
Save ynx0/56845329674d29d891086ac31e1cbacc to your computer and use it in GitHub Desktop.

Breaking Changes Summary

New Types

  • There is a new type reference that models a reference to either graph content or a reference to a group
    • A reference to a group takes a resource, while a reference to graph content takes a resource for the group and a uid

Breaking changes / Modified types:

  • content has now been modified. the subtype [%reference =uid] has now been changed to use the [%reference reference]

  • Graph store no longer accepts pokes with the mark %graph-update. Instead, it supports pokes with the mark %graph-update-1

  • The types update and logged-update no longer have a %0 at the head of the cell, but otherwise remain unchanged

  • The type logged-update-0 has been renamed to logged-action

  • The type update-0 has been renamed to action

  • lib/graph-store.hoon now uses the latest types and implements en/de-json arms for them.

  • lib/graph.hoon is compatible with the latest changes

  • The mark found at mar/graph/update.hoon is (still) synonymous with mar/graph/update-0.hoon, both of which no longer have json grab/grow arms. The new mark mar/graph/update-1.hoon is updated to use the latest sur/graph-store type definitions and has accompanying json grab/grow arms.

All old type definitions and any types that depended on them for post and graph-store have been moved to arms named zero in each file respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment