| 1 |
0.28 2022-10-01 |
| 2 |
|
| 3 |
- Tidy & port the test suite to Test2::V0. |
| 4 |
- Lots of internal simplifications and cleanups. |
| 5 |
- Bump minimum Perl to 5.12. |
| 6 |
|
| 7 |
0.27 2021-05-22 |
| 8 |
- fix panic in gat/gat_multi methods under newer Perls. |
| 9 |
|
| 10 |
Changes since 0.26: |
| 11 |
|
| 12 |
Mutsutoshi Yoshimoto ([email protected]) provided patches |
| 13 |
to fix gat/gat_multi methods under newer Perls. |
| 14 |
|
| 15 |
|
| 16 |
0.26 2020-03-26 |
| 17 |
- stack manipulation fixes, add gat/gat_multi methods. |
| 18 |
|
| 19 |
Changes since 0.25: |
| 20 |
|
| 21 |
Sergey Aleynikov ([email protected]) provided |
| 22 |
patches to fix the stack when not returning anything. |
| 23 |
|
| 24 |
Mutsutoshi Yoshimoto ([email protected]) provided patches |
| 25 |
to add gat/gat_multi methods. |
| 26 |
|
| 27 |
|
| 28 |
0.25 2017-03-15 |
| 29 |
- ensure we build on modern EUMM, restore dynamic_config in |
| 30 |
META. |
| 31 |
|
| 32 |
Changes since 0.24: |
| 33 |
|
| 34 |
Alexandr Ciornii ([email protected]) provided patches to |
| 35 |
workaround RT#117800: ExtUtils-MakeMaker: don't know how to |
| 36 |
make dynamic. |
| 37 |
|
| 38 |
Olli-Antti Kivilahti ([email protected]) provided |
| 39 |
patches to test that we return undef on server errors. |
| 40 |
|
| 41 |
|
| 42 |
0.24 2017-03-12 |
| 43 |
- prevent undefined values causing a segmentation fault, |
| 44 |
avoid a superfluous eval require in calls to new. |
| 45 |
|
| 46 |
Changes since 0.23: |
| 47 |
|
| 48 |
Hunter McMillen ([email protected]) provided patches to fix |
| 49 |
RT#43537: undefined values passed to the multi functions no |
| 50 |
longer cause segmentation faults. |
| 51 |
|
| 52 |
Dmitry Shalashov ([email protected]) provided patches that |
| 53 |
replace the openhack project home reference with github. |
| 54 |
|
| 55 |
Avoid an eval require on Scalar::Util per call to new, |
| 56 |
just use sv_rvweaken directly. |
| 57 |
|
| 58 |
|
| 59 |
0.23 2014-11-15 |
| 60 |
- add touch and touch_multi commands, speedup for the case |
| 61 |
when application threads have per-thread Perl interpreters |
| 62 |
(multithreaded Apache, etc.). |
| 63 |
|
| 64 |
Changes since 0.22: |
| 65 |
|
| 66 |
Alexandr Evstigneev ([email protected]) provided patches that |
| 67 |
make querying per-thread Perl state more efficient, and also |
| 68 |
fix compilation warnings on Win64. |
| 69 |
|
| 70 |
neguse ([email protected]) provided patches that implement |
| 71 |
"touch" and "touch_multi" commands that appeared in memcached |
| 72 |
1.4.8. |
| 73 |
|
| 74 |
|
| 75 |
0.22 2014-04-28 |
| 76 |
- warn about UTF-8 strings when utf8 option is disabled. |
| 77 |
|
| 78 |
Changes since 0.21: |
| 79 |
|
| 80 |
Fix RT#92678: behaviour with utf8=0. When utf8 option is |
| 81 |
disabled C::M::F will try to downgrade UTF-8 strings and will |
| 82 |
croak if failed to do so. |
| 83 |
|
| 84 |
Also updated ppport.h and removed outdated test case |
| 85 |
encoding.t. |
| 86 |
|
| 87 |
|
| 88 |
0.21 2013-04-06 |
| 89 |
- regenerate distribution archive to include META.json and |
| 90 |
META.yml. There's no need to upgrade as these files are used |
| 91 |
only by CPAN itself. |
| 92 |
|
| 93 |
Changes since 0.20: |
| 94 |
|
| 95 |
There are no changes since 0.20. CPAN::Meta hasn't been |
| 96 |
installed on the build host and this resulted in creation of |
| 97 |
0.20 distribution missing META.json/META.yml without any |
| 98 |
warning. Turns out the absence of these files prevents the |
| 99 |
released module from being tested on CPAN tester network. |
| 100 |
|
| 101 |
|
| 102 |
0.20 2013-04-03 |
| 103 |
- finally fix magic.t failure. Magic handling introduced in |
| 104 |
0.18 wasn't correct until this release. Upgrade if you use |
| 105 |
Perl 'tie' feature or its derivatives like Readonly. |
| 106 |
|
| 107 |
Changes since 0.19: |
| 108 |
|
| 109 |
Fix RT#57150, RT#67106: magic.t failure. Thanks to |
| 110 |
<listposter@...> for instructions on how to reproduce the |
| 111 |
problem. |
| 112 |
|
| 113 |
Fix RT#77254: typo in POD documentation. Tnanks to Alex |
| 114 |
<alex112358@...>. |
| 115 |
|
| 116 |
Fix RT#81782: Unnecessary string eval in constructor. Thanks |
| 117 |
to Andrew Holland for the patch. |
| 118 |
|
| 119 |
|
| 120 |
0.19 2010-04-24 |
| 121 |
- revert SIGPIPE suppression change. Upgrade if you couldn't |
| 122 |
build 0.18. |
| 123 |
|
| 124 |
Changes since 0.18: |
| 125 |
|
| 126 |
Turned out some orthodox systems do not have sigtimedwait(). |
| 127 |
Since advanced systems that have sigtimedwait() also have |
| 128 |
MSG_NOSIGNAL and thus do not use SIGPIPE suppression code in |
| 129 |
question, and other systems have neither MSG_NOSIGNAL nor |
| 130 |
sigtimedwait(), the only option is to revert to the previous |
| 131 |
suppression code. It works correctly unless your program is |
| 132 |
multi-threaded. |
| 133 |
|
| 134 |
|
| 135 |
0.18 2010-04-06 |
| 136 |
- make module thread-safe, and fix several bugs. No need to |
| 137 |
upgrade unless you experienced limitations mentioned below. |
| 138 |
|
| 139 |
Changes since 0.17: |
| 140 |
|
| 141 |
Fix RT#56142: handle Perl magic. Tied scalars, arrays and |
| 142 |
hashes are supported now, as well as Readonly variables and |
| 143 |
other magic stuff. |
| 144 |
|
| 145 |
Fix t/command.t failure on some Solaris distributions. |
| 146 |
|
| 147 |
Make module thread-safe with Perl >= 5.7.2. |
| 148 |
|
| 149 |
|
| 150 |
0.17 2009-11-02 |
| 151 |
- remove delete expiration aka delay parameter. Upgrade is |
| 152 |
required for use with memcached >= 1.3.2. |
| 153 |
|
| 154 |
Changes since 0.16: |
| 155 |
|
| 156 |
Warn about ignoring non-zero delete expiration time. |
| 157 |
Expiration time for "delete" command has been optional in |
| 158 |
older versions of memcached, and was dropped in memcached |
| 159 |
1.3.2 (in an incompatible manner). Not knowing server version |
| 160 |
it's impossible to tell whether the server will handle the |
| 161 |
parameter or not, so we simply do not send it at all. |
| 162 |
Explicit zero passed to delete() or delete_multi() is silently |
| 163 |
ignored, and a warning is given if you pass non-zero delete |
| 164 |
expiration time. Furthermore the syntax delete($key, $delay) |
| 165 |
and delete_multi([$key, $delay]) is obsoleted and no more |
| 166 |
documented. |
| 167 |
|
| 168 |
|
| 169 |
0.16 2009-06-15 |
| 170 |
- add missing files. This is a fix for the previous release. |
| 171 |
|
| 172 |
Changes since 0.15: |
| 173 |
|
| 174 |
Add src/addrinfo_hostent.c and src/addrinfo_hostent.h to |
| 175 |
MANIFEST. Oops :(. |
| 176 |
|
| 177 |
|
| 178 |
0.15 2009-06-15 |
| 179 |
- no need to upgrade for existing users. This release fixes |
| 180 |
issues that new users may encounter (lack of getaddrinfo() on |
| 181 |
some Windows systems; failing test case due to behaviour |
| 182 |
change in memcached 1.3.3 that would break automatic |
| 183 |
installation from CPAN). |
| 184 |
|
| 185 |
Changes since 0.14: |
| 186 |
|
| 187 |
Previous release (0.14) featured the change in the Ketama |
| 188 |
algorithm. While that was a necessary move to improve key |
| 189 |
distribution across servers, it introduced incompatibility |
| 190 |
with earlier versions, and provided no means for smooth |
| 191 |
transition for existing users of Ketama algorithm (i.e., |
| 192 |
without complete loss of cached data). The following |
| 193 |
workaround was suggested by Masahiro Nagano---thanks!: |
| 194 |
|
| 195 |
- apply the patch at http://limilic.com/entry/ljlt0sksbiqi16p3 |
| 196 |
|
| 197 |
- create two instances of C::M::F, one with enabled |
| 198 |
old_ketama_algo => 1. |
| 199 |
|
| 200 |
- for some time populate caches via both client instances, |
| 201 |
while serving gets through old_ketama_algo. For this you |
| 202 |
may use Cache::Migrate (http://gist.github.com/110981). |
| 203 |
|
| 204 |
- after some time (depends on cache refresh rate) you may |
| 205 |
drop old_ketama_algo, as new data is now distributed |
| 206 |
according to the new Ketama implementation as well (this |
| 207 |
doubles memory use though). |
| 208 |
|
| 209 |
I do not include the named patch in the distribution, because |
| 210 |
it's use is limited for one-time transition for existing |
| 211 |
Ketama users only. |
| 212 |
|
| 213 |
On systems lacking getaddrinfo() implement it with |
| 214 |
gethostbyname(). In particular this should fix the build on |
| 215 |
Win32 (Cygwin, Mingw32). Problem report (for Windows 2000 and |
| 216 |
below) and initial patch are by Yasuhiro Matsumoto. |
| 217 |
|
| 218 |
Fix t/commands.t: starting with memcached 1.3.3 incr/decr |
| 219 |
commands expect numeric value in the cache. Patch by Jason |
| 220 |
M. Mills (RT#46883). |
| 221 |
|
| 222 |
|
| 223 |
0.14 2009-02-07 |
| 224 |
- improve Ketama distribution. The change is incompatible |
| 225 |
with Ketama implementation in previous versions. |
| 226 |
|
| 227 |
Changes since 0.13: |
| 228 |
|
| 229 |
Change calculation of Ketama points for a given server to get |
| 230 |
mapping ratios closer to server weight ratios. New Ketama |
| 231 |
mode is compatible with nginx's module memcached_hash |
| 232 |
(http://openhack.ru/nginx-patched/wiki/MemcachedHash) version |
| 233 |
0.4, which has the same change, and is incompatible with |
| 234 |
earlier versions of both named and this module. |
| 235 |
|
| 236 |
Add script/ketama-distr.pl to compute server's share of |
| 237 |
continuum. Real-world example: |
| 238 |
|
| 239 |
script/ketama-distr.pl --ketama_points=150 \ |
| 240 |
--server=10.0.143.4:11211 \ |
| 241 |
--server=10.0.143.6:11211 \ |
| 242 |
--server=10.0.143.7:11211 \ |
| 243 |
--server=10.0.143.8:11211 |
| 244 |
|
| 245 |
outputs: |
| 246 |
|
| 247 |
Old: |
| 248 |
server 1: 10.0.143.4:11211 total = 671585356 (15.64%) |
| 249 |
server 2: 10.0.143.6:11211 total = 601117590 (14.00%) |
| 250 |
server 3: 10.0.143.7:11211 total = 1771239512 (41.24%) |
| 251 |
server 4: 10.0.143.8:11211 total = 1251024837 (29.13%) |
| 252 |
|
| 253 |
New: |
| 254 |
server 1: 10.0.143.4:11211 total = 1057134262 (24.61%) |
| 255 |
server 2: 10.0.143.6:11211 total = 1111432463 (25.88%) |
| 256 |
server 3: 10.0.143.7:11211 total = 1017280856 (23.69%) |
| 257 |
server 4: 10.0.143.8:11211 total = 1109119714 (25.82%) |
| 258 |
|
| 259 |
Continuum array size = 4800 bytes |
| 260 |
|
| 261 |
I.e. "Old" is what we were getting before the change, and |
| 262 |
"New" is what we are getting now. "Continuum array size" is |
| 263 |
how much memory is used to store the continuum array. Try |
| 264 |
this script on your servers to see your distribution, and |
| 265 |
possibly to tweak ketama_points and/or server weights to get a |
| 266 |
better one. |
| 267 |
|
| 268 |
Fix RT#41077 (http://rt.cpan.org/Ticket/Display.html?id=41077): |
| 269 |
implement disconnect_all(). Patch is by norbi.nix.hu, with |
| 270 |
minor corrections---thanks!. |
| 271 |
|
| 272 |
|
| 273 |
0.13 2008-10-13 |
| 274 |
- introduce Win32 support (based on the patch by Yasuhiro |
| 275 |
Matsumoto---arigatou!), and use poll() instead of select() |
| 276 |
(suggested by Vladimir Timofeev). |
| 277 |
|
| 278 |
Changes since 0.12: |
| 279 |
|
| 280 |
Add support for Win32. I personally don't have the system nor |
| 281 |
compiler, so I can't even test the build. Win32 port is |
| 282 |
expected to be supported by community. Note: on Win32 below |
| 283 |
Windows Vista max number of memcached servers is 64. See |
| 284 |
comment on FD_SETSIZE in src/socket_win32.h to learn how to |
| 285 |
increase this value if you need to connect to more than 64 |
| 286 |
servers. |
| 287 |
|
| 288 |
Use poll() system call instead of select(). The latter has |
| 289 |
the limit on the file descriptor value. I.e. even when the |
| 290 |
number of memcached servers is low, but your application opens |
| 291 |
lots of other files, then after some point socket() returns |
| 292 |
fd value larger that select() can handle. poll() doesn't have |
| 293 |
this limitation. On a side note, we don't have to use |
| 294 |
advanced calls like epoll()/kqueue(), because number of |
| 295 |
memcached servers is normally not very large (and single |
| 296 |
request touches even a smaller subset). |
| 297 |
|
| 298 |
Add bench make target ('make bench'). You may change initial |
| 299 |
parameters at the top of script/benchmark.pl to benchmark |
| 300 |
different types of loads. |
| 301 |
|
| 302 |
Do not install libclient.a. Thanks to Vladimir Timofeev for |
| 303 |
finding out how to prevent the installation. |
| 304 |
|
| 305 |
|
| 306 |
0.12 2008-07-21 |
| 307 |
- this release fixes compilation on Solaris broken in 0.11. |
| 308 |
If you were able to compile 0.11, then you weren't affected. |
| 309 |
|
| 310 |
Changes since 0.11: |
| 311 |
|
| 312 |
Fix compilation on Solaris. Ironically, 0.11 was supposed to |
| 313 |
fix unrecognized format problem on Solaris, but instead broke |
| 314 |
the compilation. Back in May the line |
| 315 |
|
| 316 |
return XSRETURN_EMPTY; |
| 317 |
|
| 318 |
has been introduced to the code, whereas it should be |
| 319 |
|
| 320 |
XSRETURN_EMPTY; |
| 321 |
|
| 322 |
It went unnoticed because expansion produces the code |
| 323 |
permitted by compilers like GCC that allow blocks to return a |
| 324 |
value. But Perl on Solaris has a different definition of this |
| 325 |
macro that is not an expression. Hence the problem. |
| 326 |
|
| 327 |
|
| 328 |
0.11 2008-07-17 |
| 329 |
- this release fixes %zu problem on Solaris. |
| 330 |
|
| 331 |
Changes since 0.10: |
| 332 |
|
| 333 |
Replace size_t/%zu with unsigned long/%lu for benefit of |
| 334 |
systems that do not recognize the former format (Solaris 9). |
| 335 |
Thanks to Michael Vychizhanin! |
| 336 |
|
| 337 |
Add new parameter max_size (suggested by Alex Kapranoff, see |
| 338 |
RT#35588, http://rt.cpan.org/Ticket/Display.html?id=35588). |
| 339 |
|
| 340 |
Fix RT#36074 (http://rt.cpan.org/Ticket/Display.html?id=36074): |
| 341 |
ExtUtils::MakeMaker version 6.17 and below generated invalid |
| 342 |
Makefile. |
| 343 |
|
| 344 |
|
| 345 |
0.10 2008-05-01 |
| 346 |
- this is a bugfix release fixing key distribution in |
| 347 |
compatible mode (reported by Anton Yuzhaninov---thanks!), and |
| 348 |
minor fixes in Ketama mode for collision case (very rare). |
| 349 |
|
| 350 |
Changes since 0.09: |
| 351 |
|
| 352 |
Fix key distribution bug in compatible mode. Because of |
| 353 |
accumulated rounding error some keys were mapped to the |
| 354 |
different server than with Cache::Memcached. |
| 355 |
|
| 356 |
Remove explicit OPTIMIZE setting from the makefiles. It ought |
| 357 |
to be set explicitly by the user. You can run 'perl -V:optimize' |
| 358 |
to learn the default. It is safe to increase optimization |
| 359 |
level to -O3. |
| 360 |
|
| 361 |
Fix hash_namespace parameter: it didn't work for the namespace |
| 362 |
specified in the constructor. |
| 363 |
|
| 364 |
Minor fixes in Ketama mode for rare collision case. |
| 365 |
|
| 366 |
|
| 367 |
0.09 2008-03-06 |
| 368 |
- this release makes 'noreply' mode official, and improves |
| 369 |
latency for some command patterns by managing TCP_NODELAY flag. |
| 370 |
|
| 371 |
Changes since 0.08: |
| 372 |
|
| 373 |
Enable TCP_NODELAY to reduce latency of commands that wait for |
| 374 |
the reply, and disable it for throughput of commands that don't |
| 375 |
need any reply. |
| 376 |
|
| 377 |
t/encoding.t was removed from distribution. It doesn't work |
| 378 |
with Perl 5.6, which has no 'encoding' pragma, and I don't |
| 379 |
know how to fix it (beautifully, there's a number of ugly |
| 380 |
ways). |
| 381 |
|
| 382 |
'noreply' mode is documented as the official feature of |
| 383 |
memcached 1.2.5. script/benchmark.pl uses it automatically |
| 384 |
when available. |
| 385 |
|
| 386 |
Add parameter 'hash_namespace' (see docs). |
| 387 |
|
| 388 |
Add method 'namespace' to get and/or set the namespace prefix. |
| 389 |
This is handy when you "lease" C::M::F object for different |
| 390 |
parts of your application that do unrelated things. |
| 391 |
|
| 392 |
|
| 393 |
0.08 2008-01-24 |
| 394 |
- this is mostly a cleanup release, that also improves |
| 395 |
decompression speed. |
| 396 |
|
| 397 |
Changes since 0.07: |
| 398 |
|
| 399 |
compress_alog was replaced with more generic compress_methods. |
| 400 |
It turned out that IO::Uncompress::Gunzip is much (~4x) slower |
| 401 |
than Compress::Zlib, so the latter is used as the default for |
| 402 |
compress_methods. Besides, previous mechanism didn't scale |
| 403 |
well. |
| 404 |
|
| 405 |
Implemented the check of constructor arguments to catch |
| 406 |
various typos (enabled by default), and new 'check_args' |
| 407 |
parameter to disable it. |
| 408 |
|
| 409 |
Workaround "cast from integer to pointer of different size" |
| 410 |
warning on 64-bit platforms. |
| 411 |
|
| 412 |
Removed 127.0.0.x from test cases since not all hosts resolve |
| 413 |
such addresses when x is not 1. |
| 414 |
|
| 415 |
Use plain malloc()/free() instead of Newx()/Safefree() in XS. |
| 416 |
This should fix the build with Perl versions 5.6.0--5.8.6. |
| 417 |
|
| 418 |
|
| 419 |
0.07 2008-01-18 |
| 420 |
- this is a major release that features a significant speed |
| 421 |
improvement and introduces multi update commands. It also |
| 422 |
fixes a bug in nowait mode that was introduced in 0.06. |
| 423 |
Upgrade is recommended if you are using nowait => 1, or want |
| 424 |
to employ new features and speed. |
| 425 |
|
| 426 |
Changes since 0.06: |
| 427 |
|
| 428 |
For performance reasons all Perl code was converted to XS. If |
| 429 |
you performed any benchmarks, you may want to repeat them ;). |
| 430 |
This change has a drawback that now you can't derive from |
| 431 |
C::M::F easily. |
| 432 |
|
| 433 |
Every update command now has its multi equivalent: set_multi, |
| 434 |
add_multi, replace_multi, append_multi, prepend_multi, |
| 435 |
incr_multi, decr_multi and delete_multi. By using multi |
| 436 |
commands you will reduce request latency: several requests |
| 437 |
would be sent in one packet, and the client would talk to all |
| 438 |
servers simultaneously. |
| 439 |
|
| 440 |
Improved results of update commands: commands that previously |
| 441 |
returned boolean value now return true for positive server |
| 442 |
reply, false for negative server reply, and undef on error. |
| 443 |
Similar to DBI, decr returns "0E0" for positive zero reply, |
| 444 |
which evaluates to true in a boolean context. |
| 445 |
|
| 446 |
flush_all now returns a hash 'server_name' => 'bool_result'. |
| 447 |
|
| 448 |
New commands 'server_versions' and 'nowait_push'. |
| 449 |
|
| 450 |
New 'utf8' and 'serialize_methods' parameters for constructor. |
| 451 |
|
| 452 |
script/compare.pl was removed. Instead script/benchmark.pl |
| 453 |
takes an optional last argument "compare". |
| 454 |
|
| 455 |
t/03-flush_all.t was removed. We use PID as a part of a |
| 456 |
namespace prefix now, so we don't need clear cache any more. |
| 457 |
And there are good reasons not to have flush_all: the user may |
| 458 |
flush a valuable cache by mistake, and "flush_all 0" doesn't |
| 459 |
work on memcached 1.2.2, so the outcome was uncertain anyway. |
| 460 |
Without flush_all it's possible to execute in parallel more |
| 461 |
than one 'make test'. |
| 462 |
|
| 463 |
Fixed bug in 'nowait' mode that could cause false negative |
| 464 |
replies to subsequent requests that you are waiting for. |
| 465 |
|
| 466 |
Workaround the loss of the last 'noreply' request on the |
| 467 |
server. 'noreply' is still an undocumented feature. |
| 468 |
|
| 469 |
To support multi commands the API of internal client |
| 470 |
implementation was changed. If you were using it as a |
| 471 |
standalone library---sorry :). After API will freeze C client |
| 472 |
library will likely be released on its own. |
| 473 |
|
| 474 |
|
| 475 |
0.06 2007-12-20 |
| 476 |
- this release fixes a serious bug and features the 'nowait' |
| 477 |
mode. Upgrade is recommended. |
| 478 |
|
| 479 |
Changes since 0.05: |
| 480 |
|
| 481 |
Fix a subtle race bug present since 0.02 that could mix |
| 482 |
several values into one when you have more than one memcached |
| 483 |
server and executed get_multi or gets_multi. If you have seen |
| 484 |
the following in your logs or on the console: |
| 485 |
|
| 486 |
Attempt to free unreferenced scalar: SV 0x9e89d34 at |
| 487 |
/tmp/Cache-Memcached-Fast/blib/lib/Cache/Memcached/Fast.pm line 688. |
| 488 |
|
| 489 |
that was it. |
| 490 |
|
| 491 |
Added 'nowait' mode that allows the client to not wait the |
| 492 |
reply, and thus reduces the wallclock time. Run |
| 493 |
script/benchmark.pl and see how it affects wallclock time, |
| 494 |
especially over the wire. |
| 495 |
|
| 496 |
Made undocumented 'noreply' parameter a per-server setting. |
| 497 |
|
| 498 |
|
| 499 |
0.05 2007-12-18 |
| 500 |
- more fixes to build and pass tests on different platforms. |
| 501 |
There's no functional changes again. |
| 502 |
|
| 503 |
Changes since 0.04: |
| 504 |
|
| 505 |
At least on Perl 5.6.2 SVREF typemap entry has the meaning of |
| 506 |
the class based on blessed SV. So instead of SVREF we use |
| 507 |
custom Ref_SV and custom typemap entry. Found by CPAN |
| 508 |
testers. |
| 509 |
|
| 510 |
Do not use AUTOLOAD for normal commands, only for undocumented |
| 511 |
ones. |
| 512 |
|
| 513 |
Add incr() and decr() to script/compare.pl and |
| 514 |
script/benchmark.pl. |
| 515 |
|
| 516 |
Test case is split into several files and cleaned a bit. |
| 517 |
|
| 518 |
Rename 'sun' -> 's_unix' in connect.c, because 'sun' is |
| 519 |
reserved on... guesses? Right, Sun systems! Found by CPAN |
| 520 |
testers. |
| 521 |
|
| 522 |
Fix test case for FreeBSD and derivatives: do not use |
| 523 |
localhost.localdomain address, which FreeBSD doesn't resolve |
| 524 |
by default. |
| 525 |
|
| 526 |
Added docs section "UTF-8 and tainted data". |
| 527 |
|
| 528 |
|
| 529 |
0.04 2007-12-16 |
| 530 |
- CPAN testers found more issues on different platforms, |
| 531 |
fixing these. |
| 532 |
|
| 533 |
Changes since 0.03: |
| 534 |
|
| 535 |
const char * is missing from typemap in Perl 5.6.2, fixed by |
| 536 |
using plain char * for class name in new(). |
| 537 |
|
| 538 |
Use AI_ADDRCONFIG conditionally, some systems do not have it |
| 539 |
(NetBSD 3.1). |
| 540 |
|
| 541 |
|
| 542 |
0.03 2007-12-16 |
| 543 |
- this release has no new functionality compared to 0.02. It |
| 544 |
only fixes some test and documentation problems that were |
| 545 |
discovered, as it always happens, after the upload to CPAN. |
| 546 |
|
| 547 |
Changes since 0.02: |
| 548 |
|
| 549 |
Fixed internal documentation references. |
| 550 |
|
| 551 |
Added missing docs for incr and decr. |
| 552 |
|
| 553 |
Fixed test case to test server version and use |
| 554 |
cas/gets/append/prepend only for 1.2.4 and up. |
| 555 |
|
| 556 |
Actually there's new _undocumented_ command server_versions, |
| 557 |
is has broken interface, you can't say which version |
| 558 |
corresponds to which server when some of them do not respond. |
| 559 |
This command is subject to change. |
| 560 |
|
| 561 |
|
| 562 |
0.02 2007-12-15 |
| 563 |
- first public release. |
| 564 |
|
| 565 |
Changes since 0.01: |
| 566 |
|
| 567 |
Fully restartable code was replaced with classic |
| 568 |
fill-the-buffer-first approach: it turned out that |
| 569 |
restartability doesn't add much advantage. Lots of beautiful |
| 570 |
and ugly code gone away. |
| 571 |
|
| 572 |
Added support for multiple servers (select machine, CRC32, |
| 573 |
timeouts). |
| 574 |
|
| 575 |
Added script/compare.pl to compare this module to the original |
| 576 |
Cache::Memcached, and also to measure speed in general. |
| 577 |
|
| 578 |
Added Unix socket support, SIGPIPE handling (proper ignoring |
| 579 |
actually ;)). |
| 580 |
|
| 581 |
Added support for serialization of Perl data structures, and |
| 582 |
for compression. |
| 583 |
|
| 584 |
New commands: incr, decr, gets, gets_multi, cas, |
| 585 |
enable_compression, remove (alias to delete). |
| 586 |
|
| 587 |
New client parameters: connect_timeout, io_timeout (aka |
| 588 |
select_timeout), compress_threshold, compress_ratio, |
| 589 |
compress_algo, max_failure, failure_timeout. |
| 590 |
|
| 591 |
Finally added documentation! |
| 592 |
|
| 593 |
Added support for server weights. |
| 594 |
|
| 595 |
Added the Ketama consistent hashing algorithm. |
| 596 |
|
| 597 |
Added default tests as generated with Module::Starter. Main |
| 598 |
test case is still messy, should be split into several tests. |
| 599 |
|
| 600 |
There's also support for 'noreply'-enabled memcached, but |
| 601 |
those patches are not (yet) accepted to mainline, so 'noreply' |
| 602 |
is not an official feature and is not documented. |
| 603 |
|
| 604 |
|
| 605 |
0.01 2007-11-26 |
| 606 |
- first internal release. |
| 607 |
|
| 608 |
Supported only one server connection (TCP). Commands are |
| 609 |
set(), add(), replace(), prepend(), append(), delete(), |
| 610 |
flush_all(), get(), get_multi(). Client parameters are |
| 611 |
'servers', 'namespace', 'close_on_error'. There's no |
| 612 |
documentation. Test case is messy (but does its job). |
| 613 |
|
| 614 |
|
| 615 |
0.00 2007-11-19 |
| 616 |
- original version; created by h2xs 1.23 with options |
| 617 |
-O --omit-autoload --compat-version=5.6.0 \ |
| 618 |
--use-new-tests --name=Cache::Memcached::Fast |