From 240301bcfdd99ee8b110c15433eeff31d71f6e32 Mon Sep 17 00:00:00 2001 From: Carlos Zoido Date: Mon, 29 Sep 2025 18:12:45 +0200 Subject: [PATCH] Conan 2.21.0 docs --- changelog.rst | 40 ++++++++++++++++++++++++++++++++++++++++ conf.py | 4 ++-- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/changelog.rst b/changelog.rst index 385852097564..ccd213ca5ad7 100644 --- a/changelog.rst +++ b/changelog.rst @@ -3,6 +3,46 @@ Changelog This page lists the changes made to Conan in each version, with links to each pull request for more details. +2.21.0 (29-Sept-2025) +--------------------- + +- Feature: Add support for universal binaries to AutotoolsToolchain. `#18992 `_ . Docs `here `__ +- Feature: Add support for universal binaries to GnuToolchain. `#18992 `_ . Docs `here `__ +- Feature: Add `--context={build,host}` filter to `conan audit scan`. `#18976 `_ . Docs `here `__ +- Feature: Default recipe paths to cwd if not specified when calling Conan. `#18964 `_ +- Feature: Implement a new ``post_package_id()`` hook. `#18960 `_ . Docs `here `__ +- Feature: Add support for Xcode 26 and related. `#18953 `_ +- Feature: Add support for MSVC VS 2026 (insiders at the moment). `#18948 `_ . Docs `here `__ +- Feature: Add the PipEnv tool to install python tools using pip in an isolated virtual environment. `#18923 `_ . Docs `here `__ +- Feature: Allow separate build and package directories for multiple CMake builds from single conanfile. `#18905 `_ . Docs `here `__ +- Feature: Add `recipes_only` field to remote to control whether a remote can be used to download binaries. `#18896 `_ . Docs `here `__ +- Feature: Add `cmake_extra_variables` property for `CMakeConfigDeps`. `#18822 `_ . Docs `here `__ +- Feature: Add `cmake_extra_variables` property for `CMakeDeps`. `#18822 `_ . Docs `here `__ +- Feature: Improve `conan report diff` html UX. `#18686 `_ . Docs `here `__ +- Feature: Allow passing build configuration in `XcodeBuild` explicitly via `configuration` parameter. `#18668 `_ . Docs `here `__ +- Feature: Allow passing arbitrary command line arguments to `XcodeBuild` via `cli_args`. `#18668 `_ . Docs `here `__ +- Feature: Add generation of ``dotenv`` environment files with ``tools.env:dotenv=True`` conf. `#18266 `_ . Docs `here `__ +- Fix: Avoid ``CMakePresets`` adding the ``jobs`` field when ``tools.build:jobs=0``. `#18984 `_ +- Fix: Warn when exporting recipes with versions containing alphanumeric majors. `#18980 `_ . Docs `here `__ +- Fix: Set `cpp.source.includedirs` to `include` in `basic_layout`. `#18958 `_ . Docs `here `__ +- Fix: ``workspace add`` can update the package version of an existing package in the workspace. `#18955 `_ +- Fix: Move macOS bitcode flag testing to integration test. `#18930 `_ +- Fix: Move `test_requires` to `build_requirements` method in tests. `#18929 `_ +- Fix: Always run `validate` hooks even if recipe does not define `validate()` method. `#18928 `_ +- Fix: Remove deprecated, old and undocumented features, marked for deprecations for a long time. `#18920 `_ . Docs `here `__ +- Fix: Ensure ``VCVars`` generated ``conanvcvars.bat`` has normalized path with backward slash (Windows). `#18907 `_ +- Fix: Fix `compatibility.py` migration overwrite when no changes were necessary. `#18882 `_ +- Fix: Cleaning ``files`` and ``upload-urls`` from "package lists" after a download or when skipping uploads. `#18878 `_ +- Fix: Improve the error message and avoid the traceback when a ``build-scripts`` package tries to depend on a ``library`` in the "host" context. `#18869 `_ . Docs `here `__ +- Fix: Move legacy CMake vars from ``xxx-target-.cmake`` to ``xxxx-config.cmake`` file. `#18860 `_ +- Bugfix: Added Apple frameworks support for BazelDeps. `#19004 `_ +- Bugfix: Ensure `conan graph build-order` errors out when passing both a recipe path and a ``--requires`` reference. `#18964 `_ +- Bugfix: MesonToolchain no longer add quotes to ``linker_script`` definition. `#18922 `_ +- Bugfix: Fix missing double quotes for MSBuild's commands. `#18911 `_ +- Bugfix: Omit the ``test_requires`` when ``cyclonedx(..., add_test=False))`` in all cases, including :command:`conan install` consumption. `#18873 `_ +- Bugfix: Command ``conan list`` with version-ranges can now listen to ``core.version_ranges:resolve_prereleases=True`` to list pre-releases. `#18868 `_ +- Bugfix: Stabilize `PackagesList` methods. `#18833 `_ + 2.20.1 (04-Sept-2025) --------------------- diff --git a/conf.py b/conf.py index 5c582439839c..dbc3998ffad5 100644 --- a/conf.py +++ b/conf.py @@ -66,9 +66,9 @@ # The short X.Y version. -version = "2.20" +version = "2.21" # The full version, including alpha/beta/rc tags. -release = u'2.20.1' +release = u'2.21.0' dir_path = os.path.dirname(os.path.realpath(__file__)) if not os.path.exists(os.path.join(dir_path, "versions.json")):