Releases: rpm-software-management/dnf5
Releases · rpm-software-management/dnf5
5.0.15
- Add
module enable
subcommand - Add
--repofrompath
option - Add
--forcearch
option to multiple commands - Add
reinstall --allowerasing
option - Add
repoquery --sourcerpm
option - Add
repoquery --srpm
option - Add
chacheonly
configuration option - Add
--cacheonly
option - Add
--refresh
option - Change default value for
best
configuration to true - Change default value for
allow_vendor_change
configuration to false - changelog: Fix behavior of
--since
option - builddep: Fix handling BuildRequires in spec files
- swig: Return None for unset options in Python
- Verify transaction PGP signatures automatically
- Fix checking whether updateinfo metadata are required
- Fix handling empty epoch when comparing nevra
- Fix building with upcoming fmt-10 library
- Rename namespace, includes and directories from libdnf to libdnf5
5.0.14
- Modify libdnf5-devel to generate pkgconf(libdnf5)
- Handle unnamed environments in transaction table
- Return error exit code on RPM transaction failure
- Add
repoquery --file
option - Add
repoquery --arch
option - Add
repoquery --installonly
option - Add
repoquery --extras
,--upgrades
and--recent
options - Add
repoquery --changelogs
formatting option - Don't complete ls alias
- Add rq command alias for
repoquery
- Exclude dnf.conf when not installed
- Improve the download methods API
- Switch to parameterless download methods and introduce setters for fail_fast and resume
- Affected classes: libdnf::repo::FileDownloader, libdnf::repo::PackageDownloader
5.0.13
5.0.12
- Have DNF update to DNF5
- Add dnf, yum obsoletes and provides
- Symlinks for
dnf
andyum
binaries - Move ownership of /etc/dnf/dnf.conf, /etc/dnf/vars, and
/etc/dnf/protected.d from dnf-data to libdnf5- Conflict with older versions of dnf-data that own these files/directories
- Print environments in the transaction table
- Add support for environmantal groups in dnf5daemon
- Handle unnamed groups in transaction table
- Update documentation for
distro-sync --skip-unavailable
- Update documentation for
downgrade --skip-unavailable
- Update documentation for
upgrade --skip-unavailable
- Add repoquery
--files
andfiles
querytag instead of--list
- Add getters to package for: debug, source, repo-name
- Add
repoquery --querytags
option - Document
repoquery --queryformat
- Add
repoquery --qf
alias torepoquery --queryformat
- Add get_depends() to package and --depends to repoquery
- Implement keepcache functionality (RhBug:2176384)
- API changes:
- libdnf::repo::PackageDownloader default ctor dropped (now accepting the Base object)
- libdnf::base::Transaction not accepting dest_dir anymore (implicitly taken from configuration)
- A note for existing users:
- Regardless of the keepcache option, all downloaded packages have been cached up until now.
- Starting from now, downloaded packages will be kept only until the next successful transaction (keepcache=False by default).
- To remove all existing packages from the cache, use the
dnf5 clean packages
command.
- API changes:
- goal: Split group specs resolution to separate method
- comps: Possibility to create an empty EnvironmentQuery
remove
command acceptsremove spec
- Refactor remove positional arguments
- Remove duplicates from
group list
output - Document
copr
plugin command - Document
builddep
plugin command
5.0.11
- Add --contains-pkgs option to group info
- Add filter for containing package names
- Fix parameter names in documentation
- Document create parameter of RelDep::get_id method
- Document RepoQuery::filter_local
- Document repoclosure in man pages
- Document repoclosure command
- Implement repoclosure plugin
- package_query: filter_provides accepts also Reldep
- Fix download callbacks and many segfaults in dnf5daemon
- Add allow-downgrade configuration option
5.0.10
- dnf5-plugins: implement 'dnf5 copr'
- Add new configuration option exclude_from_weak_autodetect
- Add new config option exclude_from_weak
- Add repoquery --unneeded
- Fix handling of incorrect argument (RhBug:2192854)
- Add detect_release to public API
- Add group --no-packages option
- Add group upgrade command
- Enable group upgrades in transaction table
- Add --destdir option to download command
- Filter latest per argument for download command
- Add builddep --allowerasing
- download command: filter by priority, latest
- Remove --unneeded option from remove command
- Document autoremove differences from dnf4
- Add autoremove command
- state: Add package_types attribute to GroupState
- comps: Add conversion of PackageType to string(s)
- Add check-update alias for check-upgrade
- Add
check-upgrade --changelogs
5.0.9
Highlights of this release
- Add
--userinstalled
torepoquery
man page - Implement
repoquery -userinstalled
- Fix: progressbar: Prevent length_error exception (RhBug:2184271)
- Add dnf5-plugins directory in documentation
- Document
repoquery --leaves
- Implement
repoquery --leaves
- Implement new filters rpm::filter_leaves and rpm::filter_leaves_groups
What's Changed
- New filters rpm::filter_leaves and rpm::filter_leaves_groups; add "leaves" command and "repoquery --leaves" to dnf5 by @jrohel in #409
- Small fixes in doc and formating by @jrohel in #458
- progressbar: Prevent length_error exception (RhBug:2184271) by @m-blaha in #449
- Add packit action to do auto-release by @inknos in #453
- [dnf5] Support for "--userinstalled" argument in repoquery by @jrohel in #460
- Fix installed groups loading to libsolv - take 2 by @m-blaha in #424
- Fix packit configuration by @inknos in #466
New Contributors
- @jpodivin made their first contribution in #344
- @praiskup made their first contribution in #400
- @nitzmahone made their first contribution in #447
Full Changelog: 5.0.8...5.0.9
5.0.8
Highlights of this release
- New commands
- Implement
info
command - Implement
list
command
- Implement
- New options
- Add
repoquery --queryformat
option - Add
repoquery --latest-limit
option - Add formatting options
repoquery --requires
,--provides
- Add
- New aliases
dg
->downgrade
in
->install
rei
->reinstall
rm
->remove
up
->upgrade
update
->upgrade
ls
->list
- Output improvements
- Improve error message in download command
- Improved progress bars
- Print resolve logs to stderr
What's Changed
- List and info commands by @m-blaha in #298
- Disable parallel running of some unit tests by @jrohel in #335
- Remove configuration option "disable_multithreading", enable multithreading in unit tests by @jrohel in #336
- Configuration options API changes by @jan-kolarik in #327
- Load config and reposdir from installroot by @evan-goode in #271
- Fix a couple of memory leaks by @kontura in #347
- solv_repo: Fix creating solver cache for comps (RhBug:2173929) by @jan-kolarik in #346
- Basic pre-commit configuration by @jpodivin in #344
- goal: Fix group packages removal (RhBug:2173927) by @m-blaha in #329
- logger: Add support for logging in API scripts by @jan-kolarik in #333
- Add capability to find binaries to resolve_spec by @j-mracek in #340
- dnfdaemon: Fix double loading of system repo by @m-blaha in #252
- Add rpmlint to precommit by @inknos in #361
- output: Print resolve logs to stderr by @m-blaha in #365
- man: Add info about download command destination by @jan-kolarik in #363
- Set a minimal sqlite version by @ppisar in #372
- Fix a typo in sqlite Requires in dnf5.spec by @ppisar in #374
- Add pre-commit to github actions and remove clang by @inknos in #362
- Remove showdupesfromrepos config option by @m-blaha in #379
- search: Fix typo from the previous commit by @jan-kolarik in #382
- goal: Better handling of obsoleted pkg installation by @m-blaha in #354
- GoalPrivate: Fix protecting the running kernel by @m-blaha in #385
- transaction: Fix impl constructor by @jan-kolarik in #392
- Using API assertions and converting them in SWIG by @jan-kolarik in #373
- Use repo::DownloadCallbacks for all downloads by @jrohel in #280
- dnfdaemon: Handle errors when transaction is not created by @m-blaha in #370
- dnfdaemon: Transaction commands can work with rpm files by @m-blaha in #371
- pep8 fix in the tests by @m-blaha in #395
- RepoSack: remember the repo file path by @praiskup in #400
- Move description of DNF5 changes to doc by @j-mracek in #398
- Command::get_parent_command(): return the real parent by @praiskup in #403
- dnf5: Statistics: total and downloaded pkgs size, installed and freed space by @jrohel in #378
- modules: Change State to set and get the whole ModuleState by @pkratoch in #387
- RepoSack::update_and_load_repos: First load repositories from cache by @jrohel in #245
- Correctly load repos from installroot config file by @evan-goode in #394
- dnf5: Transaction progress: Fix total number of actions, hide total transaction progress bar by @jrohel in #302
- Add --queryformat, --requires, --provides, --conflicts .. options by @kontura in #318
- doc: Add info about package spec expressions (RhBug:2160420) by @jan-kolarik in #415
- NullLogger::write: Fix type of time argument by @jrohel in #430
- [dnf5] Add "up" and "update" aliases for "upgrade" command by @jrohel in #428
- swig: Add bindings for LogEvent by @jan-kolarik in #425
- Hide swig/python detected a memory leak message by @kontura in #426
- modules: Rename ModuleState enum to ModuleStatus by @pkratoch in #427
- Add 4 aliases for dnf5 commands by @j-mracek in #435
- repoquery: add --latest-limit option and unify descriptions by @kontura in #432
- package_sack: Fix running kernel logging by @m-blaha in #437
- generate dist-info for Python bindings by @nitzmahone in #447
- [dnf5] Fix help in case argument parser detect error by @jrohel in #450
New Contributors
- @jpodivin made their first contribution in #344
- @praiskup made their first contribution in #400
- @nitzmahone made their first contribution in #447
Full Changelog: 5.0.7...5.0.8
5.0.7
Highlights of this release
- New configuration option "disable_multithreading"
- Add new --skip-unavailable command line option
- Add search command
- Documentation
- Document set/get vars in python api
- Document --strict deprecation
- API
- Add new error for incorrect API usages
- Add a new method whether base was correctly initialized
- Improved python exceptions on undefined var
- Change API to run transaction without args
- dnf5daemon-server
- Improved dnf5daemon to handle support groups and modules in return value
What's Changed
- swig: Include dependent repo module for rpm by @jan-kolarik in #288
- PackageQuery::filter_unneeded() and wrapper for libsolv Solver class by @m-blaha in #263
- Add explicit package version for libdnf5-cli by @j-mracek in #293
- Search command: initial version by @jan-kolarik in #202
- Add transaction.download() by @evan-goode in #294
- transaction: Change API to run transaction without args by @jan-kolarik in #286
- modules: Reject overlong nsvcap strings by @pkratoch in #299
- Move clang-format back to the latest Fedora by @m-blaha in #304
- swig: Throw Python exception on undefined var by @jan-kolarik in #308
- swig: Fix comps iterator wrappers by @jan-kolarik in #297
- swig: Drop unused Python-specific typemaps by @jan-kolarik in #314
- Add a new method whether base was correctly initialized by @j-mracek in #315
- Strict config option deprecation by @m-blaha in #316
- Introduce a new API assertion by @jan-kolarik in #311
- SWIG: Add advisory bindings by @jan-kolarik in #322
- SWIG: Add wrapper for package changelogs by @jan-kolarik in #323
- Ignore inaccessible config file unless its path was specified as --config=... by @evan-goode in #312
- Document --strict deprecation by @m-blaha in #321
- dnfdaemon: Update goal.resolve() return value with missing attributes by @m-blaha in #190
- Prefer transaction.download() over directly using PackageDownloader by @evan-goode in #313
- GoalPrivate: Copy ctor to set user_installed_packages by @m-blaha in #328
- SWIG: Add rpm_signature bindings by @jan-kolarik in #331
- Option "disable_multithreading",
repo::RepoSack
ctors andrepo::Repo::fetch_metadata
method private, fix/adjust unit tests by @jrohel in #273 - Document set/get vars in python api by @inknos in #300
New Contributors
- @lu4nx made their first contribution in #255
- @mcrha made their first contribution in #266
- @tpgxyz made their first contribution in #65
- @evan-goode made their first contribution in #251
Full Changelog: 5.0.6...5.0.7
5.0.6
Highlights of this release
- Add obsoletes of microdnf.
What's Changed
- Fix wrong package names. by @lu4nx in #255
- Handle std::filesystem::directory_iterator errors by @m-blaha in #256
- Enable Python docs on readthedocs by @kontura in #246
- swig: Fixes for transaction related bindings by @jan-kolarik in #253
- PackageQuery: Add
filter_extras
by @m-blaha in #264 - libdnf: Add include directories and LDFLAGS from librepo by @mcrha in #266
- modules: Add NSVCAP parsing and ModuleQuery::filter_nsvca by @pkratoch in #260
- Set POOL_FLAG_WHATPROVIDESWITHDISABLED to libsolv pool by @j-mracek in #261
- SWIG: drop the std::optional from the public API by @jan-kolarik in #217
- Implementation of autodetecting modular platform ID by @jan-kolarik in #243
- ReldepParser: Reject overlong dependency strings by @ppisar in #268
- Fix correct package name in tutorials by @inknos in #270
- nevra: Fix cmp_* comparators by @m-blaha in #272
- Remove perl(MODULE_COMPAT), it will be replaced by generators by @inknos in #283
- PackageQuery: filter_nevra to accept more comparators by @m-blaha in #276
- Own dirs and files that dnf5 creates on runtime by @tpgxyz in #65
- Add
transaction.test()
by @evan-goode in #251 - Add obsoletes of microdnf by @j-mracek in #121
- PackageQuery: Add
filter_recent(timestamp)
by @m-blaha in #265 - modules: Add ModuleQuery::resolve_module_spec by @pkratoch in #278
- Fix path for files in /usr/share by @inknos in #285
New Contributors
- @lu4nx made their first contribution in #255
- @mcrha made their first contribution in #266
- @tpgxyz made their first contribution in #65
- @evan-goode made their first contribution in #251
Full Changelog: 5.0.5...5.0.6