Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Latest commit

 

History

History
231 lines (132 loc) · 8.42 KB

CHANGLOG.md

File metadata and controls

231 lines (132 loc) · 8.42 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Changed

Added

  • Command line to export, import and update databases master key.
  • Function to update the database master key.

Changed

  • Badger upgrade to v2.0-rc1 commit
  • If Collection.Get is not found it returns the ErrNotFound instead of the badger error. commit

Changed

  • Returns a special error if the caller tries to add an index with an existing name but with an other document mapping.

Add

  • Timeout for file reader and writer.

Changed

  • Limit file size of the Badger database. The goal is to take advantage of the garbage collection which needs multiple files to work.
  • CI now run test twice. Ones with verbose parameter and the second with race. This should run every test function and after eventually with the race condition.
  • Upgrade Badger from short after v1.5.3 to v2.0.0.rc-2.

Fixes

  • The management path introduced in commit was not working for backup and restore.

Add

  • New command to run database garbage collection. (commit)

Fixes

  • BREAKING CHANGES: If the database was open from on location and then from an other one. The path of the index was lost. (commit)
  • BREAKING CHANGES: Tells Bleve to not save values just index it. (commit)

Fixes

  • Bad file length after write. (commit)

Changed

  • Externalized the file storage system from the main DB object. Now all files actions are done in an other object called FileStore. The goal is to make the package easier to understand and use.
  • Tests are not running race test on TestBackup and TestMain.

Add

  • Add TTL (Time To Live) support for files and documents.

Changed

  • Garbage collection is done every 15 minutes instead of every 12 hours.

Fixes

  • When try to open file which is deleted it returns an error and not an empty file.

Add

  • Add cache to file reader to prevent unnecessary reads when caller user small buffer.
  • Add support for file related to document. The files are automatically removed when the related document is.

Changed

  • *Collection.SetBleveIndex now takes a *mapping.DocumentMapping which is used as *index.IndexImpl.DefaultMapping. This makes the reindexing more reliable and the use of the field more user friendly.

Fixes

  • Bug where the database does not load the parameters properly.

Fixes

  • Error fixed after database restore.

Add

  • Support for partial file reads and writes fixes #17.
  • Support batch writes, fixes #19.
  • Support multiple get at ones.
  • Add collection and file iterator fixes #18.
  • Add file lock to prevent concurrent writes on a single file.

Remove

  • Clean Dep files.

[0.3.0] - 2018-10-09

Changed

  • Rewrites of the package to get read of all prototyping.
  • All indexing relies on Bleve.

[0.2.2] - 2018-09-21

Changed

  • ENCRYPTION: Key management is redesigned to protect the nonce. A random part is generated for every writes and is used to derive the nonce.
  • Optimized the file testing to be more memory efficient and much faster. So short skip has been removed.
  • Upgrade dependencies.
  • NewQuery in now *Collection.NewQuery to use the configured settings by default.

Add

  • ENCRYPTION: support for update the encryption key.
  • Links in the changelog to provide easy diff file with github compare.
  • Exists filter objects which has the requested field.
  • Contains filter objects when the requested values is some where inside the field value.

[0.2.1] - 2018-09-20

Fixed

  • Race condition.

[0.2.0] - 2018-09-20

Changed

  • Encryption replace the data integrity check. Every thing which goes into the database is encrypted.

Add

  • Add a loop that run garbage collection with a configurable timer.

[0.1.0] - 2018-09-19

Changed

  • Filter are structs and not interface any more and the exclusion filters has been modified.
  • Many modification at the API.

Remove

  • Bolt database.

[0.0.8]- 2018-09-07

Added

  • Add support to write and read big content.
  • Add support for multiple write operation at ones #11.

Changed

  • Filters have been rethink to be more user friendly.
  • The test has been fully remade to get it more relevant: #7
  • Make a queue to serialize the write when possible. This is related to #11
  • Make a specific index type for unsigned integer values
  • Deletions are serialized as the insertions

Fixes

  • Clean tests after complete. Fixes #1.

[0.0.7] - 2018-08-16

Added

  • Add support for exclusion filter

Changed

  • String indexed values need to contains the filter value to be referenced

[0.0.6] - 2018-08-14

Fixed

  • Bug fixe with index range not working

[0.0.5] - 2018-08-03

Added

  • Add CHANGELOG.md.
  • Methods to show collections and indexes informations.
  • Index values into slices

Changed

  • String indexes are case sensitive. It was made unsensitive on purpose but it's better that caller take care of it he wants case unsensitive indexing.

Fixed

  • Consistent indexing with JSON tags. #6

[0.0.4] - 2018-08-03