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