Skip to content

Commit

Permalink
build: hermes package listed as a peer dependency in hermes-mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
arturwojnar committed Mar 25, 2024
1 parent 16ef289 commit a8044aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 6 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# 1.0.0 (2024-03-24)


### Bug Fixes

* handling error by optional callbacks onDbError and onFailedPublish ([cc14afe](https://github.com/arturwojnar/hermes/commit/cc14afe8662daf0a60d3089452f5d98b637de5ba))

- handling error by optional callbacks onDbError and onFailedPublish ([cc14afe](https://github.com/arturwojnar/hermes/commit/cc14afe8662daf0a60d3089452f5d98b637de5ba))

### Features

* possibility to automatically add a callback on SIGTERM to release outbox consumer ([0883658](https://github.com/arturwojnar/hermes/commit/088365889b705404d4d83550532ca176a1887295))
* providing documentation ([a1fd348](https://github.com/arturwojnar/hermes/commit/a1fd348d45a23b0933c444619d1b5fd04da3463e))
* publishEvent accepts a callback + a test for partitioning ([79a1a0d](https://github.com/arturwojnar/hermes/commit/79a1a0da65c104d9e70b7fc6630fe6f5f6dbc30a))
* simplest version of the outbox pattern based on mongodb and its change events ([a593138](https://github.com/arturwojnar/hermes/commit/a59313897e62e604bf00b8293d69c77b00f98dc7))
* switching to monorepo ([62a629c](https://github.com/arturwojnar/hermes/commit/62a629cc6b8e3ce40e9d413355e5a6cf5044204a))
- possibility to automatically add a callback on SIGTERM to release outbox consumer ([0883658](https://github.com/arturwojnar/hermes/commit/088365889b705404d4d83550532ca176a1887295))
- providing documentation ([a1fd348](https://github.com/arturwojnar/hermes/commit/a1fd348d45a23b0933c444619d1b5fd04da3463e))
- publishEvent accepts a callback + a test for partitioning ([79a1a0d](https://github.com/arturwojnar/hermes/commit/79a1a0da65c104d9e70b7fc6630fe6f5f6dbc30a))
- simplest version of the outbox pattern based on mongodb and its change events ([a593138](https://github.com/arturwojnar/hermes/commit/a59313897e62e604bf00b8293d69c77b00f98dc7))
- switching to monorepo ([62a629c](https://github.com/arturwojnar/hermes/commit/62a629cc6b8e3ce40e9d413355e5a6cf5044204a))

# 0.0.1 (2024-03-19)

Expand Down
3 changes: 3 additions & 0 deletions packages/hermes-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,8 @@
},
"dependencies": {
"mongodb": "~6.5.0"
},
"peerDependencies": {
"@arturwojnar/hermes": ">=0.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/hermes/src/consts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const OutboxMessagesCollectionName = '__outboxMessages' as const
const OutboxConsumersCollectionName = '__outboxConsumers' as const
const OutboxMessagesCollectionName = '__outboxMessages'
const OutboxConsumersCollectionName = '__outboxConsumers'

export { OutboxConsumersCollectionName, OutboxMessagesCollectionName }

0 comments on commit a8044aa

Please sign in to comment.