All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
dat pull --exit=NN
exits afterNN
number of seconds, when there are no updates to sync.
- Use datbase.org as default registry (instead of datproject.org)
- Error not being handled (#838)
- Set
opts.debug
properly when usingDEBUG
that isn'tdat
. - Move discovery key to option in
dat keys
(#869)
- Error not being handled (#838)
With this release, we are adding an exciting feature that really showcases how powerful Dat is, selective sync. Using the CLI you can now specify which files you want to download either with an option or using the .datdownload
file. dat sync
will download and keep updated on the selected files. This means you can put large datasets into Dat but have control over what files you download where.
- Commands run faster via lazy required modules (#821)
- Throttling - sometimes Dat goes too fast, so you can limit the upload + download speeds. (#806)
- Publish metadata to registry when publishing (#812)
- Use dat-node http support directly (#817)
- Use npm package for registry testing.
Full support for Dat registries! See our full release notes.
- Improved support for public Dat registries (#794)
- Add unpublish command
- Big documentation update!
- Force bump dat-node for a deletion bug that was a bit overzealous in deleting files (holepunchto/hyperdrive#167).
- Dat version number is printed in header (#788)
- Add prompt and introduction to
dat create
command (#782) and create dat.json file (#765). - Tell user if new
.dat
was initialized. - Add
dat log
command to print archive history and size information (#781). - Use
require('dat')
to getdat-node
JS API (#778).
- Default to upload true for
dat clone
anddat pull
, enables better hole-punching (#787).
- Make argument parsing more consistent across commands (#789)
- Fix usage and help text (various).
- Document sparse option in cli help
- add node/dat version to debug
- Use share for shortcut (create new dat if not created)
- use exit option on clone shortcut if specified
- various ui fixes
- Serve dat over http with
--http
option
- Add
--sources
option for debugging network issues
- Dat-* extensions (#740)
- Ignore directories in import (dat-node v3.3.0)
- Set directory for publish command
- Improve
--show-key
help output - Always show download progress bar and make language more clear.
- Cleanup dat shortcut + directory creation
- Check for any swarm.connecting before doing discovery failure.
- Check node version, fail for anything older than node v4 (#669)
- Add show-key option to display key on downloading cmds
dat status
command to show key, file count, dir size, and archive version
- Upgrade to Hyperdrive v8/9 (SLEEP archive format) and Dat-node v2/3. See dat-node release docs for more info.
- UI updates
- Content progress for archives with history
- Change
process.title
todat
fromdat-next
- Use two decimals for content progress
- Remove
hyperdrive-import-files
from dependencies (it is a dependency ofdat-node
). It was accidentally added. - Always verify on read to avoid replication errors.
- Files getting truncated and edited with bad characters - issue #626 and #623
- Source files getting overwritten (issue #628)
- Duplicate files getting imported
Big new release! See the release notes on Github.
- webrtc support
- Fail gracefully if another dat is running in directory
- Handle
dat.open
errors - Progress bar incorrectly showing 100% complete and 0 bytes
- Use graceful-fs to avoid EMFILE errors
- Better download statistics using blocks instead of bytes
- Fix share stats on resuming without file changes
- Fix calculating size UI for large files
- Update status logger. Uses ansi-diff-stream for updating CLI output now.
- Turn off
--watchFiles
by default - Simplify progress UI
- Fix
dat
command with no arguments
- Fix
dat --doctor
- Resuming a folder previously shared fixed.
- Accept dat.land links
- Allow
dat <dir>
to resume a downloaded link
- Improved error output for incorrect params
--ignore-hidden
option. Ignores hidden files by default.--signalhub
option to override default signalhub URL.
- Remove headless option from electron-webrtc. It is detected for us.
utp
is true by default
- Use
--quiet
mode with--debug
so output is easier to read.
--webrtc
option. Uses electron-webrtc to run via webrtc.
--temp
option. Uses memdb as database instead of.dat
folder.- Print message when download finishes telling user they can exit.
- Add option for turning off UTP
- Use dat-js module (includes using hyperdrive-import-files for appending)
- Download finished message not displayed when dat live updates
- Download speed removed when download is finished
- Zero bytes total when downloading Dat with single file
- Create download directory if doesn't exist
- Accept dat:// links for dat-desktop
- Throw error when two different dats are downloaded to same folder
- Use yolowatch module for recursive live updates
- Improved stats for edge cases
- Print link with --quiet argument
- Better stat & progress output with hyperdrive/hypercore events
- Simplified and clean up CLI output
- Improve modularity of library
- Move logger module into own npm package, status-logger
- Store key in .dat db without encoding as hex string (#498)
- upgrade to hyperdrive 7
- List download option (will be re-added pending a hyperdrive update)
- Accept dat-encoding for 50 character links
- Live mode with recursive adding files!
- Separate yoloWatch to module
- Create download directory if it doesn't exist
- Updated Docs
- Live dat by default
- Added the
.dat
folder to store metadata and keys - Resume dat share and download in existing .dat directory
- Store metadata using leveldb
- --list option on download to list files
- --exit option on download to close process on completion
- New proposed RC2 API
- --static option change to --snapshot
- Use Hyperdrive-archive-swarm module for swarm
- --seed option, stays open by default now
- --no-color option
- --append option, append by default now
- Fix file count on live share
- Fix total percentage on share
- Show progress in CLI output
- Fix --static sharing
- Fix --doctor
- Share argument
- Argument bugs
- Live sharing!
- Update to hyperdrive 6.0
- Update API to RC2 candidate
These refer to the pre-1.0 versions of dat and are omitted.