OSDN Git Service

new repo
[bytom/vapor.git] / vendor / github.com / tendermint / tmlibs / CHANGELOG.md
1 # Changelog
2
3 ## 0.4.1 (November 27, 2017)
4
5 FEATURES:
6  - [common] `Keys()` method on `CMap`
7
8 IMPROVEMENTS:
9  - [log] complex types now encoded as "%+v" by default if `String()` method is undefined (previously resulted in error)
10  - [log] logger logs its own errors
11
12 BUG FIXES:
13  - [common] fixed `Kill()` to build on Windows (Windows does not have `syscall.Kill`)
14
15 ## 0.4.0 (October 26, 2017)
16
17 BREAKING:
18  - [common] GoPath is now a function
19  - [db] `DB` and `Iterator` interfaces have new methods to better support iteration
20
21 FEATURES:
22  - [autofile] `Read([]byte)` and `Write([]byte)` methods on `Group` to support binary WAL
23  - [common] `Kill()` sends SIGTERM to the current process
24
25 IMPROVEMENTS:
26  - comments and linting
27
28 BUG FIXES:
29  - [events] fix allocation error prefixing cache with 1000 empty events
30
31 ## 0.3.2 (October 2, 2017)
32
33 BUG FIXES:
34
35 - [autofile] fix AutoFile.Sync() to open file if it's been closed
36 - [db] fix MemDb.Close() to not empty the database (ie. its just a noop)
37
38
39 ## 0.3.1 (September 22, 2017)
40
41 BUG FIXES:
42
43 - [common] fix WriteFileAtomic to not use /tmp, which can be on another device
44
45 ## 0.3.0 (September 22, 2017)
46
47 BREAKING CHANGES:
48
49 - [log] logger functions no longer returns an error
50 - [common] NewBaseService takes the new logger
51 - [cli] RunCaptureWithArgs now captures stderr and stdout
52   - +func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (stdout, stderr string, err error)
53   - -func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (output string, err error)
54
55 FEATURES:
56
57 - [common] various common HTTP functionality
58 - [common] Date range parsing from string (ex. "2015-12-31:2017-12-31")
59 - [common] ProtocolAndAddress function
60 - [pubsub] New package for publish-subscribe with more advanced filtering
61
62 BUG FIXES:
63
64 - [common] fix atomicity of WriteFileAtomic by calling fsync
65 - [db] fix memDb iteration index out of range
66 - [autofile] fix Flush by calling fsync
67
68 ## 0.2.2 (June 16, 2017)
69
70 FEATURES:
71
72 - [common] IsHex and StripHex for handling `0x` prefixed hex strings
73 - [log] NewTracingLogger returns a logger that output error traces, ala `github.com/pkg/errors`
74
75 IMPROVEMENTS:
76
77 - [cli] Error handling for tests
78 - [cli] Support dashes in ENV variables
79
80 BUG FIXES:
81
82 - [flowrate] Fix non-deterministic test failures
83
84 ## 0.2.1 (June 2, 2017)
85
86 FEATURES:
87
88 - [cli] Log level parsing moved here from tendermint repo
89
90 ## 0.2.0 (May 18, 2017)
91
92 BREAKING CHANGES:
93
94 - [common] NewBaseService takes the new logger
95
96
97 FEATURES:
98
99 - [cli] New library to standardize building command line tools
100 - [log] New logging library
101
102 BUG FIXES:
103
104 - [autofile] Close file before rotating
105
106 ## 0.1.0 (May 1, 2017)
107
108 Initial release, combines what were previously independent repos:
109
110 - go-autofile
111 - go-clist
112 - go-common
113 - go-db
114 - go-events
115 - go-flowrate
116 - go-logger
117 - go-merkle
118 - go-process
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283