Releases: deliveryhero/hfc-pubsub
Releases · deliveryhero/hfc-pubsub
v2.3.0
2.3.0
Minor Changes
- PUB-93 - Set labels for subscriptions, dlq on update too and support for labels to topics (#130 by @rohit-gohri)
Patch Changes
- Fix topic options default retry config not being applied if custom options provided (#130 by @rohit-gohri)
- PUB-87 - Update logging to be more structured (#130 by @rohit-gohri)
v2.2.2
v2.2.1
2.2.1
Patch Changes
- PUB-92 - Improve error handling and add custom fail function (#113 by @rohit-gohri)
- Update lock file (#114 by @rohit-gohri)
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.1
v2.0.0
2.0.0
Migration Guide
Read here: https://deliveryhero.github.io/hfc-pubsub/guides/migrating-to-v2
⚠️ Major Changes ⚠️
- PUB-68 - Set min supported node version as 12.22 (#72 by @rohit-gohri)
- PUB-52 - Remove
grpc
(#57 by @rohit-gohri)
- PUB-48 - Topic class now uses static properties and generics (#81 by @rohit-gohri)
- PUB-77 - Misc Changes (#84 by @rohit-gohri)
- Change project-id env var to
GOOGLE_CLOUD_PROJECT
- Removed export of private methods
- Refactor internals
- Change
ackDeadlineSeconds
toackDeadline
- Add
metadata
to default error handler
- Change project-id env var to
- PUB-65 - Remove deprecated code (#66 by @rohit-gohri)
Minor Changes
- PUB-73 - Add/improve helpers and TS usage(#79 by @ishan123456789)
- Allows to make
_timestamp
optional - Removes double validation of topic names.
- Use
publishJSON
instead of buffering the payload. - Adds
.toJSON
method to get parsed message/ - Remove getters (like getProjects, getName, getClient) and just use
this.projects
,this.name
, etc directly.
- Allows to make
- PUB-69 - Changed init position for
SubscriptionService.instance
(#77 by @ishan123456789)
Patch Changes
- PUB-75 - Using yarn instead of npm (#83 by @ishan123456789)
- PUB-69 - Throws error in case no subs found or wrong
PUBSUB_ROOT_DIR
env defined (#76 by @ishan123456789)
Full Changelog: v1.11.0...v2.0.0
v2.0.0 Beta 2
What's Changed
- Change project id env var to
GOOGLE_CLOUD_PROJECT
- Pass metadata to global error handler
- Change
ackDeadlineSeconds
toackDeadline
Full Changelog: v2.0.0-next.0...v2.0.0-next.2