|
| 1 | +Redis 2.6 release notes |
| 2 | + |
| 3 | +Migrating from 2.4 to 2.6 |
| 4 | +========================= |
| 5 | + |
| 6 | +Redis 2.4 is mostly a strict subset of 2.6. |
| 7 | +The only thing you should be aware is that you can't use .rdb and AOF files |
| 8 | +generated with 2.4 into a 2.2 instance. |
| 9 | + |
| 10 | +2.4 slaves can be attached to 2.2 masters, but not the contrary, and only for |
| 11 | +the time needed to perform the version upgrade. |
| 12 | + |
| 13 | +From the point of view of the API Redis 2.4 only adds new commands |
| 14 | +(other commands now accepts a variable number of arguments) so you don't need |
| 15 | +to modify your program in order to use Redis 2.4. |
| 16 | + |
| 17 | +However there are a few semantical differences that you should be aware of: |
| 18 | + |
| 19 | +* SORT now will refuse to sort in numerical mode elements that can't be parsed |
| 20 | + as numbers. |
| 21 | +* EXPIREs now all have millisecond resolution (but this is very unlikely to |
| 22 | + break code that was not conceived exploting the previous resolution error |
| 23 | + in some way.) |
| 24 | +* INFO output is a bit different now, and contains empty lines and comments |
| 25 | + starting with '#'. |
| 26 | + |
| 27 | +--------- |
| 28 | +CHANGELOG |
| 29 | +--------- |
| 30 | + |
| 31 | +What's new in Redis 2.6.0 |
| 32 | +========================= |
| 33 | + |
| 34 | +UPGRADE URGENCY: We suggest new users to start with 2.6.0, and old users to |
| 35 | + upgrade after some testing of the application with the new |
| 36 | + Redis version. |
| 37 | + |
| 38 | +* Server side Lua scripting, see http://redis.io/commands/eval |
| 39 | +* Virtual Memory removed (was deprecated in 2.4) |
| 40 | +* Hardcoded limits about max number of clients removed. |
| 41 | +* AOF low level semantics is generally more sane, and especially when used |
| 42 | + in slaves. |
| 43 | +* Milliseconds resolution expires, also added new commands with milliseconds |
| 44 | + precision (PEXPIRE, PTTL, ...). |
| 45 | +* Clinets max output buffer soft and hard limits. You can specifiy different |
| 46 | + limits for different classes of clients (normal,pubsub,slave). |
| 47 | +* AOF is now able to rewrite aggregate data types using variadic commands, |
| 48 | + often producing an AOF that is faster to save, load, and is smaller in size. |
| 49 | +* Every redis.conf directive is now accepted as a command line option for the |
| 50 | + redis-server binary, with the same name and number of arguments. |
| 51 | +* Hash table seed randomization for protection against collisions attacks. |
| 52 | +* Performances improved when writing large objects to Redis. |
| 53 | +* Significant parts of the core refactored or rewritten. New internal APIs |
| 54 | + and core changes allowed to develop Redis Cluster on top of the new code, |
| 55 | + however for 2.6 all the cluster code was removed, and will be released with |
| 56 | + Redis 3.0 when it is more complete and stable. |
| 57 | +* Redis ASCII art logo added at startup. |
| 58 | +* Crash report on memory violation or failed asserts improved significantly |
| 59 | + to make debugging of hard to catch bugs simpler. |
| 60 | +* redis-benchmark improvements: ability to run selected tests, |
| 61 | + CSV output, faster, better help. |
| 62 | +* redis-cli improvements: --eval for comfortable development of Lua scripts. |
| 63 | +* SHUTDOWN now supports two optional arguments: "SAVE" and "NOSAVE". |
| 64 | +* INFO output split into sections, the command is now able to just show |
| 65 | + pecific sections. |
| 66 | +* New statistics about how many time a command was called, and how much |
| 67 | + execution time it used (INFO commandstats). |
| 68 | +* More predictable SORT behavior in edge cases. |
| 69 | +* INCRBYFLOAT and HINCRBYFLOAT commands. |
| 70 | + |
| 71 | +-------------------------------------------------------------------------------- |
| 72 | + |
| 73 | +Credits: Where not specified the implementation and design are done by |
| 74 | +Salvatore Sanfilippo and Pieter Noordhuis. Thanks to VMware for making all |
| 75 | +this possible. Also many thanks to all the other contributors and the amazing |
| 76 | +community we have. |
| 77 | + |
| 78 | +See commit messages for more credits. |
| 79 | + |
| 80 | +Cheers, |
| 81 | +Salvatore |
0 commit comments