- PUB-93 - Set labels for subscriptions, dlq on update too and support for labels to topics (#130 by @rohit-gohri)
- 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)
- Fix exit on success (#116 by @rohit-gohri)
- PUB-92 - Improve error handling and add custom fail function (#113 by @rohit-gohri)
- Update lock file (#114 by @rohit-gohri)
- PUB-88 - Pin dependencies to specific versions (#92 by @rohit-gohri)
- Prefer GOOGLE_CLOUD_LABELS over PUBSUB_LABELS env var (#90 by @rohit-gohri)
- PUB-84 - Add support for labels to subscirptions (#88 by @rohit-gohri)
- PUB-72 - Divide subscriptions among multiple clients (#86 by @rohit-gohri)
-
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)
-
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)
-
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
-
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)
- PUB-64 - Update dependencies (#78 by @rohit-gohri)
-
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)
-
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)
- Update google-cloud/pubsub package version (#55 by @ketan-saxena)
-
Undoes logger changes for list cli (#48 by @ishan123456789)
-
Upgrade dependencies (#51 by @rohit-gohri)
- PUB-44 - Added option to add custom logger (#45 by @ishan123456789)
- PUB-44 - Add changesets to manage versioning (#44 by @rohit-gohri)
- 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)
- PUB-46 - Allow multiple entry points without checking for folder (#42 by @rohit-gohri)
- PUB-42 - Add attributes option to publish command in Topic (#41 by @rohit-gohri)
-
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)
-
Fix build due to invalid import paths (#38 by @rohit-gohri)
-
PUB-31 - Add close method for graceful shutdowns (#20 by @rohit-gohri)