0.4.0
Slap.Files.list/2acceptscursor: nilto start at the beginning of the selected range. A returnedcursor: nilmarks the end of iteration.prefix: nil,gte: nil, andlt: nilremain invalid.
0.3.0
- Uses
slap_kv0.3.0 andslap_cluster0.3.0.
0.2.0
- Ranged reads:
Slap.Files.read/2andSlap.Files.stream/2take a:rangeand return only those bytes of the file, as an HTTP server needs forRangerequests. A range is{first, last}(inclusive, as in HTTP),{first, :eof}, or{:last, n}. For a body stored as an object, only the requested bytes are downloaded.stream/2also returns the range clamped to the file's size, which is what aContent-Rangeheader reports. A range that contains no byte of the file returns{:error, {:range_not_satisfiable, size}}. read/2andstream/2take:if_version. Passing the version returned by a client's first range request to the later ones makes every range come from the same version of the file.- Uses
slap_slatedb0.2.0, which upgrades SlateDB from 0.16 to 0.17. Databases written by 0.1.0 open unchanged.
0.1.0
Initial release of slap_files.