Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 200 lines (151 sloc) 8.845 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
Redis 2.2 release notes

Migrating from 2.0 to 2.2
=========================

Redis 2.0 is mostly a strict subset of 2.2. Some return value changed in edge
cases, basicaly it is very unlikely that you will experience any problem
upgrading your 2.0 instances to 2.2, as 2.2 can work as a drop in replacement
for 2.0.

---------
CHANGELOG
---------

What's new in Redis 2.2.11
==========================

* Solved a never reported but possibly critical bug in the AOF and RDB
persistence, introduced with the new version of the iterator: In very rare
circumstances the AOF (after rerwite) or the rdb file may contain the same
key more than one time.

What's new in Redis 2.2.10
==========================

* Fix for issue 566. It was possible for SETNX to behave in abnormal ways.
* Work with make v3.80
* redis-cli updated to the same version as the 2.4 branch. Now the
  reconnection handling is better. You can prefix commands with a number
  to execute the command the specified number of times. When using -r
  in non interactive mode it is possible to set a delay between commands.
* Better init script.

What's new in Redis 2.2.9
=========================

Redis 2.2.9 is an important bugfix release:

* A Slave used to rewrite the AOF log after a sync with the master, but the
  rewrite was performed at the wrong time, causing inconsistencies in the
  AOF file generated.
* [LR]LPUSH replication in presence of BRPOPLPUSH was broken. Fixed.
* Memory leak in BRPOPLPUSH fixed.
* Pub/Sub bug resulting in random crashes fixed.

What's new in Redis 2.2.8
=========================

* A new form of dict.c (hash table implementation) iterator that performs less
  copy-on-write of pages, introduced in Redis 2.2.7, caused ZINTERSTORE,
  ZUNIONSTORE, SINTER, SINTERSTORE commands to behave in the wrong way.
  This bug is now fixed.
* Print version info before running the test with 'make test'. This is mainly
  useful for the Continuous Integration system we run.
* Fix for DEBUG DIGEST, key may expire on lookup, producing the wrong result.
* Replication with expire test modified to produce no or less false failures.
* Fixed Z*STORE when dealing with intsets, regression test added.

What's new in Redis 2.2.7
=========================

* Fixed bug #543-2 (the issue was reopened with a completely different report)
  that caused Redis to randomly crash on list push performed against lists
  with other clients blocked with BLPOP (or variants).

What's new in Redis 2.2.6
=========================

* Fixed bug #543. If you saw Redis instances crashing on List operations
  (only happening with a non-default max entry size ziplist setting in
  redis.conf) it was almost certainly this problem.
* Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the
  connection with all its slaves.

What's new in Redis 2.2.5
=========================

* Fixed a crash occurring when loading an AOF containing the SPOP command.

What's new in Redis 2.2.4
=========================

* Return value of OBJECT DEBUG against sorted sets fixed, now is "skiplist".

What's new in Redis 2.2.3
=========================

* Fixed issue #503. MONITOR + QUIT (and other combinations) could crash
  the server.
* OBJECT command implemented. See http://redis.io/commands/object
* Fixed a problem in redis-cli related to escapes in the form "\x..".
* Fixed a minor memory leak in redis-cli
* Saved RDB on SIGTERM on archs where it was not working properly.

What's new in Redis 2.2.2
=========================

Redis 2.2.2 is a bugfix release. Changelog:

* AOF file descriptor leak after the first rewrite fixed.
* Return value of GETRANGE / SUBSTR is now an empty string if the interval
  specified is not valid, or the key does not exist. Was a null bulk reply
  before, but this is against the Redis way.

What's new in Redis 2.2.1
=========================

Redis 2.2.1 is a bugfix release. Changelog:

* Fixed an SPOP crash. When using SPOP in a MULTI/EXEC block there was a problem
  introduced in the latest release when fixing an SPOP replication/AOF related
  bug.

What's new in Redis 2.2.0 final
===============================

Redis 2.2.0 final is both a bug fix and minor enhancement release:

* SPOP is now replicated correctly in AOF and across slaves.
* CONFIG SET/GET for all the special encoding parameters of sets, lists, hashes.
* Now BRPOPLPUSH will reply with single null bulk on timeout.
* Specifying port 0 in redis.conf will tell Redis to don't listen on TCP socket.
* Propagate key eviction to slaves and AOF, similarly to expires.

What's new in Redis 2.1.10 (2.2 Release Candidate 4)
====================================================

Redis 2.2 RC4 is a bug fix and minor enhancement release:

* Fixed timeout error in replication where master took a big time to BGSAVE.
* Introduced explicit PING between master and slave, to reliably detect when
  the link is down, even if the socket remains apparently connected.
* Fixed compilation on FreeBSD.
* Removed a small portability issue in redis-benchmark.

What's new in Redis 2.1.10 (2.2 Release Candidate 3)
====================================================

Redis 2.2 RC3 is a bug fix and minor enhancements release:

* Solaris fixes
* Fixes and improvements for redis-benchmark
* New INFO field with memory allocation details
* New INFO fields with info about clients max input/output buffer
* Replication: KEYS fixed in slaves
* Different default thresholds for Hash type memory saving encodings

What's new in Redis 2.1.10 (2.2 Release Candidate 2)
====================================================

Redis 2.2 RC2 is exactly like RC1 with the following minor changes:

* Added evicted keys counter separated from expired keys.
* Overflow detection in INCR family functions.

Enjoy,
Salvatore

What's new in Redis 2.1.9 (2.2 Release Candidate 1)
===================================================

This is the first Release Candidate of Redis 2.2, in our experience the
server is very stable, but in the latest weeks we rewrote part of the internals
in order to use a lot less memory while the saving child process is performing
a BGREWRITEAOF or a BGSAVE, so handle with care for a couple of weeks.

Oh, and I've some very good news: the majority of apps can work if you simply replace 2.2 in your old 2.0 environment. I can't think of any breakage.

WHAT'S NEW IN REDIS 2.2 compared to the 2.0 version?
====================================================

* Specially encoded data types, small lists and sets can now use up to an order of magnitude less memory.
* VM partial rewrite for code cleaness and memory usage.
* Change to the implementation of the top level dictionary for better memory efficienty.
* redis-cli is hugely improved: tab completion, inline help (Thanks to TJ Holowaychuk), raw output, rewritten using the new hiredis C library.
* Networking internals rewritten for efficiency. You can expect LRANGE and similar commands to be at least 10 times faster.
* Most read only commands are now copy-on-write friendly, this means that Redis will use little memory when a saving child is active and the parent process is mostly stressed by read queries.
* Non blocking replication even from the point of view of the slave, with configurable behavior about what to do when the link is disconnected. You can select if serving old data or replying with an error.
* Check-and-set (CAS) transactions with the new WATCH command.
* Now write operations work against keys with an EXPIRE set! Imagine the possibilities.
* New maxmemory eviction policies. It is possible to select among LRU, farest TTL expire, and other algorithms, and if when the memory limit is reached only keys with an expire set or all the keys should be expired.
* SETBIT / GETBIT / SETRANGE / GETRANGE / STRLEN. Now your strings are your arrays!
* Syslog support (Thanks to Jonah H. Harris)
* Unix domain socket support.
* New List related functions LINSERT, LPUSHX, RPUSHX (Thanks to Robey Pointer)
* BRPOPLPUSH (Thanks to Michel Martens and Damian Janowski)
* Much more interesting informations in the INFO output.
* Sorted sets are now less memory hungry.
* Non blocking loading of .rdb / AOF file on startup, with progress information in the INFO output.
* Now Redis has a clean, powerful, supported C library: hiredis.
* Code layout completely new, the 2.0.x huge redis.c file is now splitted in many parts.
* Redis-benchmark rewritten to be faster and in order to use hiredis as well.
* Ability to rename or disable commands from the config file.
* Endless other CPU optimizations and bugs fixed.

Credits: Where not specified the implementation and design are done by Salvatore Sanfilippo and Pieter Noordhuis. Thanks to VMware for making all this possible. Also many thanks to all the other contributors and the amazing community we have.

Cheers,
Salvatore
Something went wrong with that request. Please try again.