diff --git a/changelog.rst b/changelog.rst index 3152fee9dea6..1f3b4d3f1b89 100644 --- a/changelog.rst +++ b/changelog.rst @@ -3,6 +3,51 @@ Changelog This page lists the changes made to Conan in each version, with links to each pull request for more details. +2.22.1 (30-Oct-2025) +-------------------- + +- Bugfix: Revert "Error out if components miss requiring direct dependencies in more cases". `#19168 `_ + +2.22.0 (29-Oct-2025) +-------------------- + +- Feature: Make the remote name used by ``conan config install-pkg --url=`` public. `#19132 `_ . Docs `here `__ +- Feature: Add support for macOS 15.7 and iOS 18.7. `#19130 `_ +- Feature: Group arguments in CLI help. `#19126 `_ +- Feature: Suggest possible typos for CLI arguments declared as string choices. `#19126 `_ +- Feature: Add opt-in conf to control making `.sh` and `.ps1` env `deactivate` functionality into in-memory functions instead of files. `#19105 `_ . Docs `here `__ +- Feature: Document ``ExportAPI``. `#19103 `_ +- Feature: Enable parallel download of packages by default, by defaulting ``core.download:parallel`` to the available CPU cores. `#19099 `_ . Docs `here `__ +- Feature: Support ``conan graph info --package-filter=&`` pattern. `#19080 `_ . Docs `here `__ +- Feature: Add new environment variable `CONAN_DEFAULT_BUILD_PROFILE` for default build profile. `#19040 `_ . Docs `here `__ +- Feature: Allow nullifying settings from profiles and command line. `#19035 `_ . Docs `here `__ +- Feature: Support compatibility plugin removal of nullable settings. `#19031 `_ . Docs `here `__ +- Feature: New ``tools.gnu:disable_flags`` configuration to allow disabling the injection of some build system flags. `#19014 `_ +- Feature: Expose `recipe` in the `ConanFileInterface` for information purpose only. `#18995 `_ . Docs `here `__ +- Feature: New ``CMakeConfigDeps`` properties to inject extra dependencies and targets. `#18316 `_ +- Fix: Better error message for ``CMakeConfigDeps`` when the package_type or component type is not defined for something with ``.location`` defined. `#19096 `_ +- Fix: Change order of ``build_modules`` inclusion in ``CMakeConfigDeps`` so it happens after legacy-vars, to support some ConanCenter recipes abusing those variables. `#19094 `_ +- Fix: Reintroduce `settings.yml` access to `config` Sub-API. `#19078 `_ +- Fix: Raise an error if ``conan list * --lru=xx``, recommending the ``#`` argument. `#19077 `_ +- Fix: Sanitize XcodeDeps file and variable names to use only valid xcconfig characters. `#19075 `_ +- Fix: Explicitly set ``allow_empty=True`` in ``glob()`` function in ``BazelDeps`` (Bazel 8.x compatible). `#19068 `_ +- Fix: Fix ``CMakeConfigDeps`` when a regular library ``requires()`` an application, using components. `#19052 `_ +- Fix: Add missing final newline when saving lockfiles to disk. `#19043 `_ +- Fix: Warn when adding requirement to version range with pinned revision, it has no effect. `#19041 `_ . Docs `here `__ +- Fix: Fix ``CMakeConfigDeps`` escaping. `#19034 `_ +- Fix: Improved Python virtual environment creation in ``PipEnv`` by using the system-installed interpreter or a user-defined one via ``tools.system.pipenv:python_interpreter``. `#19030 `_ . Docs `here `__ +- Fix: Add VS2026 CMake generator mapping. `#19024 `_ +- Fix: Avoid referencing xcconfig from skipped dependencies required in components in XcodeDeps. `#19023 `_ +- Fix: Add ``execution["jobs"]`` to the generated CMake ``testPresets`` with same logic and value as ``buildPresets``. `#19021 `_ +- Fix: Improve the error message when a workspace ``super-install`` defines intermediate packages in the cache depending on workspace packages. `#19013 `_ +- Fix: Improve support for huge diffs in `conan report diff` HTML output. `#19012 `_ . Docs `here `__ +- Bugfix: ``MSBuildToolchain`` explicitly adds the specific toolset .props file when ``compiler.update`` is defined, otherwise, activating ``vcvars`` is not enough. `#19137 `_ +- Bugfix: Fixes an issue where the Apt packages for the build arch would be reported missing, in cross-compiling scenarios, even though they are installed. `#19074 `_ +- Bugfix: Solve unexpected conflict when pinning a ``recipe-revision`` directly in a conanfile that is not the latest, and having other dependencies resolving first to the latest recipe revision. `#19038 `_ +- Bugfix: Fix ```` resolution in certain transitive cases. `#18947 `_ +- Bugfix: Fix orphan nodes being created when expanding the dependency graph for some cases. `#18947 `_ +- Bugfix: Error out if components miss requiring direct dependencies in more cases. `#18830 `_ + 2.21.0 (29-Sept-2025) --------------------- diff --git a/conf.py b/conf.py index dbc3998ffad5..2db49a42f5b5 100644 --- a/conf.py +++ b/conf.py @@ -66,9 +66,9 @@ # The short X.Y version. -version = "2.21" +version = "2.22" # The full version, including alpha/beta/rc tags. -release = u'2.21.0' +release = u'2.22.1' dir_path = os.path.dirname(os.path.realpath(__file__)) if not os.path.exists(os.path.join(dir_path, "versions.json")): diff --git a/examples/dev_flow/debug/debugging_visual.rst b/examples/dev_flow/debug/debugging_visual.rst index c5266a81bd09..ad5092da8883 100644 --- a/examples/dev_flow/debug/debugging_visual.rst +++ b/examples/dev_flow/debug/debugging_visual.rst @@ -105,7 +105,7 @@ to get information of a DLL, in this case the path where its associated PDB is l in the package to locate its PDB to copy it to the package folder. For more information on how PDBs work with Visual and how we used it to create the hook can be found in the -`hook readme `_. +`hook readme `_. Debugging without build files ----------------------------- @@ -178,5 +178,3 @@ Starting the debugger again will allow to step into the code of the dependency a Any modification to the source files will not allow debugging over them, as Visual Studio does a checksum check, so they need to be the exact same files as when the libraries were compiled. - - diff --git a/examples/tools/autotools/build_project_autotools_toolchain.rst b/examples/tools/autotools/build_project_autotools_toolchain.rst index 40a4f91f3f5d..65d8e05bef1f 100644 --- a/examples/tools/autotools/build_project_autotools_toolchain.rst +++ b/examples/tools/autotools/build_project_autotools_toolchain.rst @@ -11,7 +11,7 @@ Build a simple Autotools project with Conan dependencies In this example, we are going to create a string formatter application -that uses one of the most popular C++ libraries: `fmt `_. +that uses one of the most popular C++ libraries: `fmt `_. We'll use `Autotools `_ as build system and `pkg-config `_ as a helper tool in this case, so you should get them installed on Linux and Mac before going forward with this example. diff --git a/examples/tools/google/bazeltoolchain/build_simple_bazel_7x_project.rst b/examples/tools/google/bazeltoolchain/build_simple_bazel_7x_project.rst index 373d3f1e3732..8059f4ee1f02 100644 --- a/examples/tools/google/bazeltoolchain/build_simple_bazel_7x_project.rst +++ b/examples/tools/google/bazeltoolchain/build_simple_bazel_7x_project.rst @@ -8,7 +8,7 @@ Build a simple Bazel 7.x project using Conan This example is Bazel >= 7.1 compatible. In this example, we are going to create a Hello World program -that uses one of the most popular C++ libraries: `fmt `_. +that uses one of the most popular C++ libraries: `fmt `_. .. note:: diff --git a/examples/tools/google/bazeltoolchain/build_simple_bazel_project.rst b/examples/tools/google/bazeltoolchain/build_simple_bazel_project.rst index 0fc63db7baca..21d5355da602 100644 --- a/examples/tools/google/bazeltoolchain/build_simple_bazel_project.rst +++ b/examples/tools/google/bazeltoolchain/build_simple_bazel_project.rst @@ -8,7 +8,7 @@ Build a simple Bazel project using Conan This example is Bazel 6.x compatible. In this example, we are going to create a Hello World program -that uses one of the most popular C++ libraries: `fmt `_. +that uses one of the most popular C++ libraries: `fmt `_. .. note::