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
ObjectIdhelper. by @oskardudycz in 94 - Added option to run custom SQL directly on Pongo database You can access it as
db.sql.queryordb.sql.commandso 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
--collectionoption) - 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=PRETTYtogether withDUMBO_LOG_LEVEL=INFOand see all logs prettified. You can also callprettyJSONfunction in your code from@event-driven-io/dumboby @oskardudycz in 92
Full Changelog: 0.15.3...0.16.0