Skip to content

Releases: claabs/markov-strings-db

v4.2.0

26 Mar 03:15
1aa5cb7
Compare
Choose a tag to compare

Breaking Changes

typeorm was upgraded to 0.3. See its changelog for its full list of breaking changes.

  • Minimum Node version increased from 10 to 14
  • extendConnectionOptions renamed to extendDataSourceOptions
  • extendDataSourceOptions now requires a parameter, as ormconfig is now deprecated

v4.1.5

28 Jan 23:08
Compare
Choose a tag to compare
  • Retry sentence generation without startSeed if it fails the first time
  • Update dependencies

v4.1.4

02 Jan 20:11
Compare
Choose a tag to compare
  • Add ability to generate a sentence with a start seed fragment
  • Remove duplicates output refs

v4.1.3

02 Jan 17:59
Compare
Choose a tag to compare
  • Add indices to relations to drastically speed up delete cascades.

v4.1.2

02 Jan 07:22
Compare
Choose a tag to compare
  • Faster corpus pruning on small deletes

v4.1.1

02 Jan 04:52
Compare
Choose a tag to compare
  • Switch delete to SQL delete function to improve mass delete performance

v4.1.0

02 Jan 01:39
Compare
Choose a tag to compare

Breaking changes

  • Rewrite the database schema. An old database cannot be migrated to this new version. This reduces the amount of duplicate data in the database.
  • removeData() was renamed to removeStrings()

New features

  • Added a new removeTags() function

v4.0.2

31 Dec 05:51
Compare
Choose a tag to compare
  • Add tags field to addData. It can be used to query data directly from the database based on custom fields in the parent application.
  • Define more indices to help with some querying performance (hopefully)
  • Improve remove cascading logic to work in reverse order from the InputData to help with data purging.

v4.0.1

30 Dec 05:24
Compare
Choose a tag to compare
  • Add migrations to connection extension

v4.0.0

24 Dec 06:02
Compare
Choose a tag to compare

A rewrite of scambier/markov-strings made to utilize a relational SQL database rather than an in-memory object. The goal is to reduce memory usage, disk reads/writes, remove batch corpus generation, and increase performance.

This should be mostly functionally compatible with markov-strings v3, however the API usage varies. This version supports importing data exports from markov-strings v3 for easy migration.

New features:

  • Database delete
  • Phrase delete

Breaking changes:

  • TypeORM setup required in parent project
  • PRNG feature not supported by database queries
  • Pretty much everything is async
  • Custom data in ref object moved to ref.custom