Debian Codegraph @

CHANGES.md

raw symbols SCIP
1 #Release Change Log
2
3 ##v1.9.0-dev
4
5 - Fix unsafe threading behavior in benchmarks (#101)
6 - Update transactions no longer allocate `MDB_val` objects (#102)
7 - Txn.Renew no longer clears the Txn finalizer -- prevents resource leaks (#104)
8 - Txn.Pooled field added so that the Txn finalizer may work better with
9 sync.Pool (#104/#105)
10 - Fixed a race in the Txn finalizer that could lead to a segfault (#105)
11 - Txn.RunOp method added so that it is possible for other packages to create
12 other flavors of managed transactions from scratch (#105)
13 - Experimental package lmdbpool was added to make integration of lmdb and
14 sync.Pool easier (#104/#105)
15
16 ```
17 go get github.com/bmatsuo/lmdb-go/exp/lmdbpool
18 ```
19
20 - Silence aggressive struct initializer warning from clang (#107)
21 - Improved documentation regarding long-running transactions and dead readers
22 (#111)
23
24 ##v1.8.0 (2017-02-10)
25
26 - lmdbscan: The package was moved out of the exp/ subtree and can now be
27 considered stable and suitable for general use.
28 - lmdb: Update LMDB C library to version 0.9.19 (#92).
29
30 ```
31 Fix mdb_env_cwalk cursor init (ITS#8424)
32 Fix robust mutexes on Solaris 10/11 (ITS#8339)
33 Tweak Win32 error message buffer
34 Fix MDB_GET_BOTH on non-dup record (ITS#8393)
35 Optimize mdb_drop
36 Fix xcursors after mdb_cursor_del (ITS#8406)
37 Fix MDB_NEXT_DUP after mdb_cursor_del (ITS#8412)
38 Fix mdb_cursor_put resetting C_EOF (ITS#8489)
39 Fix mdb_env_copyfd2 to return EPIPE on SIGPIPE (ITS#8504)
40 Fix mdb_env_copy with empty DB (ITS#8209)
41 Fix behaviors with fork (ITS#8505)
42 Fix mdb_dbi_open with mainDB cursors (ITS#8542)
43 Fix robust mutexes on kFreeBSD (ITS#8554)
44 Fix utf8_to_utf16 error checks (ITS#7992)
45 Fix F_NOCACHE on MacOS, error is non-fatal (ITS#7682)
46 Build
47 Make shared lib suffix overridable (ITS#8481)
48 Documentation
49 Cleanup doxygen nits
50 Note reserved vs actual mem/disk usage
51 ```
52
53 - lmdb: Fix resource leak in cursor tests (bcf4e9f).
54 - lmdb: Fix panic in Cursor.Get when using the Set op (#96).
55 - docs: Improve documentation about when runtime.LockOSThread is required
56
57 ##v1.7.0
58
59 - lmdb: Removed unnecessary import of the "math" package (#70).
60 - lmdb: Removed direct dependency on the "fmt" package and reduced error
61 related allocation (#73).
62 - cmd/lmdb_stat: Fix transaction ID decoding and match output of `mdb_stat`
63 1-to-1 (#78).
64 - lmdb: fix compilation for 32-bit architectures (#83).
65
66 ##v1.6.0 (2016-04-07)
67
68 - lmdb: method Txn.ID() exposing mdb_txn_id. (#47)
69 - lmdb: Env.ReaderList() returns an error if passed a nil function. (#48)
70 - lmdbsync: realistic test of resizing functionality (#7)
71 - lmdbsync: use context.Context instead of a hand-rolled Bag (#51)
72 - lmdbsync: Handler Env is now an argument instead of a context value (#52)
73 - lmdbsync: Changes to MapResizedHandler and its default values (#54)
74 - lmdb: Fix CGO argument check panic for certain []byte values produced from a
75 bytes.Buffer (#56)
76 - lmdb: Support building the C library with support for the pwritev(2) system
77 call (#58)
78 - lmdb: Reuse MDB_val values within transactions to reduce allocations in
79 transactions issuing multiple Get operations (#61).
80 - lmdb: Avoid allocation and linear scan overhead on the cgo boundary for
81 transaction operations (Get/Put and variants) (#63).
82 - lmdb: Use a more portable internal conversion from C pointers to slices
83 (#67).
84
85 ##v1.5.0
86
87 - lmdb: fix crash from bad interaction with Txn finalizer and Txn.Reset/.Renew.
88 - lmdb: Update the LMDB C library to 0.9.18
89
90 ```
91 Fix robust mutex detection on glibc 2.10-11 (ITS#8330)
92 Fix page_search_root assert on FreeDB (ITS#8336)
93 Fix MDB_APPENDDUP vs. rewrite(single item) (ITS#8334)
94 Fix mdb_copy of large files on Windows
95 Fix subcursor move after delete (ITS#8355)
96 Fix mdb_midl_shirnk off-by-one (ITS#8363)
97 Check for utf8_to_utf16 failures (ITS#7992)
98 Catch strdup failure in mdb_dbi_open
99 Build
100 Additional makefile var tweaks (ITS#8169)
101 Documentation
102 Add Getting Started page
103 Update WRITEMAP description
104 ```
105
106 ##v1.4.0
107
108 - development: The LMDB C library can be cloned under /lmdb -- it will be
109 ignored.
110 - lmdb: Pass CFLAGS -Wno-format-extra-args to silence compilation warning (OS
111 X).
112 - lmdb: Update the LMDB C library to 0.9.17
113
114 ```
115 Fix ITS#7377 catch calloc failure
116 Fix ITS#8237 regression from ITS#7589
117 Fix ITS#8238 page_split for DUPFIXED pages
118 Fix ITS#8221 MDB_PAGE_FULL on delete/rebalance
119 Fix ITS#8258 rebalance/split assert
120 Fix ITS#8263 cursor_put cursor tracking
121 Fix ITS#8264 cursor_del cursor tracking
122 Fix ITS#8310 cursor_del cursor tracking
123 Fix ITS#8299 mdb_del cursor tracking
124 Fix ITS#8300 mdb_del cursor tracking
125 Fix ITS#8304 mdb_del cursor tracking
126 Fix ITS#7771 fakepage cursor tracking
127 Fix ITS#7789 ensure mapsize >= pages in use
128 Fix ITS#7971 mdb_txn_renew0() new reader slots
129 Fix ITS#7969 use __sync_synchronize on non-x86
130 Fix ITS#8311 page_split from update_key
131 Fix ITS#8312 loose pages in nested txn
132 Fix ITS#8313 mdb_rebalance dummy cursor
133 Fix ITS#8315 dirty_room in nested txn
134 Fix ITS#8323 dirty_list in nested txn
135 Fix ITS#8316 page_merge cursor tracking
136 Fix ITS#8321 cursor tracking
137 Fix ITS#8319 mdb_load error messages
138 Fix ITS#8320 mdb_load plaintext input
139 Added mdb_txn_id() (ITS#7994)
140 Added robust mutex support
141 Miscellaneous cleanup/simplification
142 Build
143 Create install dirs if needed (ITS#8256)
144 Fix ThreadProc decl on Win32/MSVC (ITS#8270)
145 Added ssize_t typedef for MSVC (ITS#8067)
146 Use ANSI apis on Windows (ITS#8069)
147 Use O_SYNC if O_DSYNC,MDB_DSYNC are not defined (ITS#7209)
148 Allow passing AR to make (ITS#8168)
149 Allow passing mandir to make install (ITS#8169)
150 ```
151
152
153 ##v1.3.0
154
155 - all: Builds on Windows with passing tests. Fixes #33.
156 - lmdb: Cursor.DBI returns "invalid" DBI if the cursor is closed. Fixes #31.
157 - lmdb: Finalizers to prevent resource leaks. Fixes #20.
158 - all: Internal test package for setting up, populating, and tearing down environments.
159 - lmdbscan: Fix panic in Scanner.Scan after Txn.OpenCursor fails. Fixes #21.
160 - lmdbscan: Scanner.Set[Next] methods move the cursor and make the next
161 Scanner.Scan a noop. The changes should be backwards compatible. Fixes #17.
162 - lmdb: Cgo calling convention meets rules set forth for go1.6. Fixes #10.
163 - lmdb: add a "Package" code example that shows a complete workflow
164
165 ##v1.2.0
166
167 - Many example tests replaced with simpler code examples.
168 - Lots of documentation fixes
169 - internal/lmdbcmd: simplify version printing
170 - lmdbscan: add method Scanner.Cursor() to deprecate Scanner.Del()
171 - lmdbscan: add tests for Scanner.Set and Scanner.SetNext
172 - lmdb: Implement Env.FD() method returning an open file descriptor
173 - lmdbgo.c: remove unnecessary `#include <string.h>`
174
175 ##v1.1.1
176
177 - Lots of code examples.
178 - Lots of tests.
179 - Travis-CI enforcing code style using [`golint`](https://github.com/golang/lint)
180 - exp/lmdbscan: removed the scanner.Func type because it was unnecessary bloat.
181 - exp/lmdbsync: Tweak lmdbsync.HandlerChain semantics
182 - exp/lmdbsync: Rename type RetryTxn to ErrTxnRetry
183 - Move exp/cmd/lmdb_stat to path cmd/lmdb_stat because its purpose is know and
184 it is essentially complete.
185 - Move exp/cmd/lmdb_copy to path cmd/lmdb_stat because its purpose is know and
186 it is essentially complete.
187 - Add method Env.ReaderList using C shim.
188 - exp/lmdbsync: Simplified interface and behavior after tests.
189 - exp/lmdbsync: No longer restrict implementations of lmdbsync.Bag with an
190 unexported method.
191 - exp/lmdbsync: Do not let users call Env.BeginTxn because it is
192 unsynchronized.
193 - lmdb: methods Env.CopyFD and Env.CopyFDFlags
194 - lmdb: clean up Multi.Vals by using Multi.Val internally
195 - exp/lmdbsync: clean up lmdbsync.MapFullHandler and lmdbsync.MapResizedHandler
196 godoc.
197 - exp/lmdbsync: document possible deadlocks with MapFullHandler and MapResizedHandler
198 - exp/cmp/lmdb_example_resize: simple program that auto-resizes a database
199 - exp/lmdbsync: fix infinite loop
200 - README.md: link fixes