Skip to content

Releases: event-driven-io/Pongo

0.16.11

10 Feb 13:19

Choose a tag to compare

📝 What's Changed

Full Changelog: 0.16.10...0.16.11

0.16.10

04 Feb 13:04

Choose a tag to compare

📝 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

02 Jan 20:38

Choose a tag to compare

📝 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

04 Dec 08:18

Choose a tag to compare

📝 What's Changed

  • Fixed CommonJS compatibility issue. Replaced chalk by ansis for colouring console output to keep Pongo compatible with CommonJS by @oskardudycz in 101

Full Changelog: 0.16.3...0.16.4

0.16.3

19 Nov 10:00

Choose a tag to compare

📝 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

27 Oct 17:58

Choose a tag to compare

📝 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

09 Oct 12:10

Choose a tag to compare

📝 What's Changed

Full Changelog: 0.16.0...0.16.1

0.16.0

09 Oct 11:37

Choose a tag to compare

🚀 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

0.15.3

08 Oct 10:38

Choose a tag to compare

📝 What's Changed

Full Changelog: 0.15.2...0.15.3

0.15.2

02 Oct 14:25

Choose a tag to compare

📝 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