nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

CHANGES (9681B)


      1 LMDB 0.9 Change Log
      2 
      3 LMDB 0.9.31 Release (2023/07/10)
      4 	ITS#8447 - Fix cursor_put(MDB_CURRENT) on DUPSORT DB with different sized data
      5 
      6 LMDB 0.9.30 Release (2023/02/08)
      7 	ITS#9806 - LMDB page_split: key threshold depends on page size
      8 	ITS#9916 - avoid gcc optimization bug on sparc64 linux
      9 	ITS#9919 - Mark infrequently used functions as cold
     10 	ITS#9723 - clear C_EOF on cursor with MDB_FIRST_DUP
     11 	ITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips
     12 
     13 LMDB 0.9.29 Release (2021/03/16)
     14 	ITS#9461 refix ITS#9376
     15 	ITS#9500 fix regression from ITS#8662
     16 
     17 LMDB 0.9.28 Release (2021/02/04)
     18 	ITS#8662 add -a append option to mdb_load
     19 
     20 LMDB 0.9.27 Release (2020/10/26)
     21 	ITS#9376 fix repeated DUPSORT cursor deletes
     22 
     23 LMDB 0.9.26 Release (2020/08/11)
     24 	ITS#9278 fix robust mutex cleanup for FreeBSD
     25 
     26 LMDB 0.9.25 Release (2020/01/30)
     27 	ITS#9068 fix mdb_dump/load backslashes in printable content
     28 	ITS#9118 add MAP_NOSYNC for FreeBSD
     29 	ITS#9155 free mt_spill_pgs in non-nested txn on end
     30 
     31 LMDB 0.9.24 Release (2019/07/24)
     32 	ITS#8969 Tweak mdb_page_split
     33 	ITS#8975 WIN32 fix writemap set_mapsize crash
     34 	ITS#9007 Fix loose pages in WRITEMAP
     35 
     36 LMDB 0.9.23 Release (2018/12/19)
     37 	ITS#8756 Fix loose pages in dirty list
     38 	ITS#8831 Fix mdb_load flag init
     39 	ITS#8844 Fix mdb_env_close in forked process
     40 	Documentation
     41 		ITS#8857 mdb_cursor_del doesn't invalidate cursor
     42 		ITS#8908 GET_MULTIPLE etc don't change passed in key
     43 
     44 LMDB 0.9.22 Release (2018/03/22)
     45 	Fix MDB_DUPSORT alignment bug (ITS#8819)
     46 	Fix regression with new db from 0.9.19 (ITS#8760)
     47 	Fix liblmdb to build on Solaris (ITS#8612)
     48 	Fix delete behavior with DUPSORT DB (ITS#8622)
     49 	Fix mdb_cursor_get/mdb_cursor_del behavior (ITS#8722)
     50 
     51 LMDB 0.9.21 Release (2017/06/01)
     52 	Fix xcursor after cursor_del (ITS#8622)
     53 
     54 LMDB 0.9.20 (Withdrawn)
     55 	Fix mdb_load with escaped plaintext (ITS#8558)
     56 	Fix mdb_cursor_last / mdb_put interaction (ITS#8557)
     57 
     58 LMDB 0.9.19 Release (2016/12/28)
     59 	Fix mdb_env_cwalk cursor init (ITS#8424)
     60 	Fix robust mutexes on Solaris 10/11 (ITS#8339)
     61 	Tweak Win32 error message buffer
     62 	Fix MDB_GET_BOTH on non-dup record (ITS#8393)
     63 	Optimize mdb_drop
     64 	Fix xcursors after mdb_cursor_del (ITS#8406)
     65 	Fix MDB_NEXT_DUP after mdb_cursor_del (ITS#8412)
     66 	Fix mdb_cursor_put resetting C_EOF (ITS#8489)
     67 	Fix mdb_env_copyfd2 to return EPIPE on SIGPIPE (ITS#8504)
     68 	Fix mdb_env_copy with empty DB (ITS#8209)
     69 	Fix behaviors with fork (ITS#8505)
     70 	Fix mdb_dbi_open with mainDB cursors (ITS#8542)
     71 	Fix robust mutexes on kFreeBSD (ITS#8554)
     72 	Fix utf8_to_utf16 error checks (ITS#7992)
     73 	Fix F_NOCACHE on MacOS, error is non-fatal (ITS#7682)
     74 	Build
     75 		Make shared lib suffix overridable (ITS#8481)
     76 	Documentation
     77 		Cleanup doxygen nits
     78 		Note reserved vs actual mem/disk usage
     79 
     80 
     81 LMDB 0.9.18 Release (2016/02/05)
     82 	Fix robust mutex detection on glibc 2.10-11 (ITS#8330)
     83 	Fix page_search_root assert on FreeDB (ITS#8336)
     84 	Fix MDB_APPENDDUP vs. rewrite(single item) (ITS#8334)
     85 	Fix mdb_copy of large files on Windows
     86 	Fix subcursor move after delete (ITS#8355)
     87 	Fix mdb_midl_shirnk off-by-one (ITS#8363)
     88 	Check for utf8_to_utf16 failures (ITS#7992)
     89 	Catch strdup failure in mdb_dbi_open
     90 	Build
     91 		Additional makefile var tweaks (ITS#8169)
     92 	Documentation
     93 		Add Getting Started page
     94 		Update WRITEMAP description
     95 	
     96 
     97 LMDB 0.9.17 Release (2015/11/30)
     98 	Fix ITS#7377 catch calloc failure
     99 	Fix ITS#8237 regression from ITS#7589
    100 	Fix ITS#8238 page_split for DUPFIXED pages
    101 	Fix ITS#8221 MDB_PAGE_FULL on delete/rebalance
    102 	Fix ITS#8258 rebalance/split assert
    103 	Fix ITS#8263 cursor_put cursor tracking
    104 	Fix ITS#8264 cursor_del cursor tracking
    105 	Fix ITS#8310 cursor_del cursor tracking
    106 	Fix ITS#8299 mdb_del cursor tracking
    107 	Fix ITS#8300 mdb_del cursor tracking
    108 	Fix ITS#8304 mdb_del cursor tracking
    109 	Fix ITS#7771 fakepage cursor tracking
    110 	Fix ITS#7789 ensure mapsize >= pages in use
    111 	Fix ITS#7971 mdb_txn_renew0() new reader slots
    112 	Fix ITS#7969 use __sync_synchronize on non-x86
    113 	Fix ITS#8311 page_split from update_key
    114 	Fix ITS#8312 loose pages in nested txn
    115 	Fix ITS#8313 mdb_rebalance dummy cursor
    116 	Fix ITS#8315 dirty_room in nested txn
    117 	Fix ITS#8323 dirty_list in nested txn
    118 	Fix ITS#8316 page_merge cursor tracking
    119 	Fix ITS#8321 cursor tracking
    120 	Fix ITS#8319 mdb_load error messages
    121 	Fix ITS#8320 mdb_load plaintext input
    122 	Added mdb_txn_id() (ITS#7994)
    123 	Added robust mutex support
    124 	Miscellaneous cleanup/simplification
    125 	Build
    126 		Create install dirs if needed (ITS#8256)
    127 		Fix ThreadProc decl on Win32/MSVC (ITS#8270)
    128 		Added ssize_t typedef for MSVC (ITS#8067)
    129 		Use ANSI apis on Windows (ITS#8069)
    130 		Use O_SYNC if O_DSYNC,MDB_DSYNC are not defined (ITS#7209)
    131 		Allow passing AR to make (ITS#8168)
    132 		Allow passing mandir to make install (ITS#8169)
    133 
    134 LMDB 0.9.16 Release (2015/08/14)
    135 	Fix cursor EOF bug (ITS#8190)
    136 	Fix handling of subDB records (ITS#8181)
    137 	Fix mdb_midl_shrink() usage (ITS#8200)
    138 
    139 LMDB 0.9.15 Release (2015/06/19)
    140 	Fix txn init (ITS#7961,#7987)
    141 	Fix MDB_PREV_DUP (ITS#7955,#7671)
    142 	Fix compact of empty env (ITS#7956)
    143 	Fix mdb_copy file mode
    144 	Fix mdb_env_close() after failed mdb_env_open()
    145 	Fix mdb_rebalance collapsing root (ITS#8062)
    146 	Fix mdb_load with large values (ITS#8066)
    147 	Fix to retry writes on EINTR (ITS#8106)
    148 	Fix mdb_cursor_del on empty DB (ITS#8109)
    149 	Fix MDB_INTEGERDUP key compare (ITS#8117)
    150 	Fix error handling (ITS#7959,#8157,etc.)
    151 	Fix race conditions (ITS#7969,7970)
    152 	Added workaround for fdatasync bug in ext3fs
    153 	Build
    154 		Don't use -fPIC for static lib
    155 		Update .gitignore (ITS#7952,#7953)
    156 		Cleanup for "make test" (ITS#7841), "make clean", mtest*.c
    157 		Misc. Android/Windows cleanup
    158 	Documentation
    159 		Fix MDB_APPEND doc
    160 		Fix MDB_MAXKEYSIZE doc (ITS#8156)
    161 		Fix mdb_cursor_put,mdb_cursor_del EACCES description
    162 		Fix mdb_env_sync(MDB_RDONLY env) doc (ITS#8021)
    163 		Clarify MDB_WRITEMAP doc (ITS#8021)
    164 		Clarify mdb_env_open doc
    165 		Clarify mdb_dbi_open doc
    166 
    167 LMDB 0.9.14 Release (2014/09/20)
    168 	Fix to support 64K page size (ITS#7713)
    169 	Fix to persist decreased as well as increased mapsizes (ITS#7789)
    170 	Fix cursor bug when deleting last node of a DUPSORT key
    171 	Fix mdb_env_info to return FIXEDMAP address
    172 	Fix ambiguous error code from writing to closed DBI (ITS#7825)
    173 	Fix mdb_copy copying past end of file (ITS#7886)
    174 	Fix cursor bugs from page_merge/rebalance
    175 	Fix to dirty fewer pages in deletes (mdb_page_loose())
    176 	Fix mdb_dbi_open creating subDBs (ITS#7917)
    177 	Fix mdb_cursor_get(_DUP) with single value (ITS#7913)
    178 	Fix Windows compat issues in mtests (ITS#7879)
    179 	Add compacting variant of mdb_copy
    180 	Add BigEndian integer key compare code
    181 	Add mdb_dump/mdb_load utilities
    182 
    183 LMDB 0.9.13 Release (2014/06/18)
    184 	Fix mdb_page_alloc unlimited overflow page search
    185 	Documentation
    186 		Re-fix MDB_CURRENT doc (ITS#7793)
    187 		Fix MDB_GET_MULTIPLE/MDB_NEXT_MULTIPLE doc
    188 
    189 LMDB 0.9.12 Release (2014/06/13)
    190 	Fix MDB_GET_BOTH regression (ITS#7875,#7681)
    191 	Fix MDB_MULTIPLE writing multiple keys (ITS#7834)
    192 	Fix mdb_rebalance (ITS#7829)
    193 	Fix mdb_page_split (ITS#7815)
    194 	Fix md_entries count (ITS#7861,#7828,#7793)
    195 	Fix MDB_CURRENT (ITS#7793)
    196 	Fix possible crash on Windows DLL detach
    197 	Misc code cleanup
    198 	Documentation
    199 		mdb_cursor_put: cursor moves on error (ITS#7771)
    200 
    201 
    202 LMDB 0.9.11 Release (2014/01/15)
    203 	Add mdb_env_set_assert() (ITS#7775)
    204 	Fix: invalidate txn on page allocation errors (ITS#7377)
    205 	Fix xcursor tracking in mdb_cursor_del0() (ITS#7771)
    206 	Fix corruption from deletes (ITS#7756)
    207 	Fix Windows/MSVC build issues
    208 	Raise safe limit of max MDB_MAXKEYSIZE
    209 	Misc code cleanup
    210 	Documentation
    211 		Remove spurious note about non-overlapping flags (ITS#7665)
    212 
    213 LMDB 0.9.10 Release (2013/11/12)
    214 	Add MDB_NOMEMINIT option
    215 	Fix mdb_page_split() again (ITS#7589)
    216 	Fix MDB_NORDAHEAD definition (ITS#7734)
    217 	Fix mdb_cursor_del() positioning (ITS#7733)
    218 	Partial fix for larger page sizes (ITS#7713)
    219 	Fix Windows64/MSVC build issues
    220 
    221 LMDB 0.9.9 Release (2013/10/24)
    222 	Add mdb_env_get_fd()
    223 	Add MDB_NORDAHEAD option
    224 	Add MDB_NOLOCK option
    225 	Avoid wasting space in mdb_page_split() (ITS#7589)
    226 	Fix mdb_page_merge() cursor fixup (ITS#7722)
    227 	Fix mdb_cursor_del() on last delete (ITS#7718)
    228 	Fix adding WRITEMAP on existing env (ITS#7715)
    229 	Fix nested txns (ITS#7515)
    230 	Fix mdb_env_copy() O_DIRECT bug (ITS#7682)
    231 	Fix mdb_cursor_set(SET_RANGE) return code (ITS#7681)
    232 	Fix mdb_rebalance() cursor fixup (ITS#7701)
    233 	Misc code cleanup
    234 	Documentation
    235 		Note that by default, readers need write access
    236 
    237 
    238 LMDB 0.9.8 Release (2013/09/09)
    239 	Allow mdb_env_set_mapsize() on an open environment
    240 	Fix mdb_dbi_flags() (ITS#7672)
    241 	Fix mdb_page_unspill() in nested txns
    242 	Fix mdb_cursor_get(CURRENT|NEXT) after a delete
    243 	Fix mdb_cursor_get(DUP) to always return key (ITS#7671)
    244 	Fix mdb_cursor_del() to always advance to next item (ITS#7670)
    245 	Fix mdb_cursor_set(SET_RANGE) for tree with single page (ITS#7681)
    246 	Fix mdb_env_copy() retry open if O_DIRECT fails (ITS#7682)
    247 	Tweak mdb_page_spill() to be less aggressive
    248 	Documentation
    249 		Update caveats since mdb_reader_check() added in 0.9.7
    250 
    251 LMDB 0.9.7 Release (2013/08/17)
    252 	Don't leave stale lockfile on failed RDONLY open (ITS#7664)
    253 	Fix mdb_page_split() ref beyond cursor depth
    254 	Fix read txn data race (ITS#7635)
    255 	Fix mdb_rebalance (ITS#7536, #7538)
    256 	Fix mdb_drop() (ITS#7561)
    257 	Misc DEBUG macro fixes
    258 	Add MDB_NOTLS envflag
    259 	Add mdb_env_copyfd()
    260 	Add mdb_txn_env() (ITS#7660)
    261 	Add mdb_dbi_flags() (ITS#7661)
    262 	Add mdb_env_get_maxkeysize()
    263 	Add mdb_env_reader_list()/mdb_env_reader_check()
    264 	Add mdb_page_spill/unspill, remove hard txn size limit
    265 	Use shorter names for semaphores (ITS#7615)
    266 	Build
    267 		Fix install target (ITS#7656)
    268 	Documentation
    269 		Misc updates for cursors, DB handles, data lifetime
    270 
    271 LMDB 0.9.6 Release (2013/02/25)
    272 	Many fixes/enhancements
    273 
    274 LMDB 0.9.5 Release (2012/11/30)
    275 	Renamed from libmdb to liblmdb
    276 	Many fixes/enhancements