X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/c2513ecb9877d9976da31bc11f84e1dab68777b5..9311d2b527b0bb3e72e61b143718e6def51491e6:/00-RELEASENOTES diff --git a/00-RELEASENOTES b/00-RELEASENOTES index dd87cb18..2c7fad2b 100644 --- a/00-RELEASENOTES +++ b/00-RELEASENOTES @@ -3,18 +3,15 @@ Redis 2.6 release notes Migrating from 2.4 to 2.6 ========================= -Redis 2.4 is mostly a strict subset of 2.6. -The only thing you should be aware is that you can't use .rdb and AOF files -generated with 2.4 into a 2.2 instance. +Redis 2.4 is mostly a strict subset of 2.6. However there are a few things +that you should be aware of: -2.4 slaves can be attached to 2.2 masters, but not the contrary, and only for -the time needed to perform the version upgrade. +* You can't use .rdb and AOF files generated with 2.6 into a 2.4 instance. +* 2.4 slaves can be attached to 2.6 masters, but not the contrary, and only + for the time needed to perform the version upgrade. -From the point of view of the API Redis 2.4 only adds new commands -(other commands now accepts a variable number of arguments) so you don't need -to modify your program in order to use Redis 2.4. - -However there are a few semantical differences that you should be aware of: +There are also a few API differences, that are unlikely to cause problems, +but it is better to keep them in mind: * SORT now will refuse to sort in numerical mode elements that can't be parsed as numbers. @@ -22,18 +19,30 @@ However there are a few semantical differences that you should be aware of: break code that was not conceived exploting the previous resolution error in some way.) * INFO output is a bit different now, and contains empty lines and comments - starting with '#'. + starting with '#'. All the major clients should be already fixed to work + with the new INFO format. + +Also the following redis.conf and CONFIG GET / SET parameters changed name: + + * hash-max-zipmap-entries, now replaced by hash-max-ziplist-entries + * hash-max-zipmap-value, now replaced by hash-max-ziplist-value + * glueoutputbuf option was now completely removed (was deprecated) --------- CHANGELOG --------- -What's new in Redis 2.6.0 -========================= +What's new in Redis 2.5.7 (aka 2.6 Release Candidate 1) +======================================================= -UPGRADE URGENCY: We suggest new users to start with 2.6.0, and old users to - upgrade after some testing of the application with the new - Redis version. +UPGRADE URGENCY: upgrade not recommended because this is an RC release. + +* This is the first release candidate for Redis 2.6. We are not aware of + bugs, but part of this code is young and was never tested in production + environments, so handle with care. + +An overview of new features and changes in Redis 2.6.x +====================================================== * Server side Lua scripting, see http://redis.io/commands/eval * Virtual Memory removed (was deprecated in 2.4) @@ -42,7 +51,10 @@ UPGRADE URGENCY: We suggest new users to start with 2.6.0, and old users to in slaves. * Milliseconds resolution expires, also added new commands with milliseconds precision (PEXPIRE, PTTL, ...). -* Clinets max output buffer soft and hard limits. You can specifiy different +* Better memory usage for "small" lists, ziplists and hashes when fields or + values contain small integers. +* Read only slaves. +* Clients max output buffer soft and hard limits. You can specifiy different limits for different classes of clients (normal,pubsub,slave). * AOF is now able to rewrite aggregate data types using variadic commands, often producing an AOF that is faster to save, load, and is smaller in size. @@ -50,6 +62,12 @@ UPGRADE URGENCY: We suggest new users to start with 2.6.0, and old users to redis-server binary, with the same name and number of arguments. * Hash table seed randomization for protection against collisions attacks. * Performances improved when writing large objects to Redis. +* Integrated memory test, see redis-server --test-memory. +* INCRBYFLOAT and HINCRBYFLOAT commands. +* New DUMP, RESTORE, MIGRATE commands (back ported from Redis Cluster to 2.6). +* CRC64 checksump in RDB files. +* Better MONITOR output and behavior (now commands are logged before execution). +* "Software Watchdog" feature to debug latency issues. * Significant parts of the core refactored or rewritten. New internal APIs and core changes allowed to develop Redis Cluster on top of the new code, however for 2.6 all the cluster code was removed, and will be released with @@ -66,7 +84,8 @@ UPGRADE URGENCY: We suggest new users to start with 2.6.0, and old users to * New statistics about how many time a command was called, and how much execution time it used (INFO commandstats). * More predictable SORT behavior in edge cases. -* INCRBYFLOAT and HINCRBYFLOAT commands. +* Better support for big endian and *BSD systems. +* Build system improved. --------------------------------------------------------------------------------