Releases: rpm-software-management/dnf5
Releases Β· rpm-software-management/dnf5
5.2.7.0
What's Changed
- copr: use pubkey URL returned by Copr API by @FrostyX in #1725
- Package file documenting dnf4/dnf5 changes as man page by @m-blaha in #1729
- daemon: Reset the goal by @m-blaha in #1678
- Consistently use "removing" instead of "erasing" packages by @ppisar in #1732
- Add --allmirros option for
dnf download --url
by @alimirjamali in #1735 - comps: Fix memory issues in group serialization by @m-blaha in #1743
- Print RPM messages to the user by @m-blaha in #1728
- i18n: Update translation templates from Weblate by @ppisar in #1745
- i18n: Fix plural forms for "Warning: skipped PGP checks..." message by @ppisar in #1746
- Set
POOL_FLAG_ADDFILEPROVIDESFILTERED
only when not loading filelists by @kontura in #1741 - When writing main solv file (primary.xml) don't store filelists by @kontura in #1752
- Fix libdnf5::utils::patterns: Include missing headers, no inline API funcs, mark
noexcept
by @jrohel in #1742 - Allow unlimited number of arguments for history
list
andinfo
by @kontura in #1755 - [swig] Bindings and tests for libdnf5::utils::[is_glob_pattern | is_file_pattern] by @jrohel in #1738
- doc: "dnf repoquery --unsatisfied" is not supported by @ppisar in #1758
- comps: add get_base() to {Group,Environment}{,Query} by @gotmax23 in #1722
- Make most descriptions for
dnf5 --help
translatable. by @bc-lee in #1751 - test: Normalize Python code by @ppisar in #1762
- Recommend --use-host-config if --installroot is used and not all repositories can be enabled by @ppisar in #1760
- log: Preserve log messages during RPM transaction by @m-blaha in #1772
- chore: Clean up Fedora 37-related conditionals in RPM spec by @bc-lee in #1765
- Change
gpgcheck
option topkg_gpgcheck
but stay compatible by @kontura in #1766 - Drop
errorlevel
config option by @kontura in #1788 - build: Remove an explicit swig option -ruby by @ppisar in #1795
- Revert "Drop
errorlevel
config option" by @kontura in #1793 - Update dnf5.conf.5 to reflect change in fastestmirror behavior by @PhirePhly in #1784
- historydb: Prevent insertion of duplicate group packages by @m-blaha in #1798
- Optimize getting counts of transaction items by @kontura in #1778
- Fix parsing of offline transaction JSON file by @m-blaha in #1807
- When
multi_progress_bar
finishes print new line automatically by @kontura in #1805 - Run "makecache" periodically to keep the cache ready. by @gordonmessmer in #1791
- DownloadCallbacks: Ensure
end
for every successfuladd_new_download
by @jrohel in #1814 - Clear up changes doc about optional subcommands by @kontura in #1834
- MultiProgressBar now buffers the output text to a single write by @Giedriusj1 in #1825
- repo: Fix invalid free() by @m-blaha in #1850
- daemon: API to reset the session.base instance by @m-blaha in #1757
- Release 5.2.7.0 by @github-actions in #1857
New Contributors
- @FrostyX made their first contribution in #1725
- @alimirjamali made their first contribution in #1735
- @bc-lee made their first contribution in #1751
- @PhirePhly made their first contribution in #1784
- @Giedriusj1 made their first contribution in #1825
Full Changelog: 5.2.6.2...5.2.7.0
5.2.6.2
What's Changed
- chore: static_cast to fix sign conversion warning by @evan-goode in #1715
- Fix
sdbus::ObjectPath
when checking signalsobject_path
by @kontura in #1711 - Do not install /var/cache/libdnf5 directory by @ppisar in #1712
- setlocale: If locale setting fails, try using C.UTF-8 as fallback by @jrohel in #1713
- Birectional communication of libdnf5 actions plugin with running processes - "json" mode by @jrohel in #1642
- Release 5.2.6.2 by @github-actions in #1719
Full Changelog: 5.2.6.1...5.2.6.2
5.2.6.1
What's Changed
- doc: dnf5-repoquery: Mention %{reason} query tag at --userinstalled by @ppisar in #1683
- automatic: Use original dnf4 config file location by @m-blaha in #1690
- spec: Recommend dnf5-plugins if dnf-plugins-core installed by @evan-goode in #1691
- transaction_callbacks: Deprecate confusing alias by @m-blaha in #1689
- offline: Update usage of toml11-devel by @evan-goode in #1694
- doc: add typical dnf5 workflow by @kontura in #1661
- swig: Add wrappers for TransactionEnvironment and TransactionGroup by @pkratoch in #1697
- I18N: Mark messages in "dnf install" output for a translation by @ppisar in #1696
- doc: Document arch override for API users by @m-blaha in #1695
- Fix: libdnf5-cli: TransactionSummary counters data type by @jrohel in #1701
- I18N: Mark messages in "dnf info" output for a translation by @ppisar in #1698
- dnf5: Run transaction test for offline transactions by @m-blaha in #1672
- Warn on sign conversion by @ppisar in #1703
- dnf clean: Do not report an error on a nonexistent cache directory by @ppisar in #1707
- Release 5.2.6.1 by @github-actions in #1714
Full Changelog: 5.2.6.0...5.2.6.1
5.2.6.0
What's Changed
- Make offline transactions work with local rpm files by @m-blaha in #1586
- Add
history redo
command by @kontura in #1595 - Improve "After this operation" disk usage messages by @ppisar in #1600
- Add an example how to disable repo to
repo
command man page by @kontura in #1601 - dnfdaemon: implement D-Bus API for cleaning caches by @m-blaha in #1589
- Add some docs about environments by @dschwoerer in #1562
- Fix a use-after-free in EmitterEmail::notify() by @ppisar in #1604
- spec: Stricten a dependency on DNF libraries in plugin subpackages by @ppisar in #1607
- Reduce the noise around running scriptlets by @m-blaha in #1606
- builddep: Support the --with/--without options to toggle bconds by @dm0- in #1509
- Use
SOLVER_FLAG_FOCUS_NEW
to install latests versions of deps by @kontura in #1582 - spec: fix cmake focus_new arg by @kontura in #1615
- dnfdaemon: system-upgrade API and command by @m-blaha in #1588
- Enhance docs for
system_cachedir
,cachedir
andlogdir
by @kontura in #1618 - Backport countme bucket calculation fix by @kontura in #1613
- doc: Use ~ instead of /home/$USER by @ppisar in #1619
- doc: fix arguments for install, upgrade and remove by @kontura in #1621
- doc: Naming of source and debug repos by @pkratoch in #1627
- Use correct path when destdir option is set by @m-blaha in #1628
- doc: Revise packages filtering doc section by @m-blaha in #1632
- spec: fix modularity man page by @kontura in #1639
- Update toml11-devel usage for 4.0.0 by @kontura in #1625
- Better error messages for system state loading by @m-blaha in #1623
- Implement a default user_agent string by @lleyton in #1590
- [dnf5] Add argument "-c" - alias to "--config" (dnf4 compatibility) by @jrohel in #1650
- Install
defs.h
include forlibdnf5-cli
by @kontura in #1657 - Show the output of failed scriptlets to the user by @m-blaha in #1652
- doc: configuration options update by @kontura in #1648
- Print diagnostic messages on stderr, not stdout by @evan-goode in #1641
- daemon: D-Bus API to cancel current transaction by @m-blaha in #1665
- config-manager: Fix addrepo from-repofile with empty/comment lines by @jrohel in #1671
- Fix regressions from stderr/stdout changes by @evan-goode in #1677
- doc: TransactionCallbacks class documentation by @m-blaha in #1670
- dnfdaemon: Correct D-Bus signal argument type by @mcrha in #1679
- Release 5.2.6.0 by @github-actions in #1686
New Contributors
- @dschwoerer made their first contribution in #1562
- @dm0- made their first contribution in #1509
- @lleyton made their first contribution in #1590
Full Changelog: 5.2.5.0...5.2.6.0
5.2.5.0
What's Changed
- Support colon in username, use LRO_USERNAME and LRO_PASSWORD by @jrohel in #1560
- Debuginfo-install command by @j-mracek in #1566
- Implement conditional compilation
-DWITH_MODULEMD=OFF
by @kontura in #1521 - Add reports when corresponding debug package is not available by @j-mracek in #1572
- Add history rollback command and transaction merging by @kontura in #1558
- Fix DNF5: Don't trigger filelists download if abs path to local RPM by @jrohel in #1578
- Documentation: ABI: Defining public (exported) symbols by @jrohel in #1576
- dnfdaemon: Support to run transactions offline by @m-blaha in #1543
- TransactionReplay: handle group package types by @kontura in #1569
- Improvements and fixes for storing transactions by @kontura in #1585
- Release 5.2.5.0 by @github-actions in #1591
Full Changelog: 5.2.4.0...5.2.5.0
5.2.4.0
What's Changed
- spec: Fix files and directories ownership by @m-blaha in #1527
- Add --minimal option for check-ugrade command by @j-mracek in #1519
- repolist: Implement JSON output by @jan-kolarik in #1522
- repoinfo: Implement JSON output by @jan-kolarik in #1529
- Move offline from dnf5 to libdnf5 by @m-blaha in #1520
- Add
history undo
command by @kontura in #1452 - Do not export internal symbols in shared object files by @jrohel in #1307
- Build libdnf5 static library, re-enable unit tests that use hidden (private) libdnf5 symbols by @jrohel in #1507
- daemon: Generate transfer_id on server side by @m-blaha in #1517
- Fix: dnf5 builddep plugin: Link with "common" by @jrohel in #1546
- builddep: Add build-dep alias by @jan-kolarik in #1532
undo
command man page and translations by @kontura in #1549- Add JSON output to advisory list by @stewartsmith in #1531
- docs: Update nightly copr repo name by @jan-kolarik in #1551
- [libdnf, actions plugin] Support get/set repositories options, ver 1.1.0 by @jrohel in #1539
- Add
replay
command to replay stored transactions by @kontura in #1536 - Add "Complete!" message after succesfull transaction by @j-mracek in #1553
- Release 5.2.4.0 by @github-actions in #1565
New Contributors
- @stewartsmith made their first contribution in #1531
Full Changelog: 5.2.3.0...5.2.4.0
5.2.3.0
- Update translations from weblate
- const: Shared constant defining RPM transaction lock file
- main: Implement checking of privileges before executing commands
- exception: Add new exception for user insufficient privileges
- locker: Move to public API
- distro-sync: Add downloadonly option
- commands: Fix using store option
- Enhance warning about RPMs that were not validate by RPM
5.2.2.0
What's Changed
- Vars::substitute: fix use-out-of-scope leaks by @evan-goode in #1473
- docs: correct the default for pluginconfpath by @AdamWill in #1479
- cli: Add skipped packages to the transaction table by @m-blaha in #1440
- i18n: Improve formatting an error message for multiple streams by @ppisar in #1482
- Add/fix documentation for rpm::PackageQuery methods by @jrohel in #1475
- i18n: Unwind "No {} to remove for argument: {}" by @ppisar in #1472
history list
: count also groups and envs in totalAltered
by @kontura in #1454- Fix typo in translatable string by @m-blaha in #1486
- [libdnf5] Actions plugin: Add hooks
repos_configured
,repos_loaded
,pre/post_add_cmdline_packages
by @jrohel in #1462 - Option
--providers-of
doesn't require available repos by @kontura in #1481 - Improve docs regarding the keepcache option and download command by @jan-kolarik in #1474
- needs_restarting: Fix invalid reference usage by @m-blaha in #1478
- download: add
--source
alias for--srpm
by @jlebon in #1485 - automatic: Fix documentation and ship config file by @m-blaha in #1476
- fix: quote `dnf5-command({})' in command suggestion when plugin not found by @madonuko in #1494
- i18n: Unwind "Cannot {} package "{}"" message by @ppisar in #1489
- base: Add repository to solver problem messages by @m-blaha in #1464
- conf: New classes for append options by @m-blaha in #1495
- docs: Document changes to repoinfo and repolist by @jan-kolarik in #1512
- dnf5daemon: The buildtime attribute has been added to the package_attrs option by @hollowiette in #1499
New Contributors
- @AdamWill made their first contribution in #1479
- @jlebon made their first contribution in #1485
- @hollowiette made their first contribution in #1499
Full Changelog: 5.2.1.0...5.2.2.0
5.2.1.0
- Update translations from weblate
- bindings: Tests for using struct attributes in Python
- bindings: Add Python attributes for structs
- docs: Fix diff link on the dnf 5.2.0.0 changes page
- docs: Add diff with API changes in dnf5-5.2.0.0
- docs: Add a page about public API changes in dnf 5.2.0.0
- system-upgrade: fix missing \n before transaction test
- system-upgrade: comment to clarify progress bar logic
- system-upgrade: drop [[maybe_unused]] from reboot() arg
- system-upgrade: fix progress bars, set transaction description
- system-upgrade: adapt to new transaction serialization format
- system-upgrade: clean up releasever logic
- system-upgrade: fix poweroff_after
- copr: the dnf5 copr enable sets CoprRepoPart.enabled = true
- Add file search result for repoquery --whatprovides
- doc: Add enviroment variables and clarify options for loading the plugins
- dnfdaemon: Fix Rpm interface introspection file
5.2.0.0
API changes
There have been several breaking changes in the public API. Please check our docs here.
Changelog
- Update translations from weblate
- [DNF5]
--enable-plugin
and--disable-pluin
: no match found message - [DNF5] API: Move Context::libdnf5_plugins_enablement to p_impl
- spec: Add conflict with the former provider of plugin man pages
- spec: Add conflict with the old provider of dnf.conf
- [DNF5] Fix: Remove transaction_store_path from public, add getter/setter
- [libdnf5 API] Base::get_plugins_info
- [libdnf5 plugins] include iplugin.hpp in plugins instead of base.hpp
- repo_sack: Treat all repos with solv_repo created as loaded (RhBug:2275530)
- [DNF5] API: No inline methods in shared_options.hpp
- [DNF5] API: offline::OfflineTransactionState: no inline methods, move cpp
- [DNF5] API: Remove unused and buggy RpmTransactionItem class
- [DNF5] Command: no inline methods
- [DNF5] API: Context: add p_impl, move public vars to p_impl, getters
- API: cli::session: no inline methods and public vars in opts classes
- API: cli::session::Command: no inline methods
- API: add p_impl to cli::session::Session
- API: rpm::TransactionCallbacks: no inline methods
- API: repo::RepoCallbacks: no inline methods
- Prepare for switch of dnf5 in Rawhide
- base: Make get_transaction_history unstable
- Set
group
reason for packages removed by a group removal - [DNF5] Implement
--enable-plugin
and--disable-pluin
- [libdnf5 API] Base::enable_disable_plugins
- spec: Simplify man page files
- Loggers: Fix: Add missing "null_loger.cpp" file
- Loggers API: unify, explicit ctors, non-inline methods, use p_impl
- doc: Review of DNF4 vs DNF5 CLI and configuration changes
- Re-enable clang builds after API changes
- Add
--store
option for storing arbitrary transaction - libdnf5::Goal: when adding serialized transaction accept local items
- Goal: change
add_serialized_transaction()
to accept path to trans - Add group/env paths for transaction parsing/serializing
- base::Transaction: during serialization allow specifying paths
- base::Transaction: add
store_comps(...)
method - repo_sack: add stored_transaction repo and its private API
- repo: add private API
add_xml_comps(path)
- Generalize logging of
read_group_solvable_from_xml(..)
- Add
environment_no_groups
toGoalJobSettings
- libdnf5 IPlugin: Pass IPluginData instead of Base to constructor
- libdnf5 IPlugin: Use pImpl
- libdnf5 IPlugin: Do not use inline methods
- dnf5 IPlugin: Do not use inline methods on API
- libdnf5 IPlugin: Add argumets description
- libdnf5 plugins: New hooks
pre/post_add_cmdline_packages
- libdnf5 plugins: New hook
repos_loaded
- libdnf5 plugins: New hook
repos_configured
- Base: notify_repos_configured and are_repos_configured methods
- Fix: implicit conversion changes signedness, unused value
- Disable unit tests for Copr dnf5 plugin
- dnfdaemon: Document Polit CheckAuthorization call
- dnfdaemon: Catch timeout during CheckAuthorization
- Not handle compatibility.conf as configuration file
- config: add search (se) and info (if) aliases
- Improve documentation of repo config directories
- Cross reference documentation
- Document Repos and Vars Dirs
- doc: Unify style and move "Files" section
- Document repos configuration overrides
- doc: Remove ":" in titles
- Bump libdnf5/libdnf5-cli so version
- Mark multiple strings for translation
- Set locale for dnf5 run
- spec: Add missing dnf-config-manager.8.gz file
- Generate documentation for ConfigRepo Class
- [Doc] Describe denerating repo cache path
- dnf5daemon: Make availability case insensitive
- dnf5: Drop unneeded severities capitalization
- dnf5: Document --available as default for advisory cmd
- dnf5daemon-client: Drop unneeded severities capitalization
- advisory: filter_severity and filter_type case insensitive
- dnfdaemon: Fix and enhance Advisory interface doc
- Enable import data from DNF4 for systems without state dir
- libdnf5 options: Unify constructors - pass args for storing by value
- dnfdaemon: Missing signal registration
- doc: config manager plugin: wrap too long lines
- doc: document config-manager plugin
- Packit: get version from specfile for copr_builds againts main
- Update tests to use new
load_repos()
API - Use new load_repos instead of deprecated update_and_load_enabled_repos
- Make
libdnf5::repo::Repo::load()
private - Deprecate:
update_and_load_enabled_repos
- RepoSack: add new
load_repos
method - Move update_and_load_repos and fix_group_missing_xml to Impl
- Prevent loading plugins for unittests
- Respect plugins configuration option for loading plugins
- Add pImpl to
libdnf5::LogRouter
- Add pImpl to
libdnf5::MemoryBufferLogger
- Add pImpl to
libdnf5::OptionBinds
- Add pImpl to
libdnf5::OptionBinds::Item
- Add pImpl to
libdnf5::Config
- Add pImpl to
libdnf5::OptionStringList
- OptionStringList: remove assignment operators and move constructor
- Add pImpl to
libdnf5::OptionBool
- OptionBool: remove assignment operators and move constructor
- Add pImpl to
libdnf5::OptionNumber
- Add pImpl to
libdnf5::OptionPath
- Add pImpl to
libdnf5::OptionString
- libdnf5::OptionEnum: remove template, add pImpl
- Add pImpl to
libdnf5::Option
- modules: Report problems with switching module streams
- modules: Report switched module streams
- modules: Add switching module streams as a possible transaction action
- modules: Add replaces and replaced_by to TransactionModule
- Add missing info updates alias, to match list command
- Update
package_info_sections
not to usescols_table_print_range
- libdnf-cli: Extract package info printing
- ArgumentParser: use p_impl, no inline methods
- ArgumentParser:PositionalArg: Unit tests: Support repeating of pos arg
- ArgumentParser:PositionalArg: Support repeating of positional argument
- Hide/Remove deprecated
libdnf5::repo::Repo
API - Remove deprecated members from
/include/libdnf5/logger/factory.hpp
- Remove deprecated unused function
create_forcearch_option()
- builddep: Don't escape globs, use expand_globs = false
- builddep: Don't try to expand globs in pkg specs
- libdnf5-cli::output: Use ifaces instead templates. Move code to .cpp files
- Interfaces and adapters
- module::ModuleStatus: Move to separate header file
- comps::PackageType: Move to separate header file
- cmp_naevr: Fix: pass by reference
- modules: Report module solver problems
- Accept SolverProblems for transacion resolve log
- modules: Return problems from the module solver
- modules: Add a method to process module solver problems
- modules: Add a separate set of problem rules for modules
- modules: Store the original module context also in the libsolv solvable
- modules: Internalize modular repositories
- Add pImpl to
libdnf5::repo::RepoCache
andRepoCacheRemoveStatistics
- Add pImpl to
libdnf5::repo::RepoQuery
- Hide deprecated
libdnf5::base::with_config_file_path
into Impl - Remove deprecated
libdnf5::Base::load_config_from_file
- Move all
libdnf5::Base
members to pImpl - Add pImpl to
libdnf5::rpm::Reldep
- Add pImpl to
libdnf5::rpm::Changelog
- Add pImpl to
libdnf5::rpm::Nevra
- Add pImpl to
libdnf5::rpm::Checksum
- Add pImpl to
libdnf5::rpm::Package
- Adjust code to new rpm::PackageQuery::filter_* methods after the rebase
- Add a method accepting std::string for filter_repo_id()
- Add a method accepting std::string for filter_location()
- Add a method accepting std::string for filter_file()
- Add a method accepting std::string for filter_supplements()
- Add a method accepting std::string for filter_enhances()
- Add a method accepting std::string for filter_suggests()
- Add a method accepting std::string for filter_recommends()
- Add a method accepting std::string for filter_obsoletes()
- Add a method accepting std::string for filter_conflicts()
- Add a method accepting std::string for filter_requires()
- Add a method accepting std::string for filter_description()
- Add a method accepting std::string for filter_summary()
- Add a method accepting std::string for filter_url()
- Add a method accepting std::string for filter_sourcerpm()
- Add a method accepting std::string for filter_nevra()
- Add a method accepting std::string for filter_evr()
- Add a method accepting std::string for filter_arch()
- Add a method accepting std::string for filter_release()
- Add a method accepting std::string for filter_version()
- Add a method accepting std::string and int for filter_epoch()
- Add a method accepting std::string for filter_name()
- Add a method accepting std::string for filter_provides()
- Extend version to four numbers (5.x.y.z)
- Unify smallest version number name
- cmake: rename PROJECT_VERSION_* to just VERSION_*
- dnf5daemon: Document before_begin / after_complete signals
- dnf5daemon: Signals to wrap rpm transaction execution
- rpm: New callback to wrap whole rpm transaction
- Add pImpl to
libdnf5::module::ModuleProfile
- Add pImpl to
libdnf5::module::ModuleDependency
- Add pImpl to
libdnf5::module::Nsvcap
- Add pImpl to
libdnf5::module::ModuleQuery
- Add pImpl to
libdnf5::comps::EnvironmentQuery
- Add pImpl to
libdnf5::comps::GroupQuery
- Add pImpl to
libdnf5::comps::Environment
- Add pImpl to
libdnf5::comps::Package
- Add pImpl to
libdnf5::comps::Group
- Remove unused
libdnf5::comps::GroupSack
- Remove unused
libdnf5::comps::EnvironmentSack
- Remove unused
libdnf5::comps::Comps
- Add pImpl to
libdnf5::advisory::Advisory
- Add pImpl to
libdnf5::advisory::AdvisoryReference
- Add pImpl to
libdnf5::advisory::AdvisoryCollection
- Add pImpl to
libdnf5::advisory::AdvisoryQuery
- Add pImpl to
libdnf5::rpm::RpmSignature
- Add pImpl to
libdnf5::transaction::Transaction
- Add pImpl to `libdnf5::rp...