-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
# [0.2.0](https://github.com/socketio/socket.io-mongo-adapter/compare/0.1.0...0.2.0) (2022-04-27) | ||
|
||
|
||
### Features | ||
|
||
* add an option to use a TTL index ([#4](https://github.com/socketio/socket.io-mongo-adapter/issues/4)) ([7fdbb25](https://github.com/socketio/socket.io-mongo-adapter/commit/7fdbb25831255e5f6a37a5df25b4fc41c770ab6a)) | ||
|
||
The `addCreatedAtField` option allows to use a TTL index instead of a capped collection, which is slightly less efficient but more predictable. | ||
|
||
* broadcast and expect multiple acks ([e87a0ce](https://github.com/socketio/socket.io-mongo-adapter/commit/e87a0cec4c6920b5e4ef38c4de3e45c1eba5e4cf)) | ||
|
||
This feature was added in `[email protected]`: | ||
|
||
```js | ||
io.timeout(1000).emit("some-event", (err, responses) => { | ||
// ... | ||
}); | ||
``` | ||
|
||
Thanks to this change, it will now work with multiple Socket.IO servers. | ||
|
||
* use a single stream for all namespaces ([9b5f4c8](https://github.com/socketio/socket.io-mongo-adapter/commit/9b5f4c83038cc212b898b7fb7ff0ccec3124447c)) | ||
|
||
The adapter will now create one single MongoDB stream for all namespaces, instead of one per namespace, which could lead to performance issues. | ||
|
||
# 0.1.0 (2021-06-01) | ||
|
||
Initial commit | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters