Releases: rpm-software-management/dnf5
Releases · rpm-software-management/dnf5
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...
5.1.17
5.1.16
- Update translations from weblate
- Document system-upgrade aliases
- Improved Bash Completion
- Print command line hints after resolve failure
- Docuent Advisory.list() API usage
- Add NEVRA field to advisory packages in dnf5daemon
- Review and fix missing commands
- Document dnf5daemon advisory
- Document system-upgrade
- system-upgrade: offline status subcommand
- Add aliases
offline-distrosync
,offline-upgrade
- Add
system-upgrade --offline
option - Add
offline
,system-upgrade
commands
5.1.15
- Update translations from weblate
- Automatically set
upgrade --downloadonly
when--destdir
is used - Write warnings to stderr too in config-manager plugin
- Add repoid to generated repository name in config-manager plugin
- Bump sdbus-cpp requirement to 0.9.0
- Document and implement dnf5daemon Rpm interface
- Document and implement dnf5daemon Goal interface
- Document and implement dnf5daemon Repo interface
- Document and implement dnf5daemon Base interface
- Document and implement dnf5daemon Advisory interface
- Document and implement dnf5daemon SessionManager interface
- Add
dnf5daemon repo --enable/--disable
commands - automatic: Skip network availability check without remote repo
- dnf5daemon: Rpm.list() works with commandline pkgs
5.1.14
- Update translations from weblate
- Make the error to resolve module metadata more descriptive
- Switch off deltarpm support
- Limit number of dnf5daemon simultaneously active sessions
- Make info and list commands case insesitive
- Allow dnf5daemon configuration overrides for root
- Add repoquery.hpp for swig-4.2.1 support
5.1.13
- Release 5.1.13
- build: Adapt to changes in Fedora packaging of bash-completion
- Change location of automatic.conf
- Limit message log to one on dnf5 start
- Implement waiting for network for dnf5 automatic
- Write dnf5 commandline to the log
- Implement dnf5-automatic: Tool for managing automatic upgrades
- Parametrize output stream in transaction table
- Add
download --srpm
option - Add missing dbus signal registations
- Add new versionlock bindings
- Implement
dnf5 versionlock
command
5.1.12
What's Changed
- I18N: Do not mark empty strings for a translation by @ppisar in #1162
- Fix misspellings by @rffontenelle in #1173
- group: Fix using allowerasing option by @jan-kolarik in #1174
- Improve Python binding of Reldep and PAckage Classes by @j-mracek in #1092
- Deduplicate strings for translations by @rffontenelle in #1178
- package_query: Fix filter_version with non EQ comparator by @m-blaha in #1127
- I18N: Annotate literals in advisory command by @ppisar in #1161
- doc: Create a man page for Aliases by @pkratoch in #1125
- Make protected_packages an append options by @j-mracek in #1110
- Url option by @derickdiaz in #1155
- Move number placeholder to postposition in copr_repo.cpp by @rffontenelle in #1199
- doc: Add --destdir option to upgrade command manual by @ppisar in #1181
- needs-restarting: get systemd boot time from UnitsLoadStartTimestamp by @evan-goode in #1198
- Disable dnf and dnf5daemon tests by @inknos in #1202
- dnfdaemon: Exlicitely specify allowed config overrides by @m-blaha in #1201
- Added urlprotocol option by @derickdiaz in #1197
- Build: Require GCC 10.1 for std::in_range<>() by @ppisar in #1204
- modules: Respect defaults when enabling multiple streams of a module by @pkratoch in #1152
- Fix a warning when building docs. by @kontura in #1210
- Revert "Use focusbest: prefer latest deps versions over smaller transactions by @kontura in #1211
- Change user info display on history command to include display name a… by @derickdiaz in #1203
- build: Include <unistd.h> for isatty() by @ppisar in #1219
- Document explicit nevra remove commands and aliases dropped by @j-mracek in #1222
- CI: Upgrade action/checkout to a version with Node.js 20 by @ppisar in #1220
- Added arch option to the download command by @derickdiaz in #1206
- Suggest to use dnf5 command to install dnf5 plugins by @terjeros in #1226
- PackageQuery: Add
filter_{latest,earliest}_evr_ignore_arch
by @evan-goode in #1217 - Add tmt tests identifiers by @jan-kolarik in #1227
- Drop dnf obsoletion temporarily by @jan-kolarik in #1230
New Contributors
- @rffontenelle made their first contribution in #1173
- @terjeros made their first contribution in #1226
Full Changelog: 5.1.11...5.1.12
5.1.11
- Release 5.1.11
- Update translations from weblate
- Fix
--skip-unavailable
documentation - Make
cachedir
,system_cachedir
relative toinstallroot
- Workaround for swig-4.2.0 missing fragment dependency
- Add
repoquery --recursive
option - Add
repoquery --providers-of=PACKAGE_ATTRIBUTE
option - Update documentation of repoquery
- Update documentation for remove command behavior
- Limit search pattern for remove command to NEVRAs and files
- Packaging: Require an exact release of libdnf5-cli by dnf5-plugins
- Disable zchunk on RHEL
- Add dnf5.conf man page
- Add RPM package Group attribute to dnf5daemon-server
- Document changes related to caching
- Document caching man page
- Document Global Option
--help-cmd
dropped - log_event: Correct message for HINT_ICASE
5.1.10
- Release 5.1.10
- Document dnf5 plugins
- Document How-to write libdnf5 plugin tutorial
- Document How-to write dnf5 plugin tutorial
- Document Templates for libdnf5 plugin
- Document Templates for dnf5 plugin
- Sort the module info table
module info
print hint for active modulesmodule info
print "[a]" for active modules- Ensure write permission before importing packages
- Change module dependency string to be the same as in dnf4
module info
: improve summary and description- Escape glob characters in pkg specs for
builddep
- Add
mc
alias formakecache
- Implement
logdir
,log_size
andlog_rotate
config options - remove redundant "all" in command
check
- Improve bash completion
- Fix progress bars miss newlines on non-interactive output