Releases: event-driven-io/Pongo
Releases · event-driven-io/Pongo
0.16.11
📝 What's Changed
- Added timeout options when running migrations by @oskardudycz in #160
- Fix short form flags in Pongo CLI by @talyssonoc in #157
Full Changelog: 0.16.10...0.16.11
0.16.10
📝 What's Changed
Added option to skip Pongo migration hash check. This could cause some friction if someone (like me) accidentally changed whitespace in a migration script. Now you can pass { ignoreMigrationHashMismatch: true } through migrate options, and the migration hash check will be disabled. What's more, it'll override the migration hash (if it existed).
- Added dmb prefix to the migration table. It was a dmb move ( 🥁 ) to name it with a generic "migrations" name. Don't worry, it's safe: both Pongo and Emmett migrations are idempotent, so running them again will just backfill the new table. I didn't rename the old one to avoid any weird issues.
By @oskardudycz in #150
Full Changelog: 0.16.9...0.16.10
0.16.5
📝 What's Changed
- Fixed npm publish with tagging to avoid issues with automatic tagging prerelease as latest It appeared that npm without that was marking prerelease packages automatically as
latest. Which was causing issues like mentioned in #121. Fixed by @oskardudycz in #132
Full Changelog: 0.16.4...0.16.5
0.16.4
📝 What's Changed
- Fixed CommonJS compatibility issue. Replaced
chalkbyansisfor colouring console output to keep Pongo compatible with CommonJS by @oskardudycz in 101
Full Changelog: 0.16.3...0.16.4
0.16.3
📝 What's Changed
- Handle method passes again null instead of empty object when document doesn't exist by @oskardudycz in #100
Full Changelog: 0.16.2...0.16.3
0.16.2
📝 What's Changed
- Added deep equals to object comparison in handle method to support correctly mutable entities by @oskardudycz in #99
Full Changelog: 0.16.1...0.16.2
0.16.1
📝 What's Changed
- Made printing shell options optional by @oskardudycz in #96
- Updated sample to 0.16.1 version by @oskardudycz in #97
Full Changelog: 0.16.0...0.16.1
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
0.15.3
0.15.2
📝 What's Changed
- Fixed custom sql operations typing in PongoCollection typing and Find methods results by @oskardudycz in #90
Full Changelog: 0.15.0...0.15.1