|
1 | 1 | Release history for libmodulemd |
2 | 2 |
|
| 3 | +2.15.0 2023-05-10 |
| 4 | + |
| 5 | +Enhancements: |
| 6 | +- Add a support for decompressing Zstandard-compressed YAML files. |
| 7 | + modulemd_detect_compression() function now recognizes files with "zst" file |
| 8 | + name extension and files with Zstandard magic bytes and returns |
| 9 | + MODULEMD_COMPRESSION_TYPE_ZSTD_COMPRESSION constant for them. |
| 10 | + modulemd_module_index_update_from_file() can load Zstandard-compressed YAML |
| 11 | + files now. |
| 12 | +- Remove a dependency on "file" library (libmagic). libmodulemd now implements |
| 13 | + its own detection of supported compression formats. This saves roughly 9 MB |
| 14 | + from a minimal system installation. |
| 15 | +- An XML specification for in-YUM-repository metadata is available in |
| 16 | + "xml_specs" directory. This new format aspires for replacing modulemd-v2, |
| 17 | + modulemd-defaults-v1 and modulemd-translations-v1 YAML formats. A motivation |
| 18 | + is to unify with other XML files in YUM repositories. Please note that this |
| 19 | + specification is not yet implemented. |
| 20 | + |
| 21 | +Incompatible changes: |
| 22 | +- Meson minimal version increased to 0.55. |
| 23 | + |
| 24 | +Deprecation: |
| 25 | +- Deprecate intents in modulemd-defaults specification. System intents, which |
| 26 | + parameterize a default stream and default profiles of a module, were never |
| 27 | + implemented in the package managers (e.g. DNF). Users are discouraged from |
| 28 | + using this feature. Future libmodulmed versions might deprecate and later |
| 29 | + remove parts of an API pertaining the intents. |
| 30 | + |
| 31 | +Fixes: |
| 32 | +- Fix a crash when converting a modulemd-packager object with a default |
| 33 | + profile and without a module name or stream to a module index. |
| 34 | +- Fix parsing empty profiles. Previously a profile with an empty rpms list was |
| 35 | + misparsed as a list with a single, empty package name. |
| 36 | +- A specification for modulemd-v2 format was corrected to require a "content" |
| 37 | + license subtree only if the module build contains artifacts. |
| 38 | +- Double-quote strings in scalar YAML values when they look like a number. |
| 39 | + Most of the fields in the YAML files are required to be interpreted as |
| 40 | + strings. Unaware third-party parsers could misinterpret number-like strings |
| 41 | + (e.g. 2.30) as floats (i.e. 2.3), leading to mismatching string |
| 42 | + representations. This is now prevented by quoting these values (i.e. |
| 43 | + "2.30"). |
| 44 | +- A build script now correctly asserts a requested Python version. Previously |
| 45 | + Python 3 /usr/bin/python program could be mistaken with Python 2 |
| 46 | + interpreter. |
| 47 | +- meson-0.64.0 warnings about "check" option of run_command() were fixed. |
| 48 | +- Warnings from g_str_equal() macro of glib2 about passing an unsigned |
| 49 | + char * to strcmp() were fixed. |
| 50 | + |
| 51 | + |
3 | 52 | 2.14.0 2022-02-04 |
4 | 53 |
|
5 | 54 | This release is fully compatible with the previous version 2.13.0 except |
|
0 commit comments