]> git.saurik.com Git - redis.git/blame - 00-RELEASENOTES
memtest.c fixed to actually use v1 and v2 in memtest_fill_value().
[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
d22248ae 25Also the following redis.conf and CONFIG GET / SET parameters changed name:
26
27 * hash-max-zipmap-entries, now replaced by hash-max-ziplist-entries
28 * hash-max-zipmap-value, now replaced by hash-max-ziplist-value
29 * glueoutputbuf was no completely removed as it does not make sense
30
c2513ecb 31---------
32CHANGELOG
33---------
34
35What's new in Redis 2.6.0
36=========================
37
38UPGRADE URGENCY: We suggest new users to start with 2.6.0, and old users to
39 upgrade after some testing of the application with the new
40 Redis version.
41
42* Server side Lua scripting, see http://redis.io/commands/eval
43* Virtual Memory removed (was deprecated in 2.4)
44* Hardcoded limits about max number of clients removed.
45* AOF low level semantics is generally more sane, and especially when used
46 in slaves.
47* Milliseconds resolution expires, also added new commands with milliseconds
48 precision (PEXPIRE, PTTL, ...).
748f206e 49* Better memory usage for "small" lists, ziplists and hashes when fields or
50 values contain small integers.
518e7202 51* Clients max output buffer soft and hard limits. You can specifiy different
c2513ecb 52 limits for different classes of clients (normal,pubsub,slave).
53* AOF is now able to rewrite aggregate data types using variadic commands,
54 often producing an AOF that is faster to save, load, and is smaller in size.
55* Every redis.conf directive is now accepted as a command line option for the
56 redis-server binary, with the same name and number of arguments.
57* Hash table seed randomization for protection against collisions attacks.
58* Performances improved when writing large objects to Redis.
748f206e 59* Integrated memory test, see redis-server --test-memory.
60* INCRBYFLOAT and HINCRBYFLOAT commands.
61* New DUMP, RESTORE, MIGRATE commands (back ported from Redis Cluster to 2.6).
62* CRC64 checksump in RDB files.
63* Better MONITOR output and behavior (now commands are logged before execution).
64* "Software Watchdog" feature to debug latency issues.
c2513ecb 65* Significant parts of the core refactored or rewritten. New internal APIs
66 and core changes allowed to develop Redis Cluster on top of the new code,
67 however for 2.6 all the cluster code was removed, and will be released with
68 Redis 3.0 when it is more complete and stable.
69* Redis ASCII art logo added at startup.
70* Crash report on memory violation or failed asserts improved significantly
71 to make debugging of hard to catch bugs simpler.
72* redis-benchmark improvements: ability to run selected tests,
73 CSV output, faster, better help.
74* redis-cli improvements: --eval for comfortable development of Lua scripts.
75* SHUTDOWN now supports two optional arguments: "SAVE" and "NOSAVE".
76* INFO output split into sections, the command is now able to just show
77 pecific sections.
78* New statistics about how many time a command was called, and how much
79 execution time it used (INFO commandstats).
80* More predictable SORT behavior in edge cases.
748f206e 81* Better support for big endian and *BSD systems.
82* Build system improved.
c2513ecb 83
84--------------------------------------------------------------------------------
85
86Credits: Where not specified the implementation and design are done by
87Salvatore Sanfilippo and Pieter Noordhuis. Thanks to VMware for making all
88this possible. Also many thanks to all the other contributors and the amazing
89community we have.
90
91See commit messages for more credits.
92
93Cheers,
94Salvatore