Skip to content

0.16.0

Compare
Choose a tag to compare
@oskardudycz oskardudycz released this 09 Oct 11:37
· 4 commits to main since this release

🚀 What's New

  1. Used UUID v7 as sequential random id generator. This should make documents indexing by id more efficient. You can generate it also using a new ObjectId helper. by @oskardudycz in 94
  2. Added option to run custom SQL directly on Pongo database You can access it as db.sql.query or db.sql.command so the same way as in the collection. 93
  3. Usability improvements for Pongo shell
    Added:
  • PostgreSQL connection check,
  • an option to set the prettifying and log level through shell params and helper methods,
  • direct access to collections in shell (if you provide them with --collection option)
  • Made printing results in shell as table optional and disabled. You can enable it by calling printResultsAsTable() in the shell
    by @oskardudycz in 93, 95
  1. Added printing migration SQL based on the config file So the same way as you do when you run migrations. by @oskardudycz in 93
  2. Added pretty JSON print options to visualise better logs You can set up the variable DUMBO_LOG_STYLE=PRETTY together with DUMBO_LOG_LEVEL=INFO and see all logs prettified. You can also call prettyJSON function in your code from @event-driven-io/dumbo by @oskardudycz in 92

Full Changelog: 0.15.3...0.16.0