0.16.0
🚀 What's New
- 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 - Added option to run custom SQL directly on Pongo database You can access it as
db.sql.query
ordb.sql.command
so the same way as in the collection. 93 - 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
- Added printing migration SQL based on the config file So the same way as you do when you run migrations. by @oskardudycz in 93
- Added pretty JSON print options to visualise better logs You can set up the variable
DUMBO_LOG_STYLE=PRETTY
together withDUMBO_LOG_LEVEL=INFO
and see all logs prettified. You can also callprettyJSON
function in your code from@event-driven-io/dumbo
by @oskardudycz in 92
Full Changelog: 0.15.3...0.16.0