Releases: rpm-software-management/libdnf
Releases · rpm-software-management/libdnf
0.75.0
Enhancements:
- context: Support libdnf5 drop-in directories and repository overrides. This
allows applications using the context part of libdnf (e.g. microdnf,
PackageKit) to take into account the main configuration from drop-in
directories and repository overrides, similar to how libdnf5 does.
These directories are also monitored for changes (except when using non-root
installroot path.)
This feature can be disabled at build time (ENABLE_DNF5_CONF_DROP_IN,
ENABLE_DNF5_CONF_REPOS_OVERRIDE CMake options). - context: dnf_context_set_install_root() now sets installroot also to global
mainConf configuration. - IniParser: Support glob range definition in section names
- history database: Add "persistence" column (possible values are UNKNOWN,
PERSIST, or TRANSIENT). - conf: Add usr_drift_protected_paths configuration option which can be
configured by adding .conf files to the drop-in directory
/etc/dnf/usr-drift-protected-paths.d, similar to /etc/dnf/protected.d.
Distributions will be able to add paths that are known to cause problems
when their contents drift with respect to /usr, e.g. /etc/pam.d.
Changes:
- context: Save repository configuration with dnf_repo_commit() to override file.
Previously, repository configuration changes were written directly to the
original configuration file. Now they are written to the overwrite file
"99-config_manager.repo" for compatibility with the dnf5 config-manager. - config: Convert "protected_packages" to an append option
Bug fixes:
- Don't prepend installroot to varsdir in libdnf::dnf_context_load_vars()
- Fix file name comparison in filesystem::createSortedFileList()
- Stop importing subkeys to RPM >= 5.99.90 because RPM 6 handles subkeys
automatically. - Fix typos in messages in package problems dictionary
- build: Fix searching libdnf header files when generating bindings with Swig
- build: Don't probe for libcheck dependency if no tests are going to be built
- spec: Consistently use CMake RPM macros
- tests: Replace deprecated "check" macros
- tests: Verify "fopen" return value otherwise we could crash
Internal changes:
- New functions filesystem::pathJoin(), filesystem::createSortedFileList(),
filesystem::getRealpath(), filesystem::isSubdirectory(). - Add libdnf::MergedTransaction::listPersistences() method.
- Always use result config.optBinds() by reference, not copy
- Remove unused functions with a bug
- config: Support optionTListAppend for options lacking fromString
0.74.0
What's Changed
- Fix a segfault in iterator of a ConfigParser section by @hroncok in #1682
- Update ko.po by @simmon-nplob in #1684
- Split $releasever to $releasever_major and $releasever_minor in the C API by @dherrerace in #1688
- Merge
bootcbranch to master by @evan-goode in #1683 - ConfigParser: make splitReleasever public by @evan-goode in #1689
- C API: Detect releasever_major, releasever_minor from provides by @evan-goode in #1691
- C API: support shell-style variable substitution by @evan-goode in #1696
- module: Warn if module config file is inaccessible by @m-blaha in #1695
- Enable automatic PR reviews by @jan-kolarik in #1698
- build: Increase CMake minimal version to 3.5.0 by @ppisar in #1700
- spec: Increase cmake minimal version to 3.5.0 by @ppisar in #1701
New Contributors
- @hroncok made their first contribution in #1682
- @simmon-nplob made their first contribution in #1684
- @dherrerace made their first contribution in #1688
Full Changelog: 0.73.4...0.74.0
0.73.4
What's Changed
Full Changelog: 0.73.3...0.73.4
0.73.3
0.73.2
What's Changed
- context: use
rpmtsAddReinstallElement()when doing a reinstall by @kontura in #1650 - MergedTransaction: Fix invalid memory access when dropping items by @jan-kolarik in #1658
- ConfigParser: fix use-out-of-scope leaks by @evan-goode in #1661
- Since we use rpmtsAddReinstallElement rpm also uninstalls the package by @kontura in #1660
- Fix countme bucket calculation by @dmnks in #1662
Full Changelog: 0.73.1...0.73.2
0.73.1
-
Bug fixes:
- Fix https://issues.redhat.com/browse/RHEL-27657
- subject-py: Fix memory leak
-
Others:
- MergedTransaction: Calculate RPM difference between two same versions as no-op
- Onboard packit tests
- Add virtual destructor to TransactionItem
0.73.0
-
Major changes:
- filelists metadata not loaded by default
- deltarpm disabled by default
-
New features:
- conf: Introduce new optional_metadata_types option to load filelists on demand
- goal: Method for detecting file dependency problems
0.72.0
-
New features:
- conf: Add limited shell-style variable expansion (RhBug:1789346)
- conf: Add support for $releasever_major, $releasever_minor (RhBug:1789346)
- repo: Don't download the repository if the local cache is up to date
-
Bug fixes:
- Avoid reinstalling installonly packages marked for ERASE (RhBug:2163474)
- transaction: Save the reason for installing (RhBug:1733274)
- hawkey.subject: get_best_selectors only obsoleters of latest (RhBug:2183279,2176263)
-
Others:
- Allow DNF to be removed by DNF 5 (RhBug:2221907)
- Include dist-info for python3-libdnf
- bindings: Load all modules with RTLD_GLOBAL
- Update translations
0.71.0
-
New features:
- PGP: Use new librepo PGP API, remove gpgme dependency
- API: Basic support for OpenPGP public keys
- Make code C++20 compatible
-
Bug fixes:
- Avoid using GNU extensions in the dependency splitter regex
- filterAdvisory: match installed_solvables sort with lower_bound (RhBug:2212838)