Skip to content

Releases: rpm-software-management/libdnf

0.75.0

20 Oct 14:25
0.75.0

Choose a tag to compare

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

06 Mar 21:52

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.73.4...0.74.0

0.73.4

12 Nov 18:34

Choose a tag to compare

What's Changed

  • Set POOL_FLAG_ADDFILEPROVIDESFILTERED only when not loading filelists by @kontura in #1675

Full Changelog: 0.73.3...0.73.4

0.73.3

14 Aug 21:13

Choose a tag to compare

What's Changed

  • Support colon in username, use LRO_USERNAME and LRO_PASSWORD by @jrohel in #1668
  • Set pool flag to fix pool_addfileprovides_queue() without filelists.xml by @kontura in #1670
  • Fix a memory leak in glob_for_cachedir() by @ppisar in #1671

Full Changelog: 0.73.2...0.73.3

0.73.2

18 Jun 19:58

Choose a tag to compare

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

28 Mar 17:48

Choose a tag to compare

  • Bug fixes:

  • Others:

    • MergedTransaction: Calculate RPM difference between two same versions as no-op
    • Onboard packit tests
    • Add virtual destructor to TransactionItem

0.73.0

08 Feb 14:40

Choose a tag to compare

  • 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

18 Oct 10:31

Choose a tag to compare

  • 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

01 Sep 07:26

Choose a tag to compare

  • 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)

0.70.2

28 Jul 12:52

Choose a tag to compare

New features:

  • Support "proxy=none" in main config (RhBug:2155713)

Others:

  • Fix #1558: Don't assume inclusion of cstdint
  • Disconnect monitors in dnf_repo_loader_finalize() (RhBug:2070153)