/
changelog
324 lines (177 loc) · 9.76 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
wb-mqtt-db (2.8.9) stable; urgency=medium
* Fix clang-format, no functional changes
-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Thu, 27 Apr 2023 11:30:00 +0400
wb-mqtt-db (2.8.8) stable; urgency=medium
* Migrate to libwbmqtt1-4, no functional changes
-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Tue, 07 Mar 2023 11:40:00 +0400
wb-mqtt-db (2.8.7) stable; urgency=medium
* Fix "debug" config option has no effect
-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Fri, 27 Jan 2023 17:23:00 +0400
wb-mqtt-db (2.8.6) stable; urgency=medium
* Fix missing channels request error
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.com> Fri, 09 Dec 2022 17:26:22 +0500
wb-mqtt-db (2.8.5) stable; urgency=medium
* Add make lcov target to generate test coverage, no functional changes
-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Tue, 06 Dec 2022 20:13:00 +0400
wb-mqtt-db (2.8.4) stable; urgency=medium
* Add unit tests, no functional changes
-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Tue, 29 Oct 2022 11:04:00 +0400
wb-mqtt-db (2.8.3) stable; urgency=medium
* Return empty table if no rpc request channels match with available channels
-- Ekaterina Volkova <ekaterina.volkova@wirenboard.ru> Mon, 28 Nov 2022 12:37:24 +0300
wb-mqtt-db (2.8.2) stable; urgency=medium
* Fix build error (SQLite::Statement::bind does not support unsigned 64-bit integer value)
-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Mon, 17 Oct 2022 07:25:25 -0400
wb-mqtt-db (2.8.1) stable; urgency=medium
* Improve database access performance
-- Roman Kochkin <roman.kochkin@wirenboard.ru> Mon, 17 Oct 2022 12:04:06 +0400
wb-mqtt-db (2.8.0) stable; urgency=medium
* Port for Debian bullseye
-- Roman Kochkin <roman.kochkin@wirenboard.ru> Mon, 10 Oct 2022 16:30:35 +0400
wb-mqtt-db (2.7.0) stable; urgency=medium
* Remove python dependency by removing old confconvert script
-- Nikita Maslov <nikita.maslov@wirenboard.ru> Thu, 15 Sep 2022 17:26:12 +0300
wb-mqtt-db (2.6.0) stable; urgency=medium
* New averaging logic in RPC.
The service averages values in RPC response if too many records are requested.
Otherwise it sends original values even if min_interval is defined in request.
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Mon, 25 Jul 2022 07:29:37 +0500
wb-mqtt-db (2.5.5) stable; urgency=medium
* Debug log channels enabling is fixed
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Tue, 07 Jun 2022 13:17:24 +0500
wb-mqtt-db (2.5.4) stable; urgency=medium
* Do not restart service with invalid config
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Tue, 17 May 2022 12:30:09 +0500
wb-mqtt-db (2.5.3) stable; urgency=medium
* Crash on first start with max_burst parameter is fixed
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Fri, 26 Nov 2021 11:36:30 +0500
wb-mqtt-db (2.5.2) stable; urgency=medium
* MQTT db schema translation to Russian
-- Dmitry Vorobjev <d.vorobjev@wirenboard.ru> Tue, 02 Nov 2021 14:21:25 +0300
wb-mqtt-db (2.5.1) stable; urgency=medium
* MQTT RPC min_interval entry parsing is fixed
-- Nikita Maslov <nikita.maslov@wirenboard.ru> Fri, 17 Sep 2021 20:07:25 +0300
wb-mqtt-db (2.5.0) stable; urgency=medium
* Update dependency on libwbmqtt1 to support fixed libmosquitto facade
(required for newer mosquitto backports)
-- Nikita Maslov <nikita.maslov@wirenboard.ru> Thu, 16 Sep 2021 15:25:51 +0300
wb-mqtt-db (2.4.0) stable; urgency=medium
* max_burst parameter is added to config.
It sets maximum extraordinary records number.
Extraordinary records can be saved after a long period without messages from MQTT.
For each such period equal to min_interval parameter one extraordinary record could be saved.
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Tue, 24 Aug 2021 12:21:17 +0500
wb-mqtt-db (2.3.2) stable; urgency=medium
* Channel's precision storage is fixed
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Mon, 23 Aug 2021 14:12:06 +0500
wb-mqtt-db (2.3.1) stable; urgency=medium
* Configuration error during package install is fixed
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Mon, 02 Aug 2021 16:28:34 +0500
wb-mqtt-db (2.3.0) stable; urgency=medium
* Text values are not averaged
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Fri, 23 Jul 2021 11:18:50 +0500
wb-mqtt-db (2.2.0) stable; urgency=medium
* Round average values according to control's /meta/precision.
If /meta/precision is not set, precision is calculated from most accurate
controls's value.
* If control's value changes only once during interval, it is stored with
time of changing.
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Wed, 21 Jul 2021 16:16:24 +0500
wb-mqtt-db (2.1.0) stable; urgency=medium
* Data base structure is modified
* Database cleanup is fixed
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Sat, 17 Jul 2021 16:28:19 +0500
wb-mqtt-db (2.0.2) unstable; urgency=medium
* Info log messages number is reduced
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Thu, 27 May 2021 12:25:00 +0500
wb-mqtt-db (2.0.1) unstable; urgency=medium
* MQTT client id is set before connection
* Error during selection of records from db is fixed
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Fri, 18 Dec 2020 15:15:00 +0500
wb-mqtt-db (2.0.0) unstable; urgency=medium
* port to libwbmqtt1
-- Petr Krasnoshchekov <petr.krasnoshchekov@wirenboard.ru> Fri, 24 Jul 2020 13:37:01 +0500
wb-mqtt-db (1.7.3) stable; urgency=medium
* add new conditional dependencies for debian stretch support
-- Attila Door <a.door@wirenboard.ru> Thu, 10 May 2018 13:57:22 +0300
wb-mqtt-db (1.7.2) stable; urgency=medium
* fix request_timeout handling in RPC request
-- Evgeny Boger <boger@contactless.ru> Sun, 07 Jan 2018 16:23:25 +0300
wb-mqtt-db (1.7.1) stable; urgency=medium
* update libwbmqtt version
-- Islam Boziev <i.boziev@wirenboard.ru> Thu, 23 Nov 2017 15:24:03 +0300
wb-mqtt-db (1.7) stable; urgency=medium
* add MQTT topic prefix support (new command line arg: -T <topic prefix>)
* add MQTT authentication support (new command line args: -u <MQTT user> -P <password>)
-- Islam Boziev <i.boziev@wirenboard.ru> Thu, 12 Oct 2017 16:01:20 +0300
wb-mqtt-db (1.6.5) stable; urgency=medium
* Change timestamps format to integers
* Add request timeout handling
-- Nikita Maslov <n.maslov@contactless.ru> Thu, 19 Jan 2017 13:39:12 +0300
wb-mqtt-db (1.6.4) stable; urgency=medium
* accumulator fix
-- Nikita Maslov <n.maslov@contactless.ru> Tue, 30 Aug 2016 14:49:55 +0300
wb-mqtt-db (1.6.3) stable; urgency=medium
* change logging engine to log4cpp
* fix value averaging
* fix daemon failures
-- Nikita Maslov <n.maslov@contactless.ru> Wed, 24 Aug 2016 12:21:35 +0300
wb-mqtt-db (1.6.2) stable; urgency=medium
* fix: RPC send min() and max() in RPCv1 and don't send in RPCv0
* fix: add aggregation for min and max fields on average requests
* fix: MinUnchangedInterval and MinInterval are in seconds now
* fix: create log directory on daemon start
* fix: proper function of processing timer
-- Nikita Maslov <n.maslov@contactless.ru> Tue, 19 Jul 2016 19:03:42 +0300
wb-mqtt-db (1.6.1) stable; urgency=medium
* fix configuration schema for proper editor appearance
-- Nikita Maslov <n.maslov@contactless.ru> Wed, 13 Jul 2016 12:35:28 +0300
wb-mqtt-db (1.6) stable; urgency=medium
* new configuration file format
* bulk transactions to optimize database access
* logging using gLog library
-- Nikita Maslov <n.maslov@contactless.ru> Tue, 05 Jul 2016 13:21:31 +0300
wb-mqtt-db (1.5) stable; urgency=medium
* change get_channel output format from array to map
* add get_channel RPC function
* add SIGTERM/SIGINT handler for graceful exit
-- Nikita Maslov <n.maslov@contactless.ru> Thu, 30 Jun 2016 12:06:27 +0300
wb-mqtt-db (1.4) stable; urgency=medium
* significant query performance improvement
* retained messages are ignored
-- Evgeny Boger <boger@contactless.ru> Sat, 12 Mar 2016 23:56:29 +0300
wb-mqtt-db (1.3.4) stable; urgency=medium
* fix deps
-- Evgeny Boger <boger@contactless.ru> Tue, 09 Feb 2016 20:48:29 +0300
wb-mqtt-db (1.3.3) stable; urgency=medium
* remove debug print
-- Evgeny Boger <boger@contactless.ru> Tue, 09 Feb 2016 20:48:29 +0300
wb-mqtt-db (1.3.2) stable; urgency=medium
* Moved schema files to /usr/share/wb-mqtt-confed/schemas
-- Ivan Shvedunov <ivan4th@gmail.com> Tue, 09 Feb 2016 11:03:34 +0300
wb-mqtt-db (1.3.1) stable; urgency=medium
* add confed schema
-- Evgeny Boger <boger@contactless.ru> Thu, 26 Nov 2015 22:00:24 +0300
wb-mqtt-db (1.3) stable; urgency=medium
* use internal ids instead of channel names
* API change. Support for min_interval
-- Evgeny Boger <boger@contactless.ru> Mon, 05 Oct 2015 21:17:38 +0300
wb-mqtt-db (1.2.2) stable; urgency=medium
* Speedup data saving:
1) Per-channel and per-group counters are cached
2) excess rows are deleted in bulk. Threshold is
specified in source code (RingBufferClearThreshold constant)
-- Evgeny Boger <boger@contactless.ru> Sun, 20 Sep 2015 21:20:17 +0300
wb-mqtt-db (1.2.1) stable; urgency=medium
* fix timstamp_lt
* fix crash on receiving null payload
-- Evgeny Boger <boger@contactless.ru> Thu, 10 Sep 2015 19:00:36 +0300
wb-mqtt-db (1.2) stable; urgency=medium
* query all channels at once
-- Evgeny Boger <boger@contactless.ru> Mon, 10 Aug 2015 23:39:33 +0300
wb-mqtt-db (1.1) stable; urgency=medium
* libwbmqtt 1.3
-- Evgeny Boger <boger@contactless.ru> Fri, 03 Jul 2015 00:29:21 +0300
wb-mqtt-db (1.0) stable; urgency=medium
* Initial release.
-- Evgeny Boger <boger@contactless.ru> Mon, 22 Jun 2015 19:26:53 +0300