Changelog¶
3.1.0 - Unreleased¶
Dropped support for Python 3.8 (#106) Guido Imperiale
3.0.0 - 2023-04-17¶
The library is now almost completely thread-safe (#82, #90, #92, #93)
Dropped support for Python 3.7 (#84)
File.__getitem__
now returns bytearray instead of bytes. This prevents a memcpy when deserializing numpy arrays with dask. (#74)Fixed broken
LRU
state when the underlying mapping starts non-empty. (#77)File
andLMDB
now supportpathlib.Path
and pytest’stmpdir
(#78)LMDB
now uses memory-mapped I/O on MacOSX and is usable on Windows (#78)New object
InsertionSortedSet
(#87)All mappings now return proper KeysView, ItemsView, and ValuesView objects from their keys(), items(), and values() methods (#93)
File
,LMDB
, andZip
now behave coherently with unexpected key/value types (#95)Zip.__contains__
no longer reads the value from disk (#95)Zip.__setitem__
will now raise when updating an already-existing key instead of quietly corrupting the mapping (#95)Can now change
LRU.n
on the fly. AddedLRU.offset
attribute. Added accessors ton
andoffset
toBuffer
. (#101)New object
AsyncBuffer
; new methodLRU.get_all_or_nothing()
(#88)
All changes by Guido Imperiale
2.2.0 - 2022-04-28¶
Added
python_requires
tosetup.py
(#60) Carlos CordobaAdded type annotations (#62) Guido Imperiale
If you call
Func.update()
andFunc
wraps aroundFile
, do not store all dump outputs in memory (#64) Guido ImperialeAdded new classes
zict.Cache
andzict.WeakRefCache
(#65) Guido Imperiale
2.1.0 - 2022-02-25¶
LRU and Buffer now deal with exceptions raised by the callbacks - namely, OSError raised when the disk is full (#48) Naty Clementi, Guido Imperiale
Dropped support for Python 3.6; added support for Python 3.9 and 3.10 (#55) Guido Imperiale
Migrate to GitHub actions (#40) Thomas J. Fan
2.0.0 - 2020-02-28¶
Create
CONTRIBUTING.md
(#28) Jacob TomlinsonImport ABC from
collections.abc
instead ofcollections
for Python 3.9 compatibility (#31) Karthikeyan SingaravelanDrop Python 2 / 3.5 and add Python 3.7 / 3.8 support (#34) James Bourbeau
Duplicate keys fast slow (#32) Florian Jetter
Fix dask cuda worker’s race condition failure (#33) Pradipta Ghosh
Changed default
lmdb
encoding toutf-8
(#36) Alex DaviesAdd code linting and style check (#35) James Bourbeau