Skip to content

Releases: pinterest/pymemcache

V4.0.0

17 Oct 16:47
4e5db4b
Compare
Choose a tag to compare

What's Changed

  • Drop python support for 2.7, 3.4 and 3.5 by @jogo in #321
  • Use default for get ignore_exc by @jogo in #351
  • Return default from hash client by @Pankrat in #352
  • Return default from hash client when using positional argument by @Pankrat in #354
  • Support noreply for hash flush_all by @jogo in #361
  • Drop support for Python 3.6 by @jparise in #363
  • Add official support for Python 3.10 by @jparise in #365
  • Handle a blank stat value by @liquidpele in #388
  • Small buffer pass optimization as discussed in #395. by @martinnj in #402
  • Expand Client with a method for sending arbitrary commands. by @martinnj in #395
  • add pluggable compression serde by @sontek in #407
  • Start to add type hints by @jogo in #415
  • Add py.typed file by @jogo in #421
  • Fix key_prefix issue with stats and cache_memlimit by @jogo in #433

New Contributors

Full Changelog: v3.5.0...v4.0.0

v3.5.2

01 Apr 15:52
Compare
Choose a tag to compare
  • Handle blank STAT values. (#388)

v3.5.1

20 Feb 20:19
Compare
Choose a tag to compare
  • Client.get returns the default when using ignore_exc and if memcached is unavailable.
  • Added noreply support to HashClient.flush_all.

v3.5.0

13 Jul 12:02
07b5ecc
Compare
Choose a tag to compare
  • Sockets are now closed on MemcacheUnexpectedCloseError.
  • Added support for TCP keepalive for client sockets on Linux platforms.
  • Added retrying mechanisms by wrapping clients.

v3.4.4

02 Jun 17:43
d12d59d
Compare
Choose a tag to compare
  • Idle connections will be removed from the pool after pool_idle_timeout. (#309)

v3.4.3

12 May 15:38
64109c2
Compare
Choose a tag to compare
  • Fix HashClient.{get,set}_many() with UNIX sockets. (#314)

v3.4.2

14 Apr 22:30
9e2451a
Compare
Choose a tag to compare
  • Remove trailing space for commands that don't take arguments, such as stats. This was a violation of the memcached protocol. (#311)

v3.4.1

04 Mar 17:09
8781c77
Compare
Choose a tag to compare
  • CAS operations will now raise MemcacheIllegalInputError when None is given as the cas value.

v3.4.0

15 Sep 15:59
Compare
Choose a tag to compare
  • Added IPv6 support for TCP socket connections.
  • HashClient now supports UNIX sockets.

v3.3.0

19 Aug 20:08
9ba2e98
Compare
Choose a tag to compare
  • HashClient can now be imported from the top-level pymemcache package (e.g. pymemcache.HashClient).
  • HashClient.get_many() now longer stores False for missing keys from unavailable clients. Instead, the result won't contain the key at all.
  • Added missing HashClient.close() and HashClient.quit().