📡 PostgreSQL LISTEN & NOTIFY for node.js that finally works.
MIT License
Bot releases are hidden (Show)
Small release, significantly improving performance when working with A LOT of channels.
Thanks for the pull request, @maxpain!
Published by andywer almost 4 years ago
Just a small release shipping a performance fix by @maxpain.
Published by andywer about 4 years ago
Minor feature release, adding dynamic retry intervals. Makes things like exponentially increasing retry intervals possible.
retryInterval
callback (#41)Published by andywer over 4 years ago
Just a tiny patch release updating the pg
peer dependency version range.
pg
version range (#37)Published by andywer about 5 years ago
Minor release, shipping improved type declarations only. You can now exactly declare the channels and notification types.
Published by andywer about 5 years ago
Minor release, shipping a tiny feature.
connected
event (#26)Published by andywer about 5 years ago
Ships a bug fix and comes with updated dependencies to fix npm audit
security warnings.
.notify()
without payload and fix parsing payload-less notifications (#24)Published by andywer over 5 years ago
Ships an important bug fix.
Published by andywer over 5 years ago
Minor feature release.
Allows you to set a custom parse
and serialize
option. It still defaults to JSON.parse
/ JSON.stringify
, but you are now able to work with different data formats, too.
See #18.
Published by andywer over 5 years ago
Important bug fix!
A critical bug has been fixed were the library did not successfully re-subscribe to the channels after reconnecting. See #14.
The bug has been fixed and a comprehensive integration test that also serves as a regression test has been added.
Happy hacking!
Published by andywer over 5 years ago
Just a tiny fix to get rid of an annoying error message on start.
Cannot find module "pg-native"
error message (#15)Published by andywer over 5 years ago
Another small update, thanks to @bergundy!
Subscriber
interface (#11)Published by andywer almost 6 years ago
A small update: Introducing a CommonJS default export convenience hack.
require()
from the package without .default
(#6)- const createSubscriber = require("pg-listen").default
+ const createSubscriber = require("pg-listen")
Note: require("pg-listen").default
will still work.
Published by andywer almost 6 years ago
Bump to v1.0 🥳🚀
Feels stable enough that it now deserves a major version greater than zero. No noticeable changes.
Published by andywer almost 6 years ago
pg.ClientConfig
type for connection options (#3)Published by andywer about 6 years ago
Initial release.
v0.1.0
had a typo in the package.json
peerDependencies
property and v0.1.1
was lacking files that should have been published.