Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis

Package Overview
Dependencies
Maintainers
3
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis - npm Package Versions

1
16

2.6.4

Diff

Changelog

Source

v2.6.4 - 12 Jan, 2017

Bugfixes

  • Fixed monitor mode not working in combination with IPv6, sockets or lua scripts (2.6.0 regression)
bridgear
published 2.6.3 •

Changelog

Source

v2.6.3 - 31 Oct, 2016

Bugfixes

  • Do not change the tls setting to camel_case
  • Fix domain handling in combination with the offline queue (2.5.3 regression)
bridgear
published 2.6.2 •

Changelog

Source

v2.6.2 - 16 Jun, 2016

Bugfixes

  • Fixed individual callbacks of a transaction not being called (2.6.0 regression)
bridgear
published 2.6.1 •

Changelog

Source

v2.6.1 - 02 Jun, 2016

Bugfixes

  • Fixed invalid function name being exported
bridgear
published 2.6.0 •

Changelog

Source

v2.6.0 - 01 Jun, 2016

In addition to the pre-releases the following changes exist in v.2.6.0:

Features

  • Updated redis-parser dependency (changelog)
  • The JS parser is from now on the new default as it is a lot faster than the hiredis parser
  • This is no BC as there is no changed behavior for the user at all but just a performance improvement. Explicitly requireing the Hiredis parser is still possible.
  • Added name property to all Redis functions (Node.js >= 4.0)
  • Improved stack traces in development and debug mode

Bugfixes

  • Reverted support for __proto__ (v.2.6.0-2) to prevent and breaking change

Deprecations

  • The parser option is deprecated and should be removed. The built-in Javascript parser is a lot faster than the hiredis parser and has more features
bridgear
published 2.6.0-2 •

Changelog

Source

v2.6.0-2 - 29 Apr, 2016

Features

  • Added support for the new CLIENT REPLY ON|OFF|SKIP command (Redis v.3.2)
  • Added support for camelCase
  • The Node.js landscape default is to use camelCase. node_redis is a bit out of the box here but from now on it is possible to use both, just as you prefer!
  • If there's any documented variable missing as camelCased, please open a issue for it
  • Improve error handling significantly
  • Only emit an error if the error has not already been handled in a callback
  • Improved unspecific error messages e.g. "Connection gone from end / close event"
  • Added args to command errors to improve identification of the error
  • Added origin to errors if there's e.g. a connection error
  • Added ReplyError class. All Redis errors are from now on going to be of that class
  • Added AbortError class. A subclass of AbortError. All unresolved and by node_redis rejected commands are from now on of that class
  • Added AggregateError class. If a unresolved and by node_redis rejected command has no callback and this applies to more than a single command, the errors for the commands without callback are aggregated to a single error that is emitted in debug_mode in that case.
  • Added message_buffer / pmessage_buffer events. That event is always going to emit a buffer
  • Listening to the message event at the same time is always going to return the same message as string
  • Added callback option to the duplicate function
  • Added support for __proto__ and other reserved keywords as hgetall field
  • Updated redis-commands dependency (changelog)

Bugfixes

  • Fixed v.2.5.0 auth command regression (under special circumstances a reconnect would not authenticate properly)
  • Fixed v.2.6.0-0 pub sub mode and quit command regressions:
  • Entering pub sub mode not working if a earlier called and still running command returned an error
  • Unsubscribe callback not called if unsubscribing from all channels and resubscribing right away
  • Quit command resulting in an error in some cases
  • Fixed special handled functions in batch and multi context not working the same as without (e.g. select and info)
  • Be aware that not all commands work in combination with transactions but they all work with batch
  • Fixed address always set to 127.0.0.1:6379 in case host / port is set in the tls options instead of the general options
bridgear
published 2.6.0-1 •

Changelog

Source

v2.6.0-1 - 01 Apr, 2016

A second pre-release with further fixes. This is likely going to be released as 2.6.0 stable without further changes.

Features

  • Added type validations for client.send_command arguments

Bugfixes

  • Fixed client.send_command not working properly with every command and every option
  • Fixed pub sub mode unsubscribing from all channels in combination with the new string_numbers option crashing
  • Fixed pub sub mode unsubscribing from all channels not respected while reconnecting
  • Fixed pub sub mode events in combination with the string_numbers option emitting the number of channels not as number
bridgear
published 2.6.0-0 •

Changelog

Source

v2.6.0-0 - 27 Mar, 2016

This is mainly a very important bug fix release with some smaller features.

Features

  • Monitor and pub sub mode now work together with the offline queue
  • All commands that were send after a connection loss are now going to be send after reconnecting
  • Activating monitor mode does now work together with arbitrary commands including pub sub mode
  • Pub sub mode is completely rewritten and all known issues fixed
  • Added string_numbers option to get back strings instead of numbers
  • Quit command is from now on always going to end the connection properly

Bugfixes

  • Fixed calling monitor command while other commands are still running
  • Fixed monitor and pub sub mode not working together
  • Fixed monitor mode not working in combination with the offline queue
  • Fixed pub sub mode not working in combination with the offline queue
  • Fixed pub sub mode resubscribing not working with non utf8 buffer channels
  • Fixed pub sub mode crashing if calling unsubscribe / subscribe in various combinations
  • Fixed pub sub mode emitting unsubscribe even if no channels were unsubscribed
  • Fixed pub sub mode emitting a message without a message published
  • Fixed quit command not ending the connection and resulting in further reconnection if called while reconnecting

The quit command did not end connections earlier if the connection was down at that time and this could have lead to strange situations, therefor this was fixed to end the connection right away in those cases.

bridgear
published 2.5.3 •

Changelog

Source

v2.5.3 - 21 Mar, 2016

Bugfixes

  • Revert throwing on invalid data types and print a warning instead
bridgear
published 2.5.2 •

Changelog

Source

v2.5.2 - 16 Mar, 2016

Bugfixes

  • Fixed breaking changes against Redis 2.4 introduced in 2.5.0 / 2.5.1
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc