xref: /redis-3.2.3/00-RELEASENOTES (revision bb3ed7e2)
1Redis 3.2 release notes
2=======================
3
4--------------------------------------------------------------------------------
5Upgrade urgency levels:
6
7LOW:      No need to upgrade unless there are new features you want to use.
8MODERATE: Program an upgrade of the server, but it's not urgent.
9HIGH:     There is a critical bug that may affect a subset of users. Upgrade!
10CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
11--------------------------------------------------------------------------------
12
13--[ Redis 3.2.0 RC1 (version 3.1.101) ] Release date: 23 dec 2015
14
15This is the first release candidate of Redis 3.2. The changelog above shows
16what's new in this release. In the next of the following weeks we'll test
17in depth every feature and we'll release new RCs as bugs are discovered
18and fixed. Note that while 3.2 looks solid already, it contains many changes
19to its internals. It's still fresh code compared to 3.0.
20
21General changes:
22
23* [NEW] Lua scripts "effect replication". Makes possible to write scripts
24        with side effects, use of random commands, and so forth.
25        (Salvatore Sanfilippo)
26* [NEW] Lua scripts selective replication. Makes possible to replicate to
27        slaves and AOF only selected parts of a script. (Design by
28        Yossi Gottlieb and Salvatore Sanfilippo, implemented by Salvatore)
29* [NEW] Geo indexing support via GEOADD, GEORADIUS and other commands.
30        See http://redis.io/commands/geoadd for more information.
31        (Initially implemented in a fork of Redis called "Ardb".
32         Matt Stancliff "imported back" the work to Redis and created the
33         initial API and implementation. Salvatore Sanfilippo modified
34         the API and the implementation, fixed bugs, improved performances
35         and unified the duplicated code with t_zset.c)
36* [NEW] Lua debugger. A complete stepping, remote debugger for Lua scripts.
37        Video here: https://www.youtube.com/watch?v=IMvRfStaoyM
38        (Salvatore Sanfilippo with many feedbacks and testing from
39         Itamar Haber)
40* [NEW] SDS improvements for speed and maximum string length.
41        This makes Redis more memory efficient in different use cases.
42        (Design and implementation by Oran Agra, some additional work
43         by Salvatore Sanfilippo)
44* [NEW] Modify Jemalloc size classes to make certain Redis objects fit
45        better, improving memory efficiency. (Oran Agra)
46* [NEW] Better consistency behavior between masters and slaves for expired
47        keys. The slaves are only able to logically consider a key expired
48        even before receiving the `DEL` command from the master. This avoids
49        the delay there is sometimes between the natural expire of the key
50        and the moment the slave is notified. (Salvatore Sanfilippo)
51* [NEW] Support daemon supervision by upstart or systemd (Pierre-Yves Ritschard)
52* [NEW] New encoding for the List type: Quicklists. Very important memory
53        savings and storage space in RDB gains (up to 10x sometimes).
54        (Design and implementation by Matt Stancliff. RDB storage reworked
55         by Salvatore Sanfilippo)
56* [NEW] SPOP with optional count argument. (Initial implementation by
57        Alon Diamant, mostly reimplemented by Salvatore Sanfilippo for speed
58        and in order to make the replication of a this class of commands,
59        having as logical effect the execution of multiple commands, possible).
60* [NEW] Support for RDB AUX fields. Now RDB files contain additional info
61        like the creation date, version of Redis generating it and so forth.
62        (Salvatore Sanfilippo)
63* [NEW] Faster RDB loading via the RESIZEDB opcode to avoid useless hash tables
64        rehashings. (Salvatore Sanfilippo)
65* [NEW] HSTRLEN command. (@landmime and Salvatore Sanfilippo)
66* [NEW] CONFIG SET/GET implementations refactored, partially rewritten,
67        now exposing more config options. (Salvatore Sanfilippo)
68* [NEW] CLUSTER NODES major speedup. (Salvatore Sanfilippo)
69* [NEW] CLIENT KILL TYPE MASTER, to kill (disconnect) masters from slaves.
70        (Salvatore Sanfilippo)
71* [NEW] Jemalloc updated to 4.0.3 (Salvatore Sanfilippo)
72* [NEW] DEBUG RESTART/CRASH-AND-RECOVER [delay] (Salvatore Sanfilippo)
73* [NEW] CLIENT REPLY command implemented: ON, OFF and SKIP modes.
74        (Salvatore Sanfilippo)
75* [NEW] Crash report produced by Redis on crash improved. (Salvatore Sanfilippo)
76* [NEW] Better memory test on crash. (Salvatore Sanfilippo)
77
78Redis Cluster changes:
79
80All the Redis Cluster changes in 3.2 were backported to 3.0, so there is
81technically nothing new for now in this release. The most important things
82are:
83
84* Cluster rebalancing.
85* A pipelined MIGRATE command which is 10x faster and makes resharding
86  and rebalancing faster.
87* Improved replicas migration.
88* As a side effect of quicklists encoding (see above items), moving big
89  lists between nodes is now a lot faster.
90
91Redis Sentinel changes:
92
93* [NEW] Sentinel connection sharing. Makes Sentinels able to scale to
94        monitor many masters. (Salvatore Sanfilippo)
95* [NEW] New SENTINEL INFO-CACHE command. (Matt Stancliff)
96* More things backported to Redis 3.0 in the past, so no longer news of 3.2.
97
98Migrating from 3.0 to 3.2
99=========================
100
101Redis 3.0 is mostly a strict subset of 3.2, you should not have any problem
102upgrading your application from 3.0 to 3.2. However this is a list of small
103non-backward compatible changes introduced in the 3.2 release:
104
105* The default configuration file now binds to 127.0.0.1.
106* Slaves try to no longer expose stale data about already expired keys.
107* The RDB format changed. Redis 3.2 is still able to read 3.0 (and all the
108  past versions) files, but not the other way around.
109* Behavior on crash may be different. The crash log format changed and
110  the memory test executed is now different.
111
112--------------------------------------------------------------------------------
113
114Credits: For each release, a list of changes with the relative author is
115provided. Where not specified the implementation and design is done by
116Salvatore Sanfilippo. Thanks to Redis Labs for making all this possible.
117Also many thanks to all the other contributors and the amazing community
118we have.
119
120Commit messages may contain additional credits.
121
122Cheers,
123Salvatore
124