Changelog¶
3.1.0 - Unreleased¶
Dropped support for Python 3.8 (#106) Guido Imperiale
New object
KeyMap(#110) 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
LRUstate when the underlying mapping starts non-empty. (#77)FileandLMDBnow supportpathlib.Pathand pytest’stmpdir(#78)LMDBnow 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, andZipnow 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.non the fly. AddedLRU.offsetattribute. Added accessors tonandoffsettoBuffer. (#101)New object
AsyncBuffer; new methodLRU.get_all_or_nothing()(#88)
All changes by Guido Imperiale
2.2.0 - 2022-04-28¶
Added
python_requirestosetup.py(#60) Carlos CordobaAdded type annotations (#62) Guido Imperiale
If you call
Func.update()andFuncwraps aroundFile, do not store all dump outputs in memory (#64) Guido ImperialeAdded new classes
zict.Cacheandzict.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.abcinstead ofcollectionsfor 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
lmdbencoding toutf-8(#36) Alex DaviesAdd code linting and style check (#35) James Bourbeau