New APIs in Beaker 0.8
This Gist is a quick writeup for devs using the beta or
master build. We'll get a more complete writeup in the Beaker site docs on 0.8's final release. Feel free to open issues for discussion.
We've done some work on the
DatArchive API to make it easier to use. Prior to 0.8, Dats had a "staging area" folder which you had to
commit() to publish. In 0.8, Beaker will automatically sync that folder. As a result, the staging-area methods (
revert()) were deprecated. There are also some new methods, and a few changes to how events work.
Here's a full reference: