[Snyk] Upgrade nats from 0.6.8 to 0.8.10 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade nats from 0.6.8 to 0.8.10.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: nats
No content.
requestOne
when doing argument shifting.This release updates the default request-reply strategy to use a single global subscription per client. Instead of creating a subscription per
request()
orrequestOne()
, a single inbox with a wildcard subscription is multiplexed for all request-reply operations.The options of the
request()
method now support atimeout
property. When specified, thetimeout
defines the number of milliseconds to wait for the specified number of messages (via themax
property) or an error is dispatched. Ifmax
is not specified the client code is responsible to callunsubscribe()
to cancel the internal timeout. As previously ifmax
number of messages ortimeout
is triggered, the handler for responses is auto-removed.The client option
useOldRequestStyle
when set totrue
, will use the legacy request-reply mechanism of creating a new inbox subscription and publishing a request message per call.Reverted changes from typescript where TlsOptions converted to TlsServerOptions and back to TlsOptions.
Fixed an issue where an outstanding client heartbeat timer prevented node from exiting on
nats.close()
This release may affect typescript users that are not on the latest version.
NodeJS types changed TlsOptions to TlsServerOptions
See DefinitelyTyped/DefinitelyTyped@e00c711
No content.
Merge pull request #147 from nats-io/tls-reconnect-leaks
- [FIX] #145 - when using TLS reconnects would fail because of listener leaks (events firing on leaked streams)
- [FIX] node client fired error on any protocol error. Some protocol errors such as 'stale connection' should have initiated a reconnect.
- [FIX] if a client attempted to publish/subscribe to a subject for which it had no permission, an error was generated. New event ('permission_error') will now be sent to the client.
Merge pull request #111 from nats-io/versionbump
Version bump for support 'preserveBuffers' option.
Release v.0.6.8
Commit messages
Package name: nats
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs