root/trunk/api/perl/ChangeLog @ 790

Revision 790, 7.8 kB (checked in by ykerherve, 16 months ago)

Fixed flush_all to only return success when there is a proper OK
returned by all the servers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1        * flush_all now only returns success if there is a proper reply from all
2          servers - Yann Kerherve <yann@sixapart.com>
3       
4        * 'noreply' support from Tomash Brechko <tomash.brechko@gmail.com>
5
6        * various test updates from Ronald J Kimball <rkimball@pangeamedia.com>
7
82007-07-17: version 1.24
9
10        * update the stats method, including tests for it
11          (Ronald J Kimball <rkimball+memcached@pangeamedia.com>)
12
13        * arguments to 'new' constructor can be %hash or $hashref now
14          (previously was only $hashref)
15
16        * work around a Perl segfault (Matthieu PATOU <mp@oxado.com>)
17          see http://lists.danga.com/pipermail/memcached/2007-June/004511.html
18
192007-06-19: version 1.23
20
21        * add 'remove' as an alias for 'delete' (Dave Cardwell <dave@davecardwell.co.uk>)
22
232007-06-18: version 1.22
24
25        * lost connection handling broken due to wrong %sock_map indexing
26          http://rt.cpan.org/Public/Bug/Display.html?id=27181
27          fix from RHESA
28
29        * let parser_class be configured as a constructor option,
30          defaulting to XS if available, else regular.  (unless
31          $ENV{NO_XS} is set, in which case the default is regular)
32
332007-05-02: version 1.21
34
35        * new faster optional interface for GetParser subclasses.  doing
36          this release so upcoming Cache::Memcached::GetParserXS can
37          depend on this.  otherwise this release isn't interesting.
38
392007-04-16: version 1.20
40
41        * fix "Warning produced when flush_all called" from CDENT
42          http://rt.cpan.org/Public/Bug/Display.html?id=22181
43
44        * support access via unix domain sockets. (Nathan Neulinger <nneul@umr.edu>)
45
46        * abstract out response parsing into own class, and add XS-module
47          detection, so if you have the XS (C) version, things'll be faster.
48          that part's not done yet.
49
502006-07-03
51        * don't use dual scalar/glob sockets.  makes it all profilable
52          again under SmallProf, DProf, and Devel::Profiler, all three
53          of which used to barf on those weird sockets previously
54        * only init_buckets once, when servers are changed
55        * don't call sock_to_host and get_sock as much:  cache closer
56          in get_multi
57        * more internal caching (buck2sock, etc)
58        * fast paths for namespaces/single sock/etc in a few more places
59        * general micro-speedups all over
60
612006-06-27
62        * patch from Maxim Dounin <mdounin@rambler-co.ru> to fix a typo
63          which caused no_rehash flag to not work.
64        * release 1.18
65
662006-04-29
67        * flush_all command from Patrick Michael Kane <modus-memcache@pr.es.to>
68        * document namespaces
69        * release 1.17
70
712006-04-29
72        * fix stats method (people have only been asking since 2004  :-/)
73        * add tests
74        * move Memcached to lib/Cache directory to be more CPAN-friendly
75        * release 1.16
76
772005-09-20
78        * configurable connect delays and callback on connect failure (brad)
79        * release 1.15
80
812005-08-09
82        * _connect_sock never works in blocking mode because of a bug in setting
83        the default timeout. (Gaal)
84
852004-07-27
86        * release 1.14
87
882004-07-27
89        * kill buggy, slow ord() _hashfunc, replace with crc32.
90          this adds String::CRC32 as a dependency.  thanks to
91          everybody's feedback on the mailing list.
92
932004-07-19
94        * don't use pos() because it doesn't seem to work in
95          taint mode.  use $+[0] instead.  (Dave Evans <..@djce.org.uk>)
96
972004-06-19
98        * support multiple paths to memcache nodes (Brad)
99          see 'set_pref_ip'
100
1012004-05-30
102        * release version 1.13
103
1042004-05-26 (Whitaker <whitaker@danga.com>)
105        * quiet warning
106
1072004-05-25 (Whitaker <whitaker@danga.com>)
108        * get_multi shouldn't modify caller's @_
109
1102004-05-18 (Michael <ged@danga.com>)
111        * namespace support
112        * use fields
113
1142004-05-16 (Alexei Kozlov <kozlov@w-m.ru>)
115        * remove warnings with vec
116
1172004-04-09 (brad)
118        * in perl 5.6, trap errors dethawing 5.8 storable objects
119          and instead treat it like a cache miss
120
1212004-04-01
122        * use $! and not %! for perl 5.6 compat (Dave Evans <..@djce.org.uk>)
123        * don't mark whole IP dead anymore when a node is down (Jason Titus <jtitus@postini.com>)
124        * start version numbering (Jamie McCarthy <jamie@mccarthy.vg>)
125
1262004-03-09 (Brad/Avva)
127        * _oneline can return more than one line (but always on a line break),
128          so caller must decide when it's really time to quit.  had to modify
129          run_command to know that.  (which is used by stats)
130
1312004-03-05 (Dave Evans <..@djce.org.uk>)
132        * Here's a really trivial patch for the Perl binding,
133        Cache::Memcached.  The bug is that the module assumes that the
134        currently select()ed filehandle is STDOUT, but this might not be
135        the case.  So this patch ensures that the select()ed filehandle is
136        preserved, not forced to STDOUT.
137
1382004-02-29 (Brad)
139        * add readonly option
140
1412004-02-27 (Avva)
142        * Cleaner handling of the case when _oneline is called without a
143          line parameter (i.e. not to send anything, just read a line from
144          the socket).  Make it depend on $line being defined only,
145          regardless of its content (thanks Brad!).
146
1472004-02-25 (Avva)
148        * Asyncify all I/O, finally get rid of alarm() yuckiness, unify all
149          one-liner command/responses into a single internal API.
150       
1512004-02-17
152        * document in POD the delete method
153       
1542004-02-03
155        * fix bug with 2k read boundaries falling in the middle
156          of "VALUE ..." or "END" lines, thus halting future
157          parsing and responses.  (eek!)
158        * version 1.0.12
159       
1602003-12-01
161        * merge stats/stats_reset patch from Jamie McCarthy
162        * trailing whitespace cleanup
163
1642003-11-08
165        * work on Solaris/BSD where there's no MSG_NOSIGNAL.
166          the expense is extra syscalls to change the local
167          SIGPIPE handler all the time.  in the future, it'd
168          be nice to have an option so Solaris/BSD callers
169          can say, "Hey, I've turned off SIGPIPE globally,
170          don't worry about it."
171
1722003-10-26
173        * add a test file, so automated CPAN test hosts are happy
174        * check MSG_NOSIGNAL immediately on module load, not on use,
175          so Solaris dies early.  (still on TODO to fix, but better
176          to fail loudly)
177        * version 1.0.11
178
1792003-10-25
180        * version 1.0.10, rename to Cache::Memcached, upload to CPAN
181       
1822003-10-18
183        * implement read/write timeouts everywhere. Now the client shouldn't
184          hang if the server machine goes down unexpectedly. (avva)
185
1862003-10-16
187        * use Storable::nfreeze instead of freeze, so hosts from different
188          architectures can all use the same data.  (all must use Perl, though.
189          the different memcache APIs all store/pickle/serialize data differently)
190          Suggestion by Jason Titus <jtitus@postini.com>
191       
1922003-10-06
193        * fix _incrdecr to return complete number, not just first
194          digit (thanks to Ryan T. Dean)
195        * release version 1.0.9
196
1972003-10-04
198        * document expiration times in POD (thanks to Tim Bunce
199          for noting the omission)
200        * release version 1.0.8
201       
2022003-10-03
203        * add connect timeout of 0.25s, for dead host detection.
204          We had 1 second a couple revs ago, but lost it when
205          ditching IO::Socket module.  (avva)
206       
2072003-10-02
208        * fix _incrdecr with explicit-hashvalue keys (whitaker)
209       
2102003-10-01
211        * add run_command API call.  TODO: document, and document
212          the $exptime on the setters
213                 
2142003-09-30
215        * use send instead of print, so we can set MSG_NOSIGNAL
216          and not get SIGPIPES, which avoids 3 syscalls of localizing
217          $SIG{PIPE} and sends everything at once, instead of 4k
218          stdio chunks.  in review:  stdio buffered in, send unbuffered
219          out.  TODO:  setvbuf so reads are buffered at more than 4k.
220
2212003-09-29
222        * yet faster parsing
223        * switch to stdio/perlio instead of raw io: more correct,
224          simpler parsing code.
225
2262003-09-28
227        * prevent some warnings
228        * faster get() call that doesn't use get_multi()
229        * optimizations for single-server case
230        * use socket APIs directly, instead of uber-slow IO::* modules
231        * new faster _load_items parsing
232       
2332003-09-04     
234        * emit debug when set/add/replace fails, in addition to succeed
235     
236Version 1.0.7
237        -- compression support (Brad Whitaker)
238       
239Version 1.0.6
240        -- incr/decr client support
241        -- make delete optionally take second argument (server now supports
242           a delay time on delete)
243        -- doc updates from Jamie McCarthy
244        -- better hashing after dead host detection:  new requests go to different
245           remaining hosts, instead of all to the same one.
246
247Version 1.0.2
248        -- initial release, about.
Note: See TracBrowser for help on using the browser.