Changelog
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)
 
2.2.2#
Patch Changes#
- Fix exit on success (#116 by @rohit-gohri)
 
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)
 
2.2.0#
Minor Changes#
Patch Changes#
2.1.2#
Patch Changes#
- PUB-88 - Pin dependencies to specific versions (#92 by @rohit-gohri)
 
2.1.1#
Patch Changes#
- Prefer GOOGLE_CLOUD_LABELS over PUBSUB_LABELS env var (#90 by @rohit-gohri)
 
2.1.0#
Minor Changes#
- PUB-84 - Add support for labels to subscirptions (#88 by @rohit-gohri)
 
2.0.1#
Patch Changes#
- PUB-72 - Divide subscriptions among multiple clients (#86 by @rohit-gohri)
 
2.0.0#
⚠️ 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 
ackDeadlineSecondstoackDeadline - Add 
metadatato 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 
_timestampoptional - Removes double validation of topic names.
 - Use 
publishJSONinstead of buffering the payload. - Adds 
.toJSONmethod 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_DIRenv defined (#76 by @ishan123456789)
Full Changelog: v1.11.0...v2.0.0
1.11.0#
Minor Changes#
Adds optional health check server to tell if all subs are open or not (#73 by @ishan123456789)
PUB-71 - Add Subscription level handleError method (#75 by @ketan-saxena)
Patch Changes#
- PUB-64 - Update dependencies (#78 by @rohit-gohri)
 
1.10.4#
Patch Changes#
PUB-60 - Deprecate v1,v2 style Subscriber classes (#64 by @rohit-gohri)
PUB-66 - Fix close method creating new subscription instance rather than closing existing one (#63 by @rohit-gohri)
1.10.3#
Patch Changes#
PUB-52 - Deprecate native grpc usage (#58 by @rohit-gohri)
Allows setting up env variables through CLI args (#61 by @ishan123456789)
PUB-50 - Update documentation (#60 by @rohit-gohri)
1.10.2#
Patch Changes#
- Update google-cloud/pubsub package version (#55 by @ketan-saxena)
 
1.10.1#
Patch Changes#
Undoes logger changes for list cli (#48 by @ishan123456789)
Upgrade dependencies (#51 by @rohit-gohri)
1.10.0#
Minor Changes#
- PUB-44 - Added option to add custom logger (#45 by @ishan123456789)
 
Patch Changes#
- PUB-44 - Add changesets to manage versioning (#44 by @rohit-gohri)
 
1.9.0#
Minor Changes#
- PUB-47 - Optimized DLQ configuration making PROJECT_NUMBER optional for assigning Publisher, Subscriber roles and allowing default subscription creation as a part of DLQ configuration (#43 by @ishan123456789)
 
1.8.1#
Patch Changes#
- PUB-46 - Allow multiple entry points without checking for folder (#42 by @rohit-gohri)
 
1.8.0#
Minor Changes#
- PUB-42 - Add attributes option to publish command in Topic (#41 by @rohit-gohri)
 
Patch Changes#
PUB-34 - Update subscriber metadata for existing subscriptions (#32 by @ishan123456789)
PUB-43 - Attach subscriber metadata to error object in case unable to start subscription (#39 by @rohit-gohri)
1.7.12#
Patch Changes#
Fix build due to invalid import paths (#38 by @rohit-gohri)
PUB-31 - Add close method for graceful shutdowns (#20 by @rohit-gohri)