Repository navigation
Releases: pozil/pub-sub-api-node-client
Releases · pozil/pub-sub-api-node-client
Release list
v3.2.0 - Improved error handling and keep alive messages
- feat: improved error handling by reporting event parsing errors as EventParseError via the
errorevent sent by PubSubEventEmitter. Partly addresses: #21 - feat: added support for receiving server keep alive messages via the
keepaliveevent sent by PubSubEventEmitter. This allows to retrieve the last replay ID and other information. Addresses #22 - doc: added reference section
v3.1.0 - Simplified user-provided auth
- feat: simplified user-provided auth by removing username parameter. #23 thanks to @kunalrgarg
- build: bumped dependencies
v3.0.2 - Fix for random hanging in subscription
- fix: rolled back
@grpc/grpc-jspatch update that introduced random hanging in subscription (#18)
v3.0.1 - User token is now optional
- fix: user token is now optional for username/password auth flow
v3.0.0 - Major update with event reformatting and event tracking
Breaking changes:
- feat: removed intermediate Avro types from event payload (#9).
For example:{ city : { string: 'SFO' } }becomes{ city: 'SFO' }.
Changes:
- feat: new event tracking and lifecycle event (partly addresses #12).
- Subscribe methods now return a
PubSubEventEmitterthat inherits fromEventEmitter(no signature change).PubSubEventEmitterexposes methods that tracks the topic name, the number of requested events and the number of received events. - The client now automatically fires a
lasteventevent viaPubSubEventEmitterwhen we have reached number of requested event.
- Subscribe methods now return a
v.2.4.4 - Updated dependencies
- build: bumped dependencies
v2.4.3 - Extra checks in connectWithAuth
- feat: extra checks in
connectWithAuth() - build: bumped dependencies
v2.4.2 - Updated dependencies
- build: bumped dependencies
v2.4.1 - Major fix for changedFields
v2.4.0 - Added client close method
- feat: added client close method
- build: bumped dependencies