github.com/rosedblabs/rosedb/v2@v2.3.7-0.20240423093736-a89ea823e5b9/CHANGELOG.md (about) 1 # Release 2.3.6(2024-04-05) 2 ## π Bug Fixes 3 * Fix index lock 4 ## π Community 5 * Thanks to @Sora233 6 * perf: improve batch performance #303 7 8 # Release 2.3.5(2024-03-03) 9 ## π Bug Fixes 10 * Fix index Less function panic. 11 12 # Release 2.3.4(2024-01-07) 13 14 ## π Enhancements 15 * use wal write batch to optimize performance. 16 * optimize memory usage. 17 18 ## π Community 19 * Thanks to @LindaSummer 20 * add auto merge(https://github.com/rosedblabs/rosedb/commit/f31d45ef0cc3e738bbfe547df41fdfc23817bc4a) 21 * Thanks to @justforward 22 * clarify file error(https://github.com/rosedblabs/rosedb/commit/b00612621aa9c27e79b4a012b53f5f1af1dd41bd) 23 * Thanks to @lyonzhi 24 * approce test case for windows(https://github.com/rosedblabs/rosedb/commit/7d8c6c0e09bd556b65f11b37eca12cfdcb81b567) 25 * Thanks to @246859 26 * fix(watch): make channnel that DB.Watch returns is readonly (https://github.com/rosedblabs/rosedb/pull/294) 27 28 # Release 2.3.3(2023-09-16) 29 ## π New Features 30 * add filterExpired for ascend/descend keys 31 * Add persist function to remove the TTL of the key 32 33 # Release 2.3.2(2023-08-30) 34 ## π New Features 35 * add AscendKeys and DescnedKeys 36 * Add Expire and TTL functions (https://github.com/rosedblabs/rosedb/pull/278) 37 38 ## π Enhancements 39 * fix expire bug and add examples 40 * add iterate examples 41 42 ## π Community 43 * Thanks to @Jeremy-Run 44 * Delete expired key of the index (https://github.com/rosedblabs/rosedb/pull/269) 45 * New: Delete Expired Keys (https://github.com/rosedblabs/rosedb/pull/280) 46 * Thanks to @LEAVING-7 47 * Fix potential deadlock in merge.go (https://github.com/rosedblabs/rosedb/pull/279) 48 49 ## π Bug Fixes 50 * fix reput ttl bug 51 52 # Release 2.3.1(2023-08-21) 53 ## π New Features 54 * Support key expire 55 * You can call `PutWithTTL` to set the expire time for a key. 56 57 ## π Community 58 * Thanks to @weijiew 59 * Add more BTree functions #264 60 61 # Release 2.3.0(2023-08-18) 62 ## π New Features 63 * use BTree as the default memory data structure. 64 * the old Radix will be removed, and the iterator too. 65 66 ## π Community 67 * Thanks to @Jeremy-Run 68 * remove merge file after tests (https://github.com/rosedblabs/rosedb/pull/250) 69 * replace original file and rebuilt index after merge (https://github.com/rosedblabs/rosedb/pull/255) 70 * Thanks to @SYaoJun 71 * fix: single quote error in README (https://github.com/rosedblabs/rosedb/pull/256) 72 * Thanks to @weijiew 73 * add btree AscendγDescend method and unitest. (https://github.com/rosedblabs/rosedb/pull/257) 74 75 # Release 2.2.2(2023-08-05) 76 ## π New Features 77 * Watch Key [feature support watch event by key #227](https://github.com/rosedblabs/rosedb/issues/227) @Jeremy-Run 78 79 ## π Enhancements 80 81 * Batch Optimiztion [use sync.Pool to optimize db.Put operation #235](https://github.com/rosedblabs/rosedb/issues/235) 82 * Optimize memory usage [enhancement: high memory usage of rosedb #236](https://github.com/rosedblabs/rosedb/issues/236) 83 84 ## π Community 85 * Thanks to @kebukeYi 86 * Change Variable name in openMergeDB (https://github.com/rosedblabs/rosedb/pull/228) 87 * Avoid parsing wal files repeatedly. (https://github.com/rosedblabs/rosedb/pull/229) 88 * Thanks to @Jeremy-Run 89 * Deleted data cannot exist in the index (https://github.com/rosedblabs/rosedb/pull/232) 90 * fix: solve data race (https://github.com/rosedblabs/rosedb/pull/234) 91 * fix: destFile may be not exist (https://github.com/rosedblabs/rosedb/pull/243) 92 * Thanks to @rfyiamcool 93 * fix: format code comment for rand_kv (https://github.com/rosedblabs/rosedb/pull/240) 94 95 # Release 2.2.1(2023-07-03) 96 97 ## π Community 98 * Thanks to @rfyiamcool for PR 99 * feature: Add rollback function to discard all buffered data and release the lock([#217](https://github.com/rosedblabs/rosedb/pull/217)) 100 * fix: clear db after benchmark ([#224](https://github.com/rosedblabs/rosedb/pull/224)) 101 102 103 # Release 2.2.0(2023-06-21) 104 105 ## π New Features 106 * Support Merge operation, to reclaim disk space. 107 * `Merge` will rewrite all the valid data into new file, and delete the old files. 108 * It maybe a very time-consuming operation, so it is recommended to use it when the database is idle. 109 * Add tests in windows, with worlflow. 110 111 # Release 2.1.0(2023-06-15) 112 113 ## π New Features 114 115 * Support iterator in rosedb, it can traverse the data in database in order. 116 And the methods are as follows: 117 118 * Rewind 119 * Seek 120 * Next 121 * Key 122 * Value 123 * Close 124 125 And the prefix scan is also supported. 126 127 ## πBug Fix 128 129 * Thanks to @rfyiamcool for PR 130 * [#216](https://github.com/rosedblabs/rosedb/pull/216) fix: update committed flag after batch commit 131 132 # Release 2.0.0(2023-06-13) 133 134 ## π New Features 135 * Basic operations, `Put/Get/Delete/Exist` key value pairs. 136 * Batch operations, `Put/Get/Delete/Exist` key value pairs, and `Commit`. 137 * DB functions, `Open/Close/Sync/Stat`.