prepare v1.1.4
[awesomized/libmemcached] / ChangeLog-0.md
1 # ChangeLog v0.x
2
3 ## v 0.53
4 > released 2011-09-27
5
6 * Fix for FreeBSD/OpenBSD and -lm
7 * Added memcached_exist()
8 * Fix for memory when using config test.
9 * CLI gained --quiet
10
11 ## v 0.52
12 > released 2011-09-12
13
14 * Build fixes for Ubuntu/Suse.
15 * Fixes for OSX Lion.
16 * Bug fix for looping back through dns lookups under certain failures.
17 * Fixes related to dead server failures.
18
19 ## v 0.51
20 > released 2011-07-21
21
22 * memcached_callback_set() now takes its data argument as const
23 * Update to tests.
24 * Fix in parser for port number.
25
26 ## v 0.50
27 > released 2011-06-20
28
29 * Updates to C++ interface
30 * Custom free allocators need to now check for value before calling free.
31 * memcached_fetch_result() now uses the internal result when available (about 25 to 50% faster).
32 * Fix for stats structure.
33 * Updates to documentation.
34 * memcached_fetch_result() now uses the internal result when available (about 25 to 50% faster).
35
36 ## v 0.49
37 > released 2011-04-14
38
39 * Fix calls to auto methods so that if value is not passed in nothing bad happens.
40 * New parser calls for generating memcached_st objects.
41 * New error system.
42 * New flow control for messages means faster get/set calls.
43 * Added new documentation system.
44 * A behavior change has been now made that if you specify a weight for any server, we enable the weight flag and do weight balancing.
45 * Added MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS to simplify the setting of AUTO REJECT for servers.
46
47 ## v 0.48
48 > released 2011-03-16
49
50 * Fix memory leak in server parse.
51 * Move test framework out to be its own library (easier to work with Gearman).
52
53
54 ## v 0.47
55 > released 2011-02-24
56
57 * Additional fixes for OpenBSD.
58 * Bug fix 677609, 456080.
59 * SIGPIPE fix for Linux send().
60 * memcapable can now test ascii or binary based on flags.
61 * Additional build fixes for SASL.
62
63
64 ## v 0.46
65 > released 2011-02-14
66
67 * Fixes a number of corner case bugs.
68 * Fixes related to OpenBSD.
69 * Better testing for protocol version.
70 * Removes special case infinite wait on blocking setup.
71
72 ## v 0.45
73 > released 2011-02-09
74
75 * Add support for systemtap
76
77 ## v 0.44
78 > released 2010-09-23
79
80 * Windows bug fixes.
81 * Hudson port support in test harness.
82 * Improved portability of test hanrness.
83 * SASL fixes.
84
85 ## v 0.43
86 > released 2010-07-28
87
88 * Added --args to memstat so that a greater range of values can be returned.
89 * Prelimanary support for Windows.
90 * memcached_stat_execute() merged.
91
92 ## v 0.42
93 > released 2010-07-06
94
95 * Mistake in libtool caused issue with library version
96
97 ## v 0.41
98 > released 2010-06-30
99
100 * Added --file for memcat.
101 * Added limemcached_ping() to libmemcached_util
102 * Bugfix for some cases where connect would have issues with timeout.
103 * Wrong value for errno given as error on an IO failure inside of poll.
104 * Bug fix for issue where multiple interfaces with bad DNS were not being caught.
105
106 ## v 0.40
107 > released 2010-04-23
108
109 * Placed retry logic in for busted resolvers
110 * Add an ignore for SIGPIPE to solve OSX issues.
111 * A couple of fixed for memcached_light server.
112 * Updated to debug mode to track io_wait
113
114 ## v 0.39
115 > released 2010-04-06
116
117 * Add support for prefix keys to binary protocol.
118 * Remove the undocumented call memcached_server_remove().
119 * The undocumented call memcached_server_by_key() now returns const.
120 * memcached_server_error_reset() has been deprecated.
121 * memcached_server_list() has been deprecated. Use memcached_server_cursor() to walk the servers found in a memcached_st() structure.
122 * memcached_verbosity() can now be run concurrently with other operations.
123 * SASL support.
124 * Fixes memory leak found in EJECT HOSTS.
125
126 ## v 0.38
127 > released 2010-02-10
128
129 * C++ interface for libhashkit.
130 * Modified memcached_set_memory_allocators() so that it requires a context pointer.
131 * memcached_clone() now runs 5 times faster.
132 * Functions used for callbacks are now given const memcached_st.
133 * Added MEMCACHED_BEHAVIOR_CORK.
134 * memslap now creates a configuration file at ~/.memslap.cnf
135 * memcached_purge() now calls any callbacks registered during get execution.
136 * Many fixes to memslap.
137 * Updates for memcapable.
138 * Compile fixes for OpenBSD.
139 * Fix for possible recursive decent on IO failure.
140
141 ## v 0.37
142 > released 2010-01-12
143
144 * Fixed build for libhashkit.
145 * Fixed install path regression.
146 * Modified RPM to strict check install.
147 * Added documentation for memcached_server_cursor();
148 * Added memcached_servers_reset().
149 * Modified memcached_st to remove dead cursor_server member.
150
151 ## v 0.36
152 > released 2010-01-07
153
154 * Merged in new memslap utility.
155 * All of constants.h has been updated to match style (all old identifiers continue to work).
156 * Added first pass for libhashkit.
157 * Updated test Framework/extended tests.
158 * Random read support during replication added.
159 * Modified use_sort so that the option can be applied to any distribution type.
160 * We removed the MEMCACHED_BEHAVIOR_KETAMA_COMPAT_MODE added in 0.35. Instead use memcached_behavior_set_distribution().
161
162 ## v 0.35
163 > released 2009-11-09
164
165 * Added support for by_key operations for inc/dec methods.
166 * Added mget test to memslap.
167 * Support for compatible ketama for SpyMemcached
168 * Update C++ interface.
169 * Fix for memcp
170
171 ## v 0.34
172 > released 2009-10-13
173
174 * Added support for setting behavior flags on a connection pool.
175 * Don't increment server_failure_counter on normal disconnects.
176 * Added prototype for a callback based protocol parser (server side) with examples so that you could let your own application speak the memcached protocol
177 * Updated memcapable to test ASCII protocol.
178 * Changed behavior so that server can be removed at first sign of failure.
179 * Added memcached_server_get_last_disconnect() call
180
181 ## v 0.33
182 > released 2009-09-23
183
184 * Added memcapable to test servers for binary compatibility.
185 * Updated C++ interface. Added basic support for C++ exceptions. Added multiple constructors the memcached client object. The C++ interface now takes parameters which are C++ types (such as std::string).
186 * Several bug fixes for binary protocol support.
187 * Fixed crashing issue with dumping from memcachd server (server internals were changed without documenting change).
188
189 ## v 0.32
190 > released 2009-09-15
191
192 * Change of behavior where linger is only modified for no-block and then it is set to zero.
193 * Added Twitter's memcached_server_error() functions.
194 * Fix for OSX compiles in development builds.
195 * Updated C++ interface.
196 * Updated memcached_mget and memcached_mget_by_key to take a size_t as a parameter instead of an unsigned int for number_of_keys.
197
198 ## v 0.31
199 > released 2009-07-10
200
201 * Added support or HA via replication.
202 * malloc() removed for server key usage.
203 * Update build system.
204 * Added support for memcached_set_memory_allocators().
205 * Fixed bug in configure.ac for have_htoll.
206
207 ## v 0.30
208 > released 2009-06-01
209
210 * Added memcachd_dump command (and framework for memdump tool).
211 * Realigned all structures to remove padding (and line up important bits for 64bit caches.
212 * Remove some of sprintf() in storage calls().
213 * Removed printf() in stat call for unknown stat member.
214 * memcached_generate_hash() function added.
215 * Added tests to make sure all hash functions are stable.
216
217 ## v 0.29
218 > released 2009-05-19
219
220 * Fixed malloc usage to calloc for spots where we need zero filled memory.
221 * All code warnings now treated as errors.
222 * Fixes for debian packaging.
223 * Added new pooling mechanism.
224 * MEMCACHED_BEHAVIOR_NO_BLOCK no longer also sets MEMCACHED_BEHAVIOR_BUFFER_REQUESTS.
225 * Updated generic rpm.
226
227 ## v 0.28
228 > released 2009-04-15
229
230 * Fixed bug in init sructure (reapplied)
231 * Fixed bug in get/set by key (nikkhils@gmail.com)
232
233 ## v 0.27
234 > released 2009-03-30
235
236 * Added new UDP fire-forget mode.
237 * Reworked performance for mget() to better make use of async protocol
238 * Cleaned up execution of fetch (just one set of code now)
239 * Fixed Jenkin's for big endian hosts.
240 * Updates for memstat to determine network latency.
241 * Updates for binary protocol.
242 * Many updates to documentation.
243
244 ## v 0.26
245 > released 2009-01-29
246
247 * Fix for decrement on hash key
248 * Fixed assert that was catching bad memset() call in host_reset()
249 * Fix purge issue for blocked IO which has been stacked.
250
251 ## v 0.25
252 > released 2008-11-28
253
254 * Jenkins HASH added.
255 * Update of Murmur hash code
256 * Support explicit weights (Robey Pointer, Evan Weaver)
257 * Bugfix for ketama continuum (Robey Pointer)
258 * New behavior MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY (Robey Pointer)
259 * Don't ever call stats for weighting servers, because it is unstable.
260
261 ## v 0.24
262 > released 2008-09-16
263
264 * Cleanup compile warnings.
265 * Fix issues in partitioning by keys.
266 * Fixed "fail case" to make sure when calling memcached_clone() no memcached_st is over written.
267 * New memcached_server_by_key() method for finding a server from a key.
268 * memcached_server_free() was added for freeing server structures.
269
270
271 ## v 0.23
272 > released 2008-09-07
273
274 * Added strings.h header for Solaris 9
275 * Solaris 64bit fix.
276 * Support for weighted Ketama from Yin Chen.
277 * Fix for Chinese
278 * Fix for 0 length key to trigger bad key.
279 * Added behaviors MEMCACHED_BEHAVIOR_SND_TIMEOUT, MEMCACHED_BEHAVIOR_RCV_TIMEOUT
280 * Support for Binary Protocol added
281
282 ## v 0.22
283 > released 2008-07-14
284
285 * Fix where master key was no being checked for "bad key"
286 * Fixed bugs in stats output (thread output was wrong)
287 * Clarified MEMCACHED_BAD_KEY_PROVIDED is return for bad prefix key.
288 * Found a bug in Flags return (Jacek Ostrowski)
289 * Fixed issue with compiling on Visual Studio
290
291 ## v 0.21
292 > released 2008-05-24
293
294 * Change of char * to const char * for all key based functions.
295 * New MEMCACHED_CALLBACK_PREFIX_KEY added. You can now create domains for values.
296 * Fixed bug introducd in last version on memcp
297 * Fix for death of file io to call shutdown()
298
299 ## v 0.20
300 > released 2008-05-05
301
302 * New consistent distribution tests.
303 * Found a memory leak when a server constantly fails.
304 * Fix in watchpoint macro
305 * Changed default timeout to 1 second for poll timeouts
306 * Wheel uses less memory/dynamic allocation for size (no longer limited to 512 hosts by default.
307 * memslap memory leak fix
308 * Added Ketama distribution
309 * Fix assert.h compile problem on CentOS
310
311 ## v 0.19
312 > released 2008-04-09
313
314 * Documentation fix in libmemcached.
315 * Fixed bug where sort was always occuring on hosts
316 * Logic fix in branch prediction (thanks Jay!)
317 * Read through cached support.
318 * Fixed for cas by key operation.
319 * Fix for memcached_server_st list structures to have correct count.
320 * Added callback MEMCACHED_CALLBACK_DELETE_TRIGGER
321 * Removed function call in favor of macro (aka cut out some instructions)
322
323
324 ## v 0.18
325 > released 2008-03-17
326
327 * Fix plus tests for non-zero value objects and flags.
328 * MEMCACHED_HASH_MURMUR added for murmur algorithm provided.
329 * MEMCACHED_BEHAVIOR_RETRY_TIMEOUT added to keep connecting from looping on timeout.
330 * gcc branch prediction optimizations
331 * Refactored entire tree to make include files cleaner
332 * Fixed leaked socket.
333
334 ## v 0.17
335 > released 2008-02-27
336
337 * MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT added for connect timeout in non-block mode.
338 * Incompatible change in memcached_behavior_set() api. We now use a uint64_t, instead of a pointer.
339 * Fix for storage of values for zero.
340 * memcached_server_cursor() function added to API for cycling through servers.
341
342 ## v 0.16
343 > released 2008-02-18
344
345 * Work on the UDP protocol
346 * Added get_by_key, set_by_key tests for C++ API
347 * Fix for limit_maxbytes to be 64bit in stats
348 * Added Atom Smasher test (scale baby, scale!)
349 * Servers are now sorted, meaning that servers are now ordered so that clients with the same lists, will have same distribution. (Idea from Ross McFarland). MEMCACHED_BEHAVIOR_SORT_HOSTS was added to enable this support.
350 * Added MEMCACHED_BAD_KEY_PROVIDED error for auto, set, and get operations. MEMCACHED_BEHAVIOR_VERIFY_KEY was added to enable this feature.
351 * More error messages on command line tools.
352 * Fixed bugs in memcached_cas() operator.
353 * Fix to loop through interfaces
354
355 ## v 0.15
356 > released 2008-01-29
357
358 * More work on the C++ API.
359 * Bug fixes around block corner cases.
360 * Slight performance increase in both read() and write().
361
362 ## v 0.14
363 > released 2008-01-22
364
365 * For for bug found by Evan Weaver where increment() was not returning propper error of value was not found.
366 * Fix for bad null pointer on flag by Toru Maesaka.
367 * Refactor of all IO to just pass in the active server
368 * Problem configuring (PKG_CHECK_MODULES) fixed by removal of "rpath" in support/libmemcached.pc.in (Thanks to Ross McFarland).
369 * Added memcached_callback_get()/set()
370 * First prototype of C++ interface
371 * Updated docs for uint16_t changes in previous release
372
373 ## v 0.13
374 > released 2008-01-13
375
376 * MEMCACHED_BEHAVIOR_USER_DATA added to store user pointer.
377 * Fix for failure to connect to invalidate socket.
378 * Patch from Marc Rossi to add --hash option for memcp, memrm, and memcat.
379 * Kevin's patch for fixing EOF issues during a read.
380 * Toru Maesaka patch for stats mismatch
381 * Fix for when CRC return 0
382 * Fixed uint16_t issues around flags. Turns out the documentation on the protocol was wrong.
383 * Lingering socket fixes for FreeBSD.
384 * Patches from Kevin Dalley for FreeBSD 4.0
385 * Added multi delete functions.
386 * All get key returns have C style null termination
387 * If memcached_server_list_append is passed NULLs instead of pointers it returns NULL.
388 * Added memcached_fetch_execute() method
389 * Found a bug where memcached_fetch() was not null terminating the result value.
390 * memcached_behavior() now has the ability to set "buffering" so that data is not automatically flushed.
391 * Behavior change, buffered commands now return MEMCACHED_BUFFERED
392
393 ## v 0.12
394 > released 2007-12-11
395
396 * Updates for consistent hashing
397 * IPV6 support
398 * Static allocation for hostname (performance)
399 * Fixed bug where in non-block mode all data might not have been sent on close().
400 * Refactor of memcached_get() to use common code.
401 * Change in value fetch, MEMCACHED_END is now returned when keys are no longer in the pipe.
402 * Fixed bug where key could be out of range of characters
403 * Added _by_key() methods to allow partitioning of values to particular servers.
404 * MEMCACHED_DEFAILT_TIMEOUT is now set to a non -1 value.
405 * Performance improvements in get operations.
406
407 ## v 0.11
408 > released 2007-11-26
409
410 * Added option to memcache_behavior_set() so that poll() can be timed out.
411 * Fixed memory leak in case of using memcached_fetch_result() where no value was returned.
412 * Bug fixed in memcached_connect() which would cause servers that did not need to be enabled to be enabled (performance issue).
413 * Rewrote bounds checking code for get calls.
414 * "make test" now starts its own memcached servers.
415 * Added Hseih hash (MEMCACHED_HASH_HSIEH), which is showing about 7% performance over standard hash.
416
417 ## v 0.10
418 > released 2007-11-21
419
420 * Added append binary test.
421 * Added MEMCACHED_BEHAVIOR_CACHE_LOOKUPS behavior so that you can save on multiple DNS lookups.
422 * Added CAS support, though this is optional and must be enabled during runtime.
423 * Added the utility memerror to create human readable error strings from memcached errors (aka convert ints to strings)
424 * Fixed type in MEMCACHED_HOST_LOOKUP_FAILURE
425 * Fixed bug where hostname might not be null terminated
426 * Moved to using gethostbyname_r() on Linux to solve thread safety issue
427 * Added -rpath support for pkg-config
428 * Documentation fix for hash setting using memcached_behavior_set()
429
430 ## v 0.9
431 > released 2007-11-15
432
433 * fix for when no servers are definied.
434 * different buffers are now kept for different connections to speed up async efforts
435 * Modified increment/decrement functions to return uint64_t values
436 * Fixed bug in cases where zero length keys were provided
437 * Thread cleanup issue in memslap
438 * No hostname lookup on reconnect
439 * Fix for flag settings (was doing hex by accident!)
440 * Support for 1.2.4 server additions "prepend" and "append" added.
441 * Added memcached_version()... not sure if I will make this public or not.
442
443 ## v 0.8
444 > released 2007-11-05
445
446 * Adding support for CRC hash method
447 * Adding support for UNIX sockets
448 * Added additional HASHing methods of FNV1_64,FNV1A_64, FNV1_32, FNV1A_32
449 * Added pkgconfig support (PKG_CHECK_MODULES)
450 * Fixed conflict with defined type in MySQL
451 * Added memcached_result_st structure and functions to manipulate it.
452
453 ## v 0.7
454 > released 2007-10-30
455
456 * Poved to poll() from select()
457 * Fixes in internal string class for allocation of large numbers of strings.
458 * memcached_mget() function now sends keys as it parses them instead of building strings as it goes.
459 * Propper flush now for making sure we get all IO sent even when in non-block mode.
460 * Added --enable-debug rule for configure
461 * All asserts() removed (hey this is going into production!)
462
463
464 ## v 0.6
465 > released 2007-10-17
466
467 * get value returns are now null terminated (request by Cal Heldenbrand)
468 * Fixed connections for more hosts then two.
469 * Rewrite of the read/write IO systems to handle different sorts of host failures.
470 * Added man pages for all functions and tools
471 * Raised buffer size for readinng/writing to 16K
472 * You can now optionally set the socket size for recv/send via memached_behavior_set/get.
473
474 ## v 0.5
475 > released 2007-10-09
476
477 * Ruby maintainer mentioned TCP_NODELAY patch he had added. Added this to C
478 library as well. (Eric Hodel drbrain@segment7.net)
479 * Added support script for set_benchmark
480 * Updated memslap to allow testing of TCP_NODELAY
481 * Updated memslap to support --flush (aka dump memcache servers before testing)
482 * Fixed bug in multiple hosts not being activated
483 * Added environmental variable MEMCACHED_SERVERS which can be used to set the servers list.
484 * fixed memcached_stat method (and now memstat works)
485 * server connect now happens on demand.
486 * Help for all command line applications
487
488 ## v 0.4
489 > released 2007-10-03
490
491 * Added buffered IO to write calls for keys
492 * Added buffered IO for reads
493 * memstat was broken (bad if/else on connect)
494 * New non-blocking IO (not default yet). Mucho faster
495 * Refactor of test system.
496 * memslap crash solved
497
498 ## v 0.3
499 > released 2007-10-01
500
501 * Jeff Fisher <guppy@techmonkeys.org> provided a spec file
502 * Added "make rpm" around dist file
503 * Added support for Solaris
504 * Added support for DTrace
505 * Fixed read to be recv and write to be send
506 * Bug fix where memstat would core if no server was found
507 * Added memslap tool (load generator)
508 * Numerous bug fixes in library
509 * Added calls to library for creating host lists (see text cases to understand how to use this).
510
511 ## v 0.2
512 > released 2007-09-27
513
514 * First public version