Skip to content

Releases: pozil/pub-sub-api-node-client

v3.2.0 - Improved error handling and keep alive messages

Choose a tag to compare

@pozil pozil released this 10 Nov 12:49
  • feat: improved error handling by reporting event parsing errors as EventParseError via the error event sent by PubSubEventEmitter. Partly addresses: #21
  • feat: added support for receiving server keep alive messages via the keepalive event 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

Choose a tag to compare

@pozil pozil released this 10 Nov 07:36
  • 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

Choose a tag to compare

@pozil pozil released this 07 Oct 17:15
  • fix: rolled back @grpc/grpc-js patch update that introduced random hanging in subscription (#18)

v3.0.1 - User token is now optional

Choose a tag to compare

@pozil pozil released this 07 Oct 16:45
  • fix: user token is now optional for username/password auth flow

v3.0.0 - Major update with event reformatting and event tracking

Choose a tag to compare

@pozil pozil released this 04 Oct 18:59

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 PubSubEventEmitter that inherits from EventEmitter (no signature change). PubSubEventEmitter exposes methods that tracks the topic name, the number of requested events and the number of received events.
    • The client now automatically fires a lastevent event via PubSubEventEmitter when we have reached number of requested event.

v.2.4.4 - Updated dependencies

Choose a tag to compare

@pozil pozil released this 03 Oct 06:46
  • build: bumped dependencies

v2.4.3 - Extra checks in connectWithAuth

Choose a tag to compare

@pozil pozil released this 22 Aug 13:43
  • feat: extra checks in connectWithAuth()
  • build: bumped dependencies

v2.4.2 - Updated dependencies

Choose a tag to compare

@pozil pozil released this 24 May 07:57
  • build: bumped dependencies

v2.4.1 - Major fix for changedFields

Choose a tag to compare

@pozil pozil released this 28 Feb 15:08
  • fix: a number of parsing issues with changeFields headers: #8 and #11 and problems with compound fields.
  • build: bumped dependencies

v2.4.0 - Added client close method

Choose a tag to compare

@pozil pozil released this 31 Jan 15:30
  • feat: added client close method
  • build: bumped dependencies