Changelog
2.0.0 - 2017-04-13
Big new release! Hyperdrive version 8 upgrades to our SLEEP file format. The hyperdrive release improves import, transfer speed, and metadata access. It includes a new API much like the node fs API. Lots of cool things!
We've tried to keep the dat-node API changes to a minimum. But we've moved away from using leveldb to storing the metadata, using a flat file format instead. This means the 2.0 release will be incompatible with exiting dat archives.
If you have any old archives, we definitely recommend you upgrade. Any upgrade time will be made up for with more speed!
The major API differences are listed below, we probably forgot some minor changes as several of the underlying modules have changes options or APIs.
mirror-folder
for importing files - this comes with a new event emitter for importing and different options.Dat(ram, cb)
now instead of the database.opts.db
option - no more database! You can specify a variety of storage formats as the first argument instead.dat.owner
- this is now dat.writable
.stats
events - we are still in the process of upgrading hyperdrive-stats. Hypercore will also support more stats internally now and we will be transitioning to those soon.mirror-folder
has fewer options on import.Changelog
1.4.0 - 2017-03-08
.datignore
support for ignoring filesjoinNetwork
after first round of discoverypause
and resume
API aliased to join
and leave
stats.peers
API with new peer countsopts.file
for archive owner without lengthcreateIfMissing
passed to level optionsdat.close()
twice sync errorsChangelog
1.3.7 - 2017-02-15
Changelog
1.3.6 - 2017-02-13
7.13.2
raf
Changelog
1.3.4 - 2017-02-03
opts.key
mismatches keys in database