Skip to content

Releases: luposlip/nd-db

v0.9.0-beta20

06 Jan 13:37
Compare
Choose a tag to compare
v0.9.0-beta20 Pre-release
Pre-release

What changed

Sane exception is thrown, when attempting to open an empty database file.

Full Changelog: v0.9.0-beta19...v0.9.0-beta20

Release v0.9.0-beta19

06 Jan 13:36
Compare
Choose a tag to compare
Release v0.9.0-beta19 Pre-release
Pre-release

What's Changed

Support nippy based files in a zip based database - called zippy.
This could be the new goto nippy database format, much more space efficient than "classic" ndnippy:

  • 300-400% faster query speeds!
  • With just 20-25% larger size than ZIP'ed EDNs
    • for comparison, ndnippy is usually as large as the uncompressed EDNs

Full Changelog: v0.9.0-beta18...v0.9.0-beta19

v0.9.0-beta18

22 Oct 09:39
Compare
Choose a tag to compare
v0.9.0-beta18 Pre-release
Pre-release

What's Changed

  • Can now use ZIPs of EDN or JSON files directly as databases. See examples in the tests.
  • Cheshire has been replaced with Charred (pure clojure JSON parser)
  • Updated Clojure to 1.12.0

Full Changelog: v0.9.0-beta12...v0.9.0-beta18

v0.9.0-beta12

17 Jul 15:23
Compare
Choose a tag to compare
v0.9.0-beta12 Pre-release
Pre-release

Changes:

  • ns nd-db.compress has been removed and functionality extracted into new library - com.luposlip/clarch
  • new fn or-q take a seq of dbs, and queries them in order until a value is returned

Full Changelog: v0.9.0-beta10...v0.9.0-beta12

v0.9.0-beta11

02 Jul 21:06
Compare
Choose a tag to compare
v0.9.0-beta11 Pre-release
Pre-release

Wrapping gz outputstream with tar outputstream for new fn tar-gz-outputstream.

Full Changelog: v0.9.0-beta10...v0.9.0-beta11

v0.9.0-beta10

29 May 13:52
Compare
Choose a tag to compare
v0.9.0-beta10 Pre-release
Pre-release
  • Add helper fns in the nd-db.compress namespace for saving (not yet reading) .tar.gz archives.
  • Update dependencies

Full Changelog: v0.9.0-beta9...v0.9.0-beta10

v0.9.0-beta9

07 Feb 14:31
Compare
Choose a tag to compare
v0.9.0-beta9 Pre-release
Pre-release

Updated dependencies, and throw sane error when nippy versions are incompatible.

Full Changelog: v0.9.0-beta8...v0.9.0-beta9

v0.9.0-beta8 - bugfix release

04 Oct 17:56
b69f287
Compare
Choose a tag to compare
Pre-release

Fixes a bug with the index returned from appending docs.

v0.9.0-beta7 - append docs

03 Oct 14:54
Compare
Choose a tag to compare
Pre-release

This version makes it possible to add documents to an existing nd-db database, efficiently appending to the database file and the index (nddbmeta) file:

  • Append documents to existing nd-db files (previously v1.0.0) g- Optional end-pointer parameter for versioning
    • no parameter:
      • use everything in the file, including new doc versions
      • added docs will update index (thus prevent getting new db value until done)
      • the index will contain only the newest version of each document
      • a future version of nd-db might contain historical versions
    • parameter:
      • look for nddbmeta using same line (name of index reflecting lines)
      • if nddbmeta doesn't exist, stop indexing after passed line number
      • this will create a new .nddbmeta file with a hash and metadata reflecting

Multiple documents are automatically written to db (and index) in batches of 128.

v0.9.0-beta2 - compression

19 Sep 09:05
Compare
Choose a tag to compare
Pre-release

Added nd-db.compress helper namespace for convenience.