Initial support for the binary protocol
[awesomized/libmemcached] / ChangeLog
1 0.23
2 * Added strings.h header for Solaris 9
3 * Solaris 64bit fix.
4 * Support for weighted Ketama from Yin Chen.
5 * Fix for Chinese
6 * Fix for 0 length key to trigger bad key.
7
8 0.22 Mon Jul 14 09:24:11 PDT 2008
9 * Fix where master key was no being checked for "bad key"
10 * Fixed bugs in stats output (thread output was wrong)
11 * Clarified MEMCACHED_BAD_KEY_PROVIDED is return for bad prefix key.
12 * Found a bug in Flags return (Jacek Ostrowski)
13 * Fixed issue with compiling on Visual Studio
14
15 0.21 Fri May 23 18:34:09 PDT 2008
16 * Change of char * to const char * for all key based functions.
17 * New MEMCACHED_CALLBACK_PREFIX_KEY added. You can now create domains for
18 values.
19 * Fixed bug introducd in last version on memcp
20 * Fix for death of file io to call shutdown()
21
22 0.20 Mon May 5 08:34:26 PDT 2008
23 * New consistent distribution tests.
24 * Found a memory leak when a server constantly fails.
25 * Fix in watchpoint macro
26 * Changed default timeout to 1 second for poll timeouts
27 * Wheel uses less memory/dynamic allocation for size (no longer limited to
28 512 hosts by default.
29 * memslap memory leak fix
30 * Added Ketama distribution
31 * Fix assert.h compile problem on CentOS
32
33 0.19 Wed Apr 9 09:30:53 PDT 2008
34 * Documentation fix in libmemcached.
35 * Fixed bug where sort was always occuring on hosts
36 * Logic fix in branch prediction (thanks Jay!)
37 * Read through cached support.
38 * Fixed for cas by key operation.
39 * Fix for memcached_server_st list structures to have correct count.
40 * Added callback MEMCACHED_CALLBACK_DELETE_TRIGGER
41 * Removed function call in favor of macro (aka cut out some instructions)
42
43
44 0.18 Sun Mar 16 21:57:55 PDT 2008
45 * Fix plus tests for non-zero value objects and flags.
46 * MEMCACHED_HASH_MURMUR added for murmur algorithm provided.
47 * MEMCACHED_BEHAVIOR_RETRY_TIMEOUT added to keep connecting from looping
48 on timeout.
49 * gcc branch prediction optimizations
50 * Refactored entire tree to make include files cleaner
51 * Fixed leaked socket.
52
53 0.17 Wed Feb 27 03:33:29 PST 2008
54 * MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT added for connect timeout in
55 non-block mode.
56 * Incompatible change in memcached_behavior_set() api. We now use a
57 uint64_t, instead of a pointer.
58 * Fix for storage of values for zero.
59 * memcached_server_cursor() function added to API for cycling through servers.
60
61 0.16 Mon Feb 18 00:30:25 PST 2008
62 * Work on the UDP protocol
63 * Added get_by_key, set_by_key tests for C++ API
64 * Fix for limit_maxbytes to be 64bit in stats
65 * Added Atom Smasher test (scale baby, scale!)
66 * Servers are now sorted, meaning that servers are now ordered so that
67 clients with the same lists, will have same distribution. (Idea from
68 Ross McFarland). MEMCACHED_BEHAVIOR_SORT_HOSTS was added to enable
69 this support.
70 * Added MEMCACHED_BAD_KEY_PROVIDED error for auto, set, and get operations.
71 MEMCACHED_BEHAVIOR_VERIFY_KEY was added to enable this feature.
72 * More error messages on command line tools.
73 * Fixed bugs in memcached_cas() operator.
74 * Fix to loop through interfaces
75
76 0.15 Tue Jan 29 14:55:44 PST 2008
77 * More work on the C++ API.
78 * Bug fixes around block corner cases.
79 * Slight performance increase in both read() and write().
80
81 0.14 Tue Jan 22 06:21:49 PST 2008
82 * For for bug found by Evan Weaver where increment() was not returning
83 propper error of value was not found.
84 * Fix for bad null pointer on flag by Toru Maesaka.
85 * Refactor of all IO to just pass in the active server
86 * Problem configuring (PKG_CHECK_MODULES) fixed by removal of "rpath" in
87 support/libmemcached.pc.in (Thanks to Ross McFarland).
88 * Added memcached_callback_get()/set()
89 * First prototype of C++ interface
90 * Updated docs for uint16_t changes in previous release
91
92 0.13 Sun Jan 13 06:51:50 PST 2008
93 * MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer.
94 * Fix for failure to connect to invalidate socket.
95 * Patch from Marc Rossi to add --hash option for memcp, memrm, and memcat.
96 * Kevin's patch for fixing EOF issues during a read.
97 * Toru Maesaka patch for stats mismatch
98 * Fix for when CRC return 0
99 * Fixed uint16_t issues around flags. Turns out the documentation on the
100 protocol was wrong.
101 * Lingering socket fixes for FreeBSD.
102 * Patches from Kevin Dalley for FreeBSD 4.0
103 * Added multi delete functions.
104 * All get key returns have C style null termination
105 * If memcached_server_list_append is passed NULLs instead of pointers it
106 returns NULL.
107 * Added memcached_fetch_execute() method
108 * Found a bug where memcached_fetch() was not null terminating the result
109 value.
110 * memcached_behavior() now has the ability to set "buffering" so that
111 data is not automatically flushed.
112 * Behavior change, buffered commands now return MEMCACHED_BUFFERED
113
114 0.12 Tue Dec 11 15:20:55 PST 2007
115 * Updates for consistent hashing
116 * IPV6 support
117 * Static allocation for hostname (performance)
118 * Fixed bug where in non-block mode all data might not have been sent on
119 close().
120 * Refactor of memcached_get() to use common code.
121 * Change in value fetch, MEMCACHED_END is now returned when keys are no
122 longer in the pipe.
123 * Fixed bug where key could be out of range of characters
124 * Added _by_key() methods to allow partitioning of values to particular
125 servers.
126 * MEMCACHED_DEFAILT_TIMEOUT is now set to a non -1 value.
127 * Performance improvements in get operations.
128
129 0.11 Mon Nov 26 01:05:52 PST 2007
130 * Added option to memcache_behavior_set() so that poll() can be timed out.
131 * Fixed memory leak in case of using memcached_fetch_result() where no
132 value was returned.
133 * Bug fixed in memcached_connect() which would cause servers that
134 did not need to be enabled to be enabled (performance issue).
135 * Rewrote bounds checking code for get calls.
136 * "make test" now starts its own memcached servers.
137 * Added Hseih hash (MEMCACHED_HASH_HSIEH), which is showing about 7%
138 performance over standard hash.
139
140 0.10 Tue Nov 20 23:22:31 PST 2007
141 * Added append binary test.
142 * Added MEMCACHED_BEHAVIOR_CACHE_LOOKUPS behavior so that you can save on
143 multiple DNS lookups.
144 * Added CAS support, though this is optional and must be enabled during
145 runtime.
146 * Added the utility memerror to create human readable error strings
147 from memcached errors (aka convert ints to strings)
148 * Fixed type in MEMCACHED_HOST_LOOKUP_FAILURE
149 * Fixed bug where hostname might not be null terminated
150 * Moved to using gethostbyname_r() on Linux to solve thread safety issue
151 * Added -rpath support for pkg-config
152 * Documentation fix for hash setting using memcached_behavior_set()
153
154 0.9 Thu Nov 15 07:44:00 PST 2007
155 * fix for when no servers are definied.
156 * different buffers are now kept for different connections to
157 speed up async efforts
158 * Modified increment/decrement functions to return uint64_t values
159 * Fixed bug in cases where zero length keys were provided
160 * Thread cleanup issue in memslap
161 * No hostname lookup on reconnect
162 * Fix for flag settings (was doing hex by accident!)
163 * Support for 1.2.4 server additions "prepend" and "append" added.
164 * Added memcached_version()... not sure if I will make this public
165 or not.
166
167 0.8 Mon Nov 5 10:40:41 PST 2007
168 * Adding support for CRC hash method
169 * Adding support for UNIX sockets
170 * Added additional HASHing methods of FNV1_64,FNV1A_64, FNV1_32, FNV1A_32
171 * Added pkgconfig support (PKG_CHECK_MODULES)
172 * Fixed conflict with defined type in MySQL
173 * Added memcached_result_st structure and functions to manipulate it.
174
175 0.7 Tue Oct 30 09:24:05 PDT 2007
176 * Poved to poll() from select()
177 * Fixes in internal string class for allocation of large numbers of
178 strings.
179 * memcached_mget() function now sends keys as it parses them instead of
180 building strings as it goes.
181 * Propper flush now for making sure we get all IO sent even when in
182 non-block mode.
183 * Added --enable-debug rule for configure
184 * All asserts() removed (hey this is going into production!)
185
186
187 0.6 Wed Oct 17 08:41:35 PDT 2007
188 * get value returns are now null terminated (request by Cal Heldenbrand)
189 * Fixed connections for more hosts then two.
190 * Rewrite of the read/write IO systems to handle different sorts of host
191 failures.
192 * Added man pages for all functions and tools
193 * Raised buffer size for readinng/writing to 16K
194 * You can now optionally set the socket size for recv/send via
195 memached_behavior_set/get.
196
197 0.5 Tue Oct 9 00:22:25 PDT 2007
198 * Ruby maintainer mentioned TCP_NODELAY patch he had added. Added this to C
199 library as well. (Eric Hodel drbrain@segment7.net)
200 * Added support script for set_benchmark
201 * Updated memslap to allow testing of TCP_NODELAY
202 * Updated memslap to support --flush (aka dump memcache servers before
203 testing)
204 * Fixed bug in multiple hosts not being activated
205 * Added environmental variable MEMCACHED_SERVERS which can be used to
206 set the servers list.
207 * fixed memcached_stat method (and now memstat works)
208 * server connect now happens on demand.
209 * Help for all command line applications
210
211 0.4 Wed Oct 3 10:28:50 PDT 2007
212 * Added buffered IO to write calls for keys
213 * Added buffered IO for reads
214 * memstat was broken (bad if/else on connect)
215 * New non-blocking IO (not default yet). Mucho faster
216 * Refactor of test system.
217 * memslap crash solved
218
219 0.3 Mon Oct 1 06:37:52 PDT 2007
220 * Jeff Fisher <guppy@techmonkeys.org> provided a spec file
221 * Added "make rpm" around dist file
222 * Added support for Solaris
223 * Added support for DTrace
224 * Fixed read to be recv and write to be send
225 * Bug fix where memstat would core if no server was found
226 * Added memslap tool (load generator)
227 * Numerous bug fixes in library
228 * Added calls to library for creating host lists (see
229 text cases to understand how to use this).
230
231 0.2 Thu Sep 27 03:46:57 PDT 2007
232 * First public version
233