Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade redis from 0.12.1 to 2.8.0 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade redis from 0.12.1 to 2.8.0.

Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 32 versions ahead of your current version.
  • The recommended version was released 2 years ago, on 2017-08-08.
Release notes
  • Package name: redis
    • 2.8.0 - 2017-08-08

      Features

      • Accept UPPER_CASE commands in send_command
      • Add arbitrary commands to the prototype by using Redis.addCommand(name)

      Bugfixes

      • Fixed not always copying subscribe unsubscribe arguments
      • Fixed emitting internal errors while reconnecting with auth
      • Fixed crashing with invalid url option
    • 2.7.1 - 2017-03-14

      Bugfixes

      • Fixed monitor mode not working in combination with IPv6 (2.6.0 regression)
    • 2.7.0 - 2017-03-11

      Features

      • All returned errors are from now a subclass of RedisError.

      Bugfixes

      • Fixed rename_commands not accepting null as value
      • Fixed AbortErrors and AggregateErrors not showing the error message in the stack trace
    • 2.6.5 - 2017-01-15

      Bugfixes

      • Fixed parser not being reset in case the redis connection closed ASAP for overcoming of output buffer limits
      • Fixed parser reset if (p)message_buffer listener is attached
    • 2.6.4 - 2017-01-12

      Bugfixes

      • Fixed monitor mode not working in combination with IPv6, sockets or lua scripts (2.6.0 regression)
    • 2.6.3 - 2016-10-31

      Bugfixes

      • Do not change the tls setting to camel_case
      • Fix domain handling in combination with the offline queue (2.5.3 regression)
    • 2.6.2 - 2016-06-16

      Bugfixes

      • Fixed individual callbacks of a transaction not being called (2.6.0 regression)
    • 2.6.1 - 2016-06-01

      Bugfixes

      • Fixed invalid function name being exported
    • 2.6.0 - 2016-06-01

      We proudly present:

      Fixed pub sub, better error handling, camelCase and big number support, improved performance, fire and forget commands, bug fixes and more.

      This is the combined changelog of all pre-releases of the 2.6 release plus the additional changes. If you want to see the individual changelogs, please have a look.

      Features

      • Added name property to all Redis functions (Node.js >= 4.0)
      • 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
      • Improved stack traces in development and debug mode
      • 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
      • 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 completly 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
      • Added type validations for client.send_command arguments
      • 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.
      • Updated redis-commands dependency (changelog)

      Bugfixes

      • Fixed v.2.5.0 auth command regression (under special circumstances a reconnect would not authenticate properly)
      • 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
      • Fixed client.send_command not working properly with every command and every option
      • 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
      • 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.

      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
    • 2.6.0-2 - 2016-04-29

      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
      • Emit an error in debug_mode if a command would otherwise silently fail (no callback present)
      • 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
    • 2.6.0-1 - 2016-04-01
        </li>
        <li>
          <b>2.6.0-0</b> - <a href="">2016-03-27</a>
          
        </li>
        <li>
          <b>2.5.3</b> - <a href="">2016-03-21</a>
          
        </li>
        <li>
          <b>2.5.2</b> - <a href="">2016-03-16</a>
          
        </li>
        <li>
          <b>2.5.1</b> - <a href="">2016-03-15</a>
          
        </li>
        <li>
          <b>2.5.0</b> - <a href="">2016-03-15</a>
          
        </li>
        <li>
          <b>2.5.0-1</b> - <a href="">2016-03-07</a>
          
        </li>
        <li>
          <b>2.4.2</b> - <a href="">2015-11-27</a>
          
        </li>
        <li>
          <b>2.4.1</b> - <a href="">2015-11-25</a>
          
        </li>
        <li>
          <b>2.4.0</b> - <a href="">2015-11-25</a>
          
        </li>
        <li>
          <b>2.3.1</b> - <a href="">2015-11-18</a>
          
        </li>
        <li>
          <b>2.3.0</b> - <a href="">2015-10-30</a>
          
        </li>
        <li>
          <b>2.2.5</b> - <a href="">2015-10-18</a>
          
        </li>
        <li>
          <b>2.2.4</b> - <a href="">2015-10-17</a>
          
        </li>
        <li>
          <b>2.2.3</b> - <a href="">2015-10-14</a>
          
        </li>
        <li>
          <b>2.2.2</b> - <a href="">2015-10-13</a>
          
        </li>
        <li>
          <b>2.2.1</b> - <a href="">2015-10-12</a>
          
        </li>
        <li>
          <b>2.2.0</b> - <a href="">2015-10-12</a>
          
        </li>
        <li>
          <b>2.1.0</b> - <a href="">2015-10-02</a>
          
        </li>
        <li>
          <b>2.0.1</b> - <a href="">2015-09-23</a>
          
        </li>
        <li>
          <b>2.0.0</b> - <a href="">2015-09-21</a>
          
        </li>
        <li>
          <b>1.0.0</b> - <a href="">2015-08-30</a>
          
        </li>
        <li>
          <b>0.12.1</b> - <a href="">2014-08-11</a>
          
        </li>
      </ul>
      
    • from [`redis` GitHub Release Notes](https://github.com/NodeRedis/node_redis/releases)
------------

馃 View latest project report

馃洜 Adjust upgrade PR settings

馃敃 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant