Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri authored Nov 9, 2021
2 parents e363c82 + 8b469fd commit 15a7182
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 50 deletions.
5 changes: 0 additions & 5 deletions .changeset/brave-mice-change.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/calm-actors-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fuzzy-rings-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-camels-reflect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-colts-notice.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-jars-count.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-insects-think.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/three-roses-hammer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-beds-grab.md

This file was deleted.

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 2.0.0

### Major Changes

- [PUB-68](https://honesttech.atlassian.net/browse/PUB-68) - Set min supported node version as 12.22 ([#72](https://github.com/deliveryhero/hfc-pubsub/pull/72) by [@rohit-gohri](https://github.com/rohit-gohri))

* [PUB-52](https://honesttech.atlassian.net/browse/PUB-52) - Remove grpc ([#57](https://github.com/deliveryhero/hfc-pubsub/pull/57) by [@rohit-gohri](https://github.com/rohit-gohri))

- [PUB-48](https://honesttech.atlassian.net/browse/PUB-48) - Redo Topic class with static properties and generics ([#81](https://github.com/deliveryhero/hfc-pubsub/pull/81) by [@rohit-gohri](https://github.com/rohit-gohri))

* [PUB-77](https://honesttech.atlassian.net/browse/PUB-77) - Change project id env var to GOOGLE_CLOUD_PROJECT, don't export private methods, refactor internals, and remove ackDeadlineSeconds ([#84](https://github.com/deliveryhero/hfc-pubsub/pull/84) by [@rohit-gohri](https://github.com/rohit-gohri))

- [PUB-65](https://honesttech.atlassian.net/browse/PUB-65) - Remove deprecated code ([#66](https://github.com/deliveryhero/hfc-pubsub/pull/66) by [@rohit-gohri](https://github.com/rohit-gohri))

### Minor Changes

- 1. Allows to make \_timestamp optional ([#79](https://github.com/deliveryhero/hfc-pubsub/pull/79) by [@ishan123456789](https://github.com/ishan123456789))
2. Removes double validation of topic names.
3. Use publishJSON instead of buffering the payload.
4. Adds `.toJSON` method to get parsed message/
5. Remove useless getters (like getProjects, getName, getClient) and just use this.projects, this.name, etc directly.

* Changed init position for SubscriptionService.instance ([#77](https://github.com/deliveryhero/hfc-pubsub/pull/77) by [@ishan123456789](https://github.com/ishan123456789))

### Patch Changes

- Using yarn instead of npm ([#83](https://github.com/deliveryhero/hfc-pubsub/pull/83) by [@ishan123456789](https://github.com/ishan123456789))

* Throws error in case no subs found or wrong PUBSUB_ROOT_DIR env defined ([#76](https://github.com/deliveryhero/hfc-pubsub/pull/76) by [@ishan123456789](https://github.com/ishan123456789))

## 1.11.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@honestfoodcompany/pubsub",
"version": "1.11.0",
"version": "2.0.0",
"description": "pubsub framework for managing topics and subscriptions",
"main": "dist/index.js",
"homepage": "https://deliveryhero.github.io/hfc-pubsub/",
Expand Down

0 comments on commit 15a7182

Please sign in to comment.