Skip to content

v4.0.0

Compare
Choose a tag to compare
@claabs claabs released this 24 Dec 06:02
· 19 commits to master since this release

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