Debian Codegraph @

NEWS

raw
1 Version 0.3.28
2 ~~~~~~~~~~~~~~
3 Released: 2026-06-30
4
5 New Features:
6 - Automatically add system locales when using native-langs (Richard Hughes)
7 - Lower the Meson and GLib deps for RHEL-8 (Richard Hughes)
8
9 Bugfixes:
10 - Lazy clear opcode tokens for a ~2% speedup (Richard Hughes)
11 - Speed up negative queries by 11% by defer creating the results objects (Richard Hughes)
12 - Speed up predicates with no bindings by 9% (Richard Hughes)
13 - Speed up the no-results query by 2.5% by using a constant error (Richard Hughes)
14
15 Version 0.3.27
16 ~~~~~~~~~~~~~~
17 Released: 2026-05-18
18
19 New Features:
20 - Bump the required version of GLib to 2.68 (Richard Hughes)
21
22 Bugfixes:
23 - Do not construct an invalid silo when processing more than 30 attrs (Richard Hughes)
24 - Fix NULL pointer dereference when searching with NULL needle (Richard Hughes)
25 - Fix potential use-after-free when building the in() haystack (Richard Hughes)
26 - Fix stem() type-checking the wrong stack position (Richard Hughes)
27 - Handle NULL string opcodes in more functions (Richard Hughes)
28 - Limit operator recursion depth in xb_machine_parse_section (Richard Hughes)
29 - Limit the number of predicates and OR branches in each section (Richard Hughes)
30 - Prevent an infinite loop when parsing a corrupt silo (Richard Hughes)
31 - Reject XML with more than 65535 unique element names (Richard Hughes)
32
33 Version 0.3.26
34 ~~~~~~~~~~~~~~
35 Released: 2026-04-14
36
37 New Features:
38 - Parse CDATA as text (Milan Crha)
39
40 Bugfixes:
41 - Add bounds check to prevent OOB read in token index lookup (Richard Hughes)
42 - Do not write an invalid silo when more than 63 attrs on one node (Richard Hughes)
43 - No inotify for illumos and Solaris (Marcel Telka)
44 - Prevent stack overflow from unbounded recursion in export (Richard Hughes)
45
46 Version 0.3.25
47 ~~~~~~~~~~~~~~
48 Released: 2026-02-03
49
50 Bugfixes:
51 - Correctly decompress heavily compressed zstd streams (Richard Hughes)
52
53 Version 0.3.24
54 ~~~~~~~~~~~~~~
55 Released: 2025-09-10
56
57 Bugfixes:
58 - Allow calling xb_silo_query_build_index() with no text set (Richard Hughes)
59 - Do not reverse the order of attrs when using xb_node_attr_iter_next() (Richard Hughes)
60
61 Version 0.3.23
62 ~~~~~~~~~~~~~~
63 Released: 2025-08-07
64
65 Bugfixes:
66 - Do not reallocate the final silo blob when compiling to reduce peak RSS by about ~6%
67
68 Version 0.3.22
69 ~~~~~~~~~~~~~~
70 Released: 2025-03-12
71
72 New Features:
73 - Add support for COLLAPSE_EMPTY when exporting an XbBuilderNode (Richard Hughes)
74 - Store the expected file size in the header to detect truncation (Richard Hughes)
75
76 Bugfixes:
77 - Check the strtab has a trailing NUL byte (Richard Hughes)
78 - Fix an issue when exporting a silo using COLLAPSE_EMPTY (Richard Hughes)
79 - Fix calling text() on an empty element (Richard Hughes)
80
81 Version 0.3.21
82 ~~~~~~~~~~~~~~
83 Released: 2024-10-15
84
85 Bugfixes:
86 - Check for corrupt XbSiloNode values in a smarter way (Richard Hughes)
87
88 Version 0.3.20
89 ~~~~~~~~~~~~~~
90 Released: 2024-10-14
91
92 Bugfixes:
93 - Do not always strip literal text (Richard Hughes)
94 - Do not assume .txt files are application/xml (Richard Hughes)
95 - Fix a crash when loading a corrupt XMLb store (Richard Hughes)
96 - Fix writing files on Windows (Richard Hughes)
97
98 Version 0.3.19
99 ~~~~~~~~~~~~~~
100 Released: 2024-04-22
101
102 New Features:
103 - Add xb_version_string() to get the runtime ABI version (Richard Hughes)
104
105 Bugfixes:
106 - Add the runtime version as the default XMLb invalidation GUID (Richard Hughes)
107
108 Version 0.3.18
109 ~~~~~~~~~~~~~~
110 Released: 2024-04-09
111
112 Bugfixes:
113 - Fix decompressing large zstd files, harder (Richard Hughes)
114 - Include the pkgconfig variables in the subproject declared dependency (Richard Hughes)
115
116 Version 0.3.17
117 ~~~~~~~~~~~~~~
118 Released: 2024-04-05
119
120 Bugfixes:
121 - Create SECURITY.md for the OpenSSF scorecard (Richard Hughes)
122 - Fix decompressing large zstd files (Richard Hughes)
123 - Use zst as the file extension for zstd (Richard Hughes)
124
125 Version 0.3.16
126 ~~~~~~~~~~~~~~
127 Released: 2024-04-03
128
129 New Features:
130 - Add the lzma and zstd support to the pkgconfig file (Richard Hughes)
131
132 Bugfixes:
133 - Make the LZMA support optional (Richard Hughes)
134
135 Version 0.3.15
136 ~~~~~~~~~~~~~~
137 Released: 2024-01-02
138
139 New Features:
140 - Sprinkle __attribute__((nonnull)) to give a little more compile-time safety (Richard Hughes)
141
142 Bugfixes:
143 - Accept text/xml as an alternative to application/xml (peigongdsd)
144 - Do not inline shared code (Chun-wei Fan)
145 - Fix compiling with Visual Studio (Chun-wei Fan)
146 - Fix the exported api test on Windows (Chun-wei Fan)
147 - Generate and use .def file for clang-cl builds (Chun-wei Fan)
148 - Release source file handles early (Milan Crha)
149
150 Version 0.3.14
151 ~~~~~~~~~~~~~~
152 Released: 2023-10-24
153
154 Bugfixes:
155 - Fix comparing indexed text with integer values (Richard Hughes)
156
157 Version 0.3.13
158 ~~~~~~~~~~~~~~
159 Released: 2023-10-17
160
161 Bugfixes:
162 - Correctly tokenize when using a bound text value (Richard Hughes)
163 - Ensure tokens are all NULL when using xb_opcode_init() (Richard Hughes)
164
165 Version 0.3.12
166 ~~~~~~~~~~~~~~
167 Released: 2023-10-10
168
169 New Features:
170 - Use indexes when binding value (Richard Hughes)
171
172 Bugfixes:
173 - Avoid building errors and debug strings when possible to make XbQuery faster (Christian Hergert)
174 - Fix content type detection on macOS (Richard Hughes)
175 - Inline a number of machine internals to make queries faster (Christian Hergert)
176 - Make zstd support optional (sulincix, aliriza)
177 - Setup various release build options (Christian Hergert)
178
179 Version 0.3.11
180 ~~~~~~~~~~~~~~
181 Released: 2023-02-20
182
183 New Features:
184 - Add limited support for XPath 1.0 'in' (Richard Hughes)
185 - Add support for zstd (Richard Hughes)
186
187 Bugfixes:
188 - Do not assert() when decompressing invalid LZMA (Richard Hughes)
189
190 Version 0.3.10
191 ~~~~~~~~~~~~~~
192 Released: 2022-09-11
193
194 Bugfixes:
195 - Fix dumping and exporting multiple files from the CLI (Richard Hughes)
196 - Watch files before loading them into the builder (Philip Withnall)
197 - Fix potential double free when filtering by language (Sergio Costas Rodriguez)
198
199 Version 0.3.9
200 ~~~~~~~~~~~~~
201 Released: 2022-05-24
202
203 Bugfixes:
204 - Fix the crash for when the root tree has no children (Richard Hughes)
205 - Fix the crash when getting the element for the [empty] root (Richard Hughes)
206 - Install xb-tool into bindir (Richard Hughes)
207
208 Version 0.3.8
209 ~~~~~~~~~~~~~
210 Released: 2022-03-22
211
212 Bugfixes:
213 - Fix building on macOS (Bobby Rong)
214
215 Version 0.3.7
216 ~~~~~~~~~~~~~
217 Released: 2022-02-16
218
219 Bugfixes:
220 - Ensure reproducible results when importing a node (Richard Hughes)
221 - Ignore all hidden files when using _WATCH_DIRECTORY (Richard Hughes)
222 - Show the value bindings when using XB_SILO_PROFILE_FLAG_XPATH (Richard Hughes)
223 - Use the correct lookup method for the python3 script interpreter (Eli Schwartz)
224
225 Version 0.3.6
226 ~~~~~~~~~~~~~
227 Released: 2021-12-06
228
229 Bugfixes:
230 - Ensure _IS_TOKENIZED is set if tokens are added manually (Richard Hughes)
231 - Ensure we never add too many tokens to the silo (Richard Hughes)
232
233 Version 0.3.5
234 ~~~~~~~~~~~~~
235 Released: 2021-12-01
236
237 Bugfixes:
238 - Put tail after the node when exporting XbBuilderNode (Matthias Klumpp)
239 - Remove the G_ALIGNOF checks to fix compile with old GLib versions (Richard Hughes)
240
241 Version 0.3.4
242 ~~~~~~~~~~~~~
243 Released: 2021-11-29
244
245 New Features:
246 - Add a flag to require the XbBuilderSource to have no siblings (Richard Hughes)
247 - Add iterator for XbNode attributes and children (Matthias Klumpp)
248 - Allow removing XbBuilderNode text (Richard Hughes)
249 - Allow stripping builder node inner text (Richard Hughes)
250 - Include records in the symbol export list (Richard Hughes)
251 - Use -Dcli=false to reduce the install size (Richard Hughes)
252
253 Version 0.3.3
254 ~~~~~~~~~~~~~
255 Released: 2021-10-06
256
257 New Features:
258 - Add support for LZMA decompression (Richard Hughes)
259
260 Bugfixes:
261 - Add locking for file monitors (Philip Withnall)
262 - Clarify GMainContext usage and signal emission (Philip Withnall)
263 - Modernise property declaration (Philip Withnall)
264
265 Version 0.3.2
266 ~~~~~~~~~~~~~
267 Released: 2021-05-24
268
269 Bugfixes:
270 - Respect XB_BUILDER_NODE_FLAG_IGNORE when exporting (Richard Hughes)
271 - Use the chosen chunk size when reading from a stream (Richard Hughes)
272 - Use the correct pkgconfig export package name in the GIR file (Richard Hughes)
273
274 Version 0.3.1
275 ~~~~~~~~~~~~~
276 Released: 2021-05-06
277
278 New Features:
279 - Use stack-allocated XbStack instances for running a machine (Philip Withnall)
280
281 Bugfixes:
282 - Always run xb-tool queries with the optimizer (Richard Hughes)
283 - Do not use g_file_replace_contents for win32 (Richard Hughes)
284 - Ensure tokens handling works when XbOpcode is not zero-inited (Philip Withnall)
285
286 Version 0.3.0
287 ~~~~~~~~~~~~~
288 Released: 2021-03-12
289
290 New Features:
291 - Add a new object to contain query context data (Philip Withnall)
292 - Allow collapsing empty XML tags if no children or text (Aleksander Morgado)
293 - Allow marking elements as tokenized from xb-tool (Richard Hughes)
294 - Allow optimized searching when comparing tokens (Richard Hughes)
295 - Support mmap()ing the source file to get bytes (Philip Withnall)
296 - Support query caching with xb_silo_lookup_query() (Philip Withnall)
297 - Support UTF-8 for upper-case() and lower-case() (Richard Hughes)
298 - Use g_str_match_string() for non-ASCII search queries (Richard Hughes)
299 - Write search tokens into the built silo (Richard Hughes)
300
301 Bugfixes:
302 - Cancel the GFileMonitor before unreffing it (Iain Lane)
303 - Do not allocate a 128Mb buffer for each xb_builder_source_ctx_get_bytes() (Richard Hughes)
304 - Do not error when creating a query if the element doesn’t exist (Philip Withnall)
305 - Fix a parse failure for a double comment (Richard Hughes)
306 - Fix various errors or missing annotations in docs (Philip Withnall)
307 - Make handling of single-result queries more robust (Philip Withnall)
308
309 Version 0.2.1
310 ~~~~~~~~~~~~~
311 Released: 2020-09-07
312
313 Bugfixes:
314 - Do not assume g_content_type_guess() always returns valid results (Richard Hughes)
315 - Make the build reproducible (Richard Hughes)
316 - Revert "Do not show a critical warning for invalid XML" (Richard Hughes)
317 - Update the header location to reflect the new API (Richard Hughes)
318
319 Version 0.2.0
320 ~~~~~~~~~~~~~
321 Released: 2020-08-18
322
323 Important:
324 - This release breaks API and ABI and bumps the version of libxmlb.so and so
325 packages that depend on this library (e.g. fwupd or gnome-software) will need
326 to be rebuilt at the same time.
327
328 New Features:
329 - Add the missing TEXT:INTE XPath support (Richard Hughes)
330 - Add variant of xb_silo_query_with_root() avoiding XbNode creation (Philip Withnall)
331 - Add XB_BUILDER_SOURCE_FLAG_WATCH_DIRECTORY flag (Philip Withnall)
332 - Allow specifying the node cache behaviour for the query (Richard Hughes)
333
334 Bugfixes:
335 - Avoid recursion when setting flags if possible (Philip Withnall)
336 - Avoid using weak pointers when building the silo (Philip Withnall)
337 - Change the default value for the node cache (Richard Hughes)
338 - Do not allocate opcodes individually (Philip Withnall)
339 - Do not show a critical warning for invalid XML (Richard Hughes)
340 - Do not unconditionally create GTimer objects (Philip Withnall)
341 - Do not use the node cache when building indexes (Richard Hughes)
342 - Lazy load more arrays to reduce RSS usage (Philip Withnall)
343 - Report silo versions when versions mismatch (Robert Ancell)
344
345 Version 0.1.15
346 ~~~~~~~~~~~~~~
347 Released: 2020-03-04
348
349 New Features:
350 - Add xb_builder_source_add_simple_adapter (Daniel Campello)
351 - Allow reversing the query results (Richard Hughes)
352
353 Version 0.1.14
354 ~~~~~~~~~~~~~~
355 Released: 2019-12-03
356
357 New Features:
358 - Add MinGW Windows 64 builds to CI (Richard Hughes)
359
360 Bugfixes:
361 - Allow compiling without gio-unix (Richard Hughes)
362 - Do not use libuuid (Richard Hughes)
363 - Do not unconditionally use -fstack-protector-strong (Richard Hughes)
364 - Ignore adaptors added with xb_builder_source_add_converter() (Richard Hughes)
365
366 Version 0.1.13
367 ~~~~~~~~~~~~~~
368 Released: 2019-10-17
369
370 New Features:
371 - Export xb_silo_query_full() (Richard Hughes)
372
373 Bugfixes:
374 - Show the XPath that was used in the query in the error message (Richard Hughes)
375
376 Version 0.1.12
377 ~~~~~~~~~~~~~~
378 Released: 2019-09-27
379
380 New Features:
381 - Add helper functions to get the first and last child XbBuilerNode (Richard Hughes)
382 - Add xb_node_transmogrify to allow changing XML format (Richard Hughes)
383 - Support 'tail' XML data in the stored silo (Richard Hughes)
384
385 Bugfixes:
386 - Do not escape a single quote with ' (Richard Hughes)
387 - Don't invalidate the silo for a GIO temp file (Richard Hughes)
388 - Fix up two memory leaks if using libxmlb from an introspected binding (Richard Hughes)
389
390 Version 0.1.11
391 ~~~~~~~~~~~~~~
392 Released: 2019-07-15
393
394 New Features:
395 - Add xb_node_query_first_full() convenience helper (Richard Hughes)
396 - Rebuild the XbMachine parser to support 'and' and 'or' predicates (Richard Hughes)
397 - Verify we never break the ABI (Mathieu Bridon)
398
399 Bugfixes:
400 - Conditionalize installation of test data (Mathieu Bridon)
401 - Generate a GUID of zero for no silo data (Richard Hughes)
402 - Run CI jobs in parallel (Mathieu Bridon)
403
404 Version 0.1.10
405 ~~~~~~~~~~~~~~
406 Released: 2019-05-16
407
408 Bugfixes:
409 - Do not mistake gzipped files as being application/x-zerosize content type (Richard Hughes)
410 - Fix running the installed tests with no checkout directory (Richard Hughes)
411
412 Version 0.1.9
413 ~~~~~~~~~~~~~
414 Released: 2019-05-07
415
416 Bugfixes:
417 - Correctly implement building a silo with _SINGLE_LANG set (Richard Hughes)
418
419 Version 0.1.8
420 ~~~~~~~~~~~~~
421 Released: 2019-03-26
422
423 New Features:
424 - Add some installed tests (Richard Hughes)
425
426 Bugfixes:
427 - Always add all children when importing parent-less XML data (Richard Hughes)
428
429 Version 0.1.7
430 ~~~~~~~~~~~~~
431 Released: 2019-03-08
432
433 New Features:
434 - Add XB_BUILDER_COMPILE_FLAG_IGNORE_GUID (Richard Hughes)
435 - Allow nesting XbBuilderSource content type handlers (Richard Hughes)
436
437 Bugfixes:
438 - Correct return type for xb_builder_compile() (Mario Limonciello)
439 - Increase the amount of time for the inotify event to happen (Richard Hughes)
440 - Only run the speed tests when using '-m perf' (Richard Hughes)
441
442 Version 0.1.6
443 ~~~~~~~~~~~~~
444 Released: 2018-12-30
445
446 New Features:
447 - Allow controlling how the XbQuery is parsed (Richard Hughes)
448
449 Version 0.1.5
450 ~~~~~~~~~~~~~
451 Released: 2018-11-21
452
453 New Features:
454 - Add xb_builder_node_export() (Richard Hughes)
455
456 Bugfixes:
457 - Do not start a GIO session bus when using xb-tool (Richard Hughes)
458 - Ignore calls to xb_silo_query_build_index() with no results (Richard Hughes)
459 - Lazy load the stemmer when required (Richard Hughes)
460
461 Version 0.1.4
462 ~~~~~~~~~~~~~
463 Released: 2018-11-08
464
465 New Features:
466 - Add support for bound variables (Richard Hughes)
467 - Add support for indexed strings (Richard Hughes)
468 - Optionally optimize predicates (Richard Hughes)
469 - Split out the XPath query logic into XbQuery (Richard Hughes)
470 - Support XPath method to do a Porter stem operation on text (Richard Hughes)
471
472 Bugfixes:
473 - Don't hardcode the path of python3 (Ting-Wei Lan)
474 - Only attempt to pass TEXT opcodes for upper-case() (Richard Hughes)
475 - Revert the optional text space saving feature (Richard Hughes)
476 - Use INTE:INTE for comparison where available (Richard Hughes)
477
478 Version 0.1.3
479 ~~~~~~~~~~~~~
480 Released: 2018-10-22
481
482 New Features:
483 - Add XbBuilderFixup (Richard Hughes)
484 - Add xb_builder_node_get_attr_as_uint() (Richard Hughes)
485 - Add xb_builder_node_get_text_as_uint() (Richard Hughes)
486 - Add xb_builder_node_sort_children() (Richard Hughes)
487
488 Bugfixes:
489 - Allow being used as a meson subproject (Jan Tojnar)
490 - Fix compiling on Ubuntu Xenial (Richard Hughes)
491 - Switch from GPtrArray to XbStack for performance reasons (Richard Hughes)
492 - Update meson relro checks (Jan Tojnar)
493
494 Version 0.1.2
495 ~~~~~~~~~~~~~
496 Released: 2018-10-16
497
498 New Features:
499 - Add support for XPath string-length() (Richard Hughes)
500 - Add xb_builder_source_load_bytes() (Richard Hughes)
501 - Add xb_silo_export_file() (Richard Hughes)
502 - Add xb_string_append_union() (Richard Hughes)
503 - Add xb_string_escape() (Richard Hughes)
504
505 Bugfixes:
506 - Allow the use as meson subproject (Jan Tojnar)
507 - Do not query with the first child (Richard Hughes)
508 - Fix a crash when using xb_builder_node_set_text() in a fixup (Richard Hughes)
509 - Only run the XbBuilderSourceConverterFunc if the silo needs rebuilding (Richard Hughes)
510 - Return an error when the XPath predicate has invalid syntax (Richard Hughes)
511
512 Version 0.1.1
513 ~~~~~~~~~~~~~
514 Released: 2018-10-11
515
516 New Features:
517 - Add support for XPath starts-with() and ends-with() (Richard Hughes)
518 - Add support for number() and text() type conversion (Richard Hughes)
519 - Add support for predicate not() (Richard Hughes)
520 - Add xb_silo_invalidate() (Richard Hughes)
521 - Export XbMachine and XbOpcode (Richard Hughes)
522
523 Bugfixes:
524 - Add the XbBuilderSource info keys to the generated GUID (Richard Hughes)
525 - Add the XbBuilderSourceNodeFunc ID to the generated GUID (Richard Hughes)
526 - Add the source prefix to the generated GUID (Richard Hughes)
527 - Do not use GNode when compiling the blob (Richard Hughes)
528 - Ignore invalid arguments if OR queries have other sections to parse (Richard Hughes)
529 - Load back the saved new silo to get a mmapped version (Richard Hughes)
530 - Support XPath wildcard nodes with predicates (Richard Hughes)
531 - Support some relative parent queries (Richard Hughes)
532 - Use the time::changed-usec if set in the GUID (Richard Hughes)
533
534 Version 0.1.0
535 ~~~~~~~~~~~~~
536 Released: 2018-10-05
537
538 Notes:
539 - A library for querying compressed XML metadata.