File conan.changes of Package conan
-------------------------------------------------------------------
Fri Oct 31 10:46:01 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.22.0:
* Features:
- Make the remote name used by conan config install-pkg
--url=<url> public (gh#conan-io/conan#19132).
- Add support for macOS 15.7 and iOS 18.7
(gh#conan-io/conan#19130).
- Group arguments in CLI help (gh#conan-io/conan#19126).
- Suggest possible typos for CLI arguments declared as string
choices (gh#conan-io/conan#19126).
- Add opt-in conf to control making .sh and .ps1 env
deactivate functionality into in-memory functions instead of
files (gh#conan-io/conan#19105).
- Document ExportAPI (gh#conan-io/conan#19103).
- Enable parallel download of packages by default, by
defaulting core.download:parallel to the available CPU cores
(gh#conan-io/conan#19099).
- Support conan graph info --package-filter=& pattern
(gh#conan-io/conan#19080).
- Add new environment variable CONAN_DEFAULT_BUILD_PROFILE for
default build profile (gh#conan-io/conan#19040).
- Allow nullifying settings from profiles and command line
(gh#conan-io/conan#19035).
- Support compatibility plugin removal of nullable settings
(gh#conan-io/conan#19031).
- New tools.gnu:disable_flags configuration to allow disabling
the injection of some build system flags
(gh#conan-io/conan#19014).
- Expose recipe in the ConanFileInterface for information
purpose only (gh#conan-io/conan#18995).
- New CMakeConfigDeps properties to inject extra dependencies
and targets (gh#conan-io/conan#18316).
* Bug fixes:
- Better error message for CMakeConfigDeps when the
package_type or component type is not defined for something
with .location defined (gh#conan-io/conan#19096).
- Change order of build_modules inclusion in CMakeConfigDeps
so it happens after legacy-vars, to support some ConanCenter
recipes abusing those variables (gh#conan-io/conan#19094).
- Reintroduce settings.yml access to config Sub-API
(gh#conan-io/conan#19078).
- Raise an error if conan list * --lru=xx, recommending the
#<rev-pattern> argument (gh#conan-io/conan#19077).
- Sanitize XcodeDeps file and variable names to use only valid
xcconfig characters (gh#conan-io/conan#19075).
- Explicitly set allow_empty=True in glob() function in
BazelDeps (Bazel 8.x compatible) (gh#conan-io/conan#19068).
- Fix CMakeConfigDeps when a regular library requires() an
application, using components (gh#conan-io/conan#19052).
- Add missing final newline when saving lockfiles to disk
(gh#conan-io/conan#19043).
- Warn when adding requirement to version range with pinned
revision, it has no effect (gh#conan-io/conan#19041).
- Fix CMakeConfigDeps escaping (gh#conan-io/conan#19034).
- Improved Python virtual environment creation in PipEnv by
using the system-installed interpreter or a user-defined one
via tools.system.pipenv:python_interpreter
(gh#conan-io/conan#19030).
- Add VS2026 CMake generator mapping
(gh#conan-io/conan#19024).
- Avoid referencing xcconfig from skipped dependencies
required in components in XcodeDeps
(gh#conan-io/conan#19023).
- Add execution["jobs"] to the generated CMake testPresets
with same logic and value as buildPresets
(gh#conan-io/conan#19021).
- Improve the error message when a workspace super-install
defines intermediate packages in the cache depending on
workspace packages (gh#conan-io/conan#19013).
- Improve support for huge diffs in conan report diff HTML
output (gh#conan-io/conan#19012).
- MSBuildToolchain explicitly adds the specific toolset .props
file when compiler.update is defined, otherwise, activating
vcvars is not enough (gh#conan-io/conan#19137).
- Fixes an issue where the Apt packages for the build arch
would be reported missing, in cross-compiling scenarios,
even though they are installed (gh#conan-io/conan#19074).
- 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 (gh#conan-io/conan#19038).
- Fix <host_version> resolution in certain transitive cases
(gh#conan-io/conan#18947).
- Fix orphan nodes being created when expanding the dependency
graph for some cases (gh#conan-io/conan#18947).
- Error out if components miss requiring direct dependencies
in more cases (gh#conan-io/conan#18830).
-------------------------------------------------------------------
Wed Oct 29 10:27:46 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.21.0:
* Features:
- Add support for universal binaries to AutotoolsToolchain
(gh#conan-io/conan#18992).
- Add support for universal binaries to GnuToolchain
(gh#conan-io/conan#18992).
- Add --context={build,host} filter to conan audit scan
(gh#conan-io/conan#18976).
- Default recipe paths to cwd if not specified when calling
Conan (gh#conan-io/conan#18964)
- Implement a new post_package_id() hook
(gh#conan-io/conan#18960).
- Add the PipEnv tool to install python tools using pip in an
isolated virtual environment (gh#conan-io/conan#18923).
- Allow separate build and package directories for multiple
CMake builds from single conanfile
(gh#conan-io/conan#18905).
- Add recipes_only field to remote to control whether a remote
can be used to download binaries (gh#conan-io/conan#18896).
- Add cmake_extra_variables property for CMakeConfigDeps
(gh#conan-io/conan#18822).
- Add cmake_extra_variables property for CMakeDeps
(gh#conan-io/conan#18822).
- Improve conan report diff html UX (gh#conan-io/conan#18686).
- Add generation of dotenv environment files with
tools.env:dotenv=True conf (gh#conan-io/conan#18266).
* Bug fixes:
- Avoid CMakePresets adding the jobs field when
tools.build:jobs=0 (gh#conan-io/conan#18984).
- Warn when exporting recipes with versions containing
alphanumeric majors (gh#conan-io/conan#18980).
- Set cpp.source.includedirs to include in basic_layout
(gh#conan-io/conan#18958).
- workspace add can update the package version of an existing
package in the workspace (gh#conan-io/conan#18955).
- Move test_requires to build_requirements method in tests
(gh#conan-io/conan#18929).
- Always run validate hooks even if recipe does not define
validate() method (gh#conan-io/conan#18928).
- Remove deprecated, old and undocumented features, marked for
deprecations for a long time (gh#conan-io/conan#18920).
- Ensure VCVars generated conanvcvars.bat has normalized path
with backward slash (Windows) (gh#conan-io/conan#18907).
- Fix compatibility.py migration overwrite when no changes
were necessary (gh#conan-io/conan#18882).
- Cleaning files and upload-urls from "package lists" after a
download or when skipping uploads (gh#conan-io/conan#18878).
- Improve the error message and avoid the traceback when a
build-scripts package tries to depend on a library in the
"host" context (gh#conan-io/conan#18869).
- Move legacy CMake vars from xxx-target-<config>.cmake to
xxxx-config.cmake file (gh#conan-io/conan#18860).
- Ensure conan graph build-order errors out when passing both
a recipe path and a --requires reference
(gh#conan-io/conan#18964).
- MesonToolchain no longer add quotes to linker_script
definition (gh#conan-io/conan#18922).
- Command conan list with version-ranges can now listen to
core.version_ranges:resolve_prereleases=True to list
pre-releases (gh#conan-io/conan#18868).
- Stabilize PackagesList methods (gh#conan-io/conan#18833).
- Changes from version 2.20.1:
* Bug fixes:
- Fix Apt not detecting the correct architecture in multiarch
setups (gh#conan-io/conan#18872).
- Apt correctly detects arch-independent (all) packages during
cross-building to avoid unnecessary reinstalls
(gh#conan-io/conan#18872).
- Changes from version 2.20.0:
* Features:
- new check_min_compiler_version validator which simplify
compiler restriction description in recipes
(gh#conan-io/conan#18849).
- Adding Clang 21 to the default settings.yml
(gh#conan-io/conan#18846)
- Avoid the generation of conanintelsetvars script by IntelCC
if the tools.intel:installation_path="", similarly to VCVars
generation. The user should have already activated the
IntelCC environment on their own before running
(gh#conan-io/conan#18840).
- Improved the CMakeLists.txt file created by the conan new
workspace command for super-builds (gh#conan-io/conan#18838)
- Add CMAKE_FIND_PACKAGE_PREFER_CONFIG=ON for CMakeConfigDeps
generator (gh#conan-io/conan#18832)
- Add excludes pattern support for get and unzip methods
(gh#conan-io/conan#18831)
- Add support for GCC 15.2 (gh#conan-io/conan#18735)
- Stabilize and document ConfigAPI public Python sub-API
(gh#conan-io/conan#18709)
- Print build-order in the conan workspace super-install
command (#18693).
- Workspace super-build options aggregation
(gh#conan-io/conan#18608).
- Implement tools.build:install_strip for Autotools
(gh#conan-io/conan#18606).
- Added support to the system_package tool for defining the
system package version to be installed
(gh#conan-io/conan#18517).
* Bug fixes:
- Better error message when there is an existing file called
"build" in the same location as the "build" build-folder is
expected to be created (gh#conan-io/conan#18842)
- The cmake_layout was not taking into account the Apple
multi-arch/universal separator when creating folders named
after the arch setting (gh#conan-io/conan#18823)
- Avoiding issues if passing non-string objects to ConanOutput
methods. Still, the input to several .info() and similar
methods must be "text", passing arbitrary objects and
expecting them to convert to strings internally is not
supported (gh#conan-io/conan#18782).
- Document public interface for ConanOutput class
(gh#conan-io/conan#18782).
- Remove Python 3.6 support, End Of Life since 2021
(gh#conan-io/conan#18779).
- Make all non-documented subapi attributes private
(gh#conan-io/conan#18736)
- Remove SearchAPI in favour of ListAPI's select()
(gh#conan-io/conan#18726).
- Relax the "risk" warning for conflicting visibility in
test_requires (gh#conan-io/conan#18723)
- Fixed an issue that caused APT packages without a defined
architecture to be detected if one with the same name was
installed for a different architecture
(gh#conan-io/conan#18517).
- Preserve subfolders for runtime_deploy deployer
(gh#conan-io/conan#17848).
- Made ConanAPI's home_folder read-only
(gh#conan-io/conan#18726).
-------------------------------------------------------------------
Wed Aug 13 10:27:39 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.19.1:
* Fix: Remove the definition of CMAKE_TRY_COMPILE_CONFIGURATION
in CMakeToolchain to avoid issues with check_function_exists()
legacy code in MSVC (gh#conan-io/conan#18707).
-------------------------------------------------------------------
Sat Jul 26 12:12:15 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.19.0:
* Features:
- Changed some private attributes in MesonToolchain as public
ones, e.g., b_ndebug, b_staticpic (gh#conan-io/conan#18676).
- PremakeDeps will now correctly propagate libraries, headers
and binaries depending on the requirement traits
(gh#conan-io/conan#18663).
- Add cmake_target_aliases support for CMakeConfigDeps
(gh#conan-io/conan#18662).
- Add self.conan_data to the information serialized by
ConanFile, so it is printed in conan graph info and other
commands (gh#conan-io/conan#18661).
- Let conan source reference the backup sources it generates
in more cases (gh#conan-io/conan#18655).
- Add user channel to CycloneDX SBOM sbom_ref field
(gh#conan-io/conan#18649).
- Enable test_package_folder attribute for conan export-pkg
command (gh#conan-io/conan#18621).
- Add support for GCC 12.5 (gh#conan-io/conan#18587).
- New makefile parameter in Autotools make/install methods to
allow specifying the name of the Makefile file
(gh#conan-io/conan#18578).
- Let graph html focus on searched package when pressing Intro
in search box (gh#conan-io/conan#18575).
- Allow profile composition while using conan runners
(gh#conan-io/conan#18534).
* Bug fixes:
- Add explicit error when trying to export a reference with
channel but no user (gh#conan-io/conan#18646).
- Check required_conan_version before loading hooks
(gh#conan-io/conan#18644).
- Avoid logging levels hiding the login username/password
request messages (gh#conan-io/conan#18642).
- Allow cc compiler to be defined with spaces for profile auto
detection (gh#conan-io/conan#18628).
- Fixed untargz when the destination path uses the Windows
long paths prefix \\?\ (gh#conan-io/conan#18612).
- CMakeConfigDeps filter requires() to
package_type=application (gh#conan-io/conan#18611).
- Fix multithreading for self-contained Conan binaries
(gh#conan-io/conan#18603).
- Improve version detection for cc compilers
(gh#conan-io/conan#18600).
- Make package_type="configuration" packages independent of
the config_mode for their package_id
(gh#conan-io/conan#18671).
- PremakeDeps: ensure correct linkage on dependent libraries
(gh#conan-io/conan#18631).
- Changes from version 2.18.0:
* See release notes at
<https://github.com/conan-io/conan/releases/tag/2.18.0>.
-------------------------------------------------------------------
Sun Jun 15 03:27:37 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.17.0:
* Features:
- Add support for gcc 13.4 (gh#conan-io/conan#18374).
- Renamed 'editables' to 'packages' (gh#conan-io/conan#18359).
- Putting a folder named conanws as the top limit search if it
exists (gh#conan-io/conan#18343).
- Removed the home_folder definition mechanism from the
conanws.[yml | py] file (gh#conan-io/conan#18339).
- Packages/products do not need to be within the workspace
folder (gh#conan-io/conan#18334).
- Add tools.gnu:configure_args conf to GnuToolchain and
Autotoolchain generator to allow extra arguments to be added
to the configure command (gh#conan-io/conan#18333).
- Add gcc 14.3 support (gh#conan-io/conan#18322).
- Auto detection of C standard (gh#conan-io/conan#18290).
- define CMAKE_C/CXX_COMPILER in CMakeToolchain generated
presets, only for MSVC cl-like compilers, automatically only
for Ninja generator (gh#conan-io/conan#18280).
- Add header_lib template to conan new
(gh#conan-io/conan#18249).
- to_cppstd_flag/to_cstd_flag methods are not using fixed
values (gh#conan-io/conan#18246).
- Add subprocess to the profile jinja rendering
(gh#conan-io/conan#18244).
- New conan cache save ... --no-source to avoid storing
downloaded sources in the .tgz (gh#conan-io/conan#18243).
- Add verbose logs for conan cache clean
(gh#conan-io/conan#18228).
- Add --list inputs to conan cache clean and conan cache
check-integrity (gh#conan-io/conan#18219).
- Add allowed_packages info to remote json output
(gh#conan-io/conan#18206).
- Add URL information to json output format for conan upload
(gh#conan-io/conan#18166).
- New conan workspace clean command, removes the output-folder
of editables if defined, otherwise nothing. Can be custom
implemented by users in the conanws.py file
(gh#conan-io/conan#17763).
* Fixes:
- Fix PyInstaller --exclude-module adding wildcard for
conan.test (gh#conan-io/conan#18381).
- Fix urls for conan audit (gh#conan-io/conan#18360).
- Validate if the licenses in the SBOM are SPDX compatible
(gh#conan-io/conan#18358).
- Autotools in Windows working for both LLVM/Clang both clang
and clang-cl frontends (gh#conan-io/conan#18347).
- Change wording on unzip tool when uncompressing file
(gh#conan-io/conan#18327).
- Avoid duplicate component requirement names in PkgConfigDeps
and BazelDeps (gh#conan-io/conan#18324).
- Avoid grafted commits in Git helper for commit_in_remote()
affecting also coordinates_to_conandata(),
get_url_and_commit() (gh#conan-io/conan#18315).
- copy() now is capable of excluding symlinks to folders
(gh#conan-io/conan#18304).
- Better error message in conan list --graph=file.json when
using filtered graph (gh#conan-io/conan#18303).
- Always sort overrides serialization
(gh#conan-io/conan#18274).
- Allow composition of conf values that are different
categories of numbers (gh#conan-io/conan#18265).
- Avoid incorrect warning in test_package of python_requires
about "tested_reference_str" (gh#conan-io/conan#18226).
- CycloneDX 1.6 authors field (gh#conan-io/conan#18208).
- Make CMakeConfigDeps incubating generator paths relative for
deployers (gh#conan-io/conan#18197).
- Add the full conan package in PyInstaller bundle
(gh#conan-io/conan#18195).
- Remove LT_INIT from conan new autotools_exe template
configure.ac (gh#conan-io/conan#18378).
- Fix CMakeConfigDeps link flags (gh#conan-io/conan#18367).
- Fix conan audit producing _parse_error_threshold crash when
some package was not found in the catalog
(gh#conan-io/conan#18363).
- The first edge on conan graph info ... -f=html now shows
require information (gh#conan-io/conan#18245).
- conan cache save no longer zips downloaded artifacts like
conan_export.tgz and conan_sources.tgz
(gh#conan-io/conan#18243).
- Allow to conan create a python-requires package with a
profile that contains tool-requires
(gh#conan-io/conan#18226).
- Let conan config install walk the fs tree looking for a
.conanignore (gh#conan-io/conan#18170).
-------------------------------------------------------------------
Sat May 10 14:42:47 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.16.1:
- Feature: Add missing GCC 15 key to settings.yml (gh#conan-io/conan#18193).
- Changes from version 2.16.0:
* Features:
- Add support for GCC 15.1 (gh#conan-io/conan#18175).
- Allow CMakeConfigDeps to support components with multilibs
(with deprecation warning) (gh#conan-io/conan#18172).
- add CMAKE_MODULE_PATH to CMakeConfigDeps for include(module)
(gh#conan-io/conan#18162).
- Add threshold for severity level in the conan audit scan
command (gh#conan-io/conan#18160).
- GnuToolchain including the latest changes from
AutotoolsToolchain (gh#conan-io/conan#18159).
- Add CycloneDx 1.6 support (gh#conan-io/conan#18108).
- Introduce a new no_skip=True requirement trait for
exceptional cases like one application depending on another
application privately with requires to avoid it being
skipped (gh#conan-io/conan#18101).
- Raise error early if conf_info is assigned with raw
settings/options etc (gh#conan-io/conan#18083).
- Moving functionality from Command layer to the ConanAPI for
clearing old private imports from conans
(gh#conan-io/conan#18079).
- Document publicly the MSBuildDeps.platform attribute to
allow customization for wix projects needing x86 value
(gh#conan-io/conan#18078).
- Add missing intel-cc releases (gh#conan-io/conan#18054).
- Add information about the configuration each package is
building for (gh#conan-io/conan#18019).
- Add -vv information for the configuration of each dependency
in the graph (gh#conan-io/conan#18019).
* Fixes:
- Some improvements in conan audit reports
(gh#conan-io/conan#18171).
- Fix ordering by severity value in audit html output
(gh#conan-io/conan#18161).
- Fix column overflow in audit html output
(gh#conan-io/conan#18161).
- Make audit_providers.json read/writeable only by owner
(gh#conan-io/conan#18158).
- Remove bogus SDK versions for some Apple OS's
(gh#conan-io/conan#18152).
- Make the conan.cli command layer fully independent of legacy
from conans imports that will break
(gh#conan-io/conan#18127).
- Explicit git fetch commit in
Git.checkout_from_conandata_coordinates(), for cases like
Azure DevOps creating commits that are not fetched by
default in git clone (gh#conan-io/conan#18110).
- Add ARM64EC platform in MSBuild, it was missing
(gh#conan-io/conan#18100).
- Allow conan graph build-order to output build_args for
"editable" packages (gh#conan-io/conan#18097).
- Improve error message when private audit providers don't
have curation (gh#conan-io/conan#18094).
- Making some Command formatter helpers private (only the ones
in printers are common for reusage), and making some
ConanAPI attributes private (gh#conan-io/conan#18079).
- Raise a not-found error if "local recipes index"
user/channel doesn't match requested one
(gh#conan-io/conan#18153).
- Fixed bug using MesonToolchain and visionOS
(gh#conan-io/conan#18151).
- Add IMPORTED_CONFIGURATIONS to INTERFACE libraries to in
CMakeConfigDeps (gh#conan-io/conan#18088).
-------------------------------------------------------------------
Sat Feb 15 12:01:54 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.12.2:
* Fix default name and let cycloneDX define a custom name
(gh#conan-io/conan#17760).
* Add cycloneDX add_tests and add_build parameters
(gh#conan-io/conan#17760).
* Fix cycloneDX tool parameters (gh#conan-io/conan#17760).
-------------------------------------------------------------------
Sat Feb 8 11:00:04 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 2.12.1:
* Bugfix: Fix conan config clean not regenerating every necessary file.
* Bugfix: Avoid compatibility.py migration if any of the files are modified
by users.
- Update to version 2.12.0:
* Feature: Make public documented (and experimental) the
--build=compatible:[pattern] build mode
* Feature: Define new tools.cmake.cmaketoolchain:user_presets to customize
the name of the generated CMakeUserPresets.json
* Feature: Serialize in --format=json graph output the original requirements
version range, not only the resolved one.
* Feature: Add cycloneDX as a Conan tool and implement subgraph for conanfile
* Feature: Initial conan workspace build command to build the full workspace,
based on the definition of products.
* Feature: Allow applying patches on "create" time for conan-center-index
like layouts from an external centralized folder.
* Feature: Add report progress while unpacking tarball files.
* Feature: conan profile show can now select which context's profile to show
* Feature: Better logging, printing the username for repositories, successful
auth event and trace-level messages including full URL requests.
* Feature: Adds conan config clean command that will remove all custom config
from conan home, excluding the generated packages.
* Feature: Add reinit method to ConanApi, which reinitializes every subapi.
* Feature: Allow defining --out-file=file.ext instead of
--format=ext > file.ext to write to files directly and avoid issues
with redirects
* Feature: Cache HTTP request sessions between API calls.
* Feature: Implement caching in the Remote objects for RemoteManager calls
* Fix: Added arch_flag as a public attribute to the MesonToolchain generator.
* Fix: Increase sqlite timeout from 10 to 20 seconds for very heavily loaded
CI servers.
* Fix: Make remotes.json saving transactional to avoid corruption for hard
killed processes.
* Fix: Improve error message for conan create when test_package has missing
binaries.
* Fix: Fix Git is_dirty detection of excluded files with paths.
* Fix: Allow latest bottle 0.13 release for conan_server to work with
Python 3.13.
* Fix: GnuToolchain's make_args handle empty values correctly.
* Fix: Fix inconsistency in replace_in_file, that returned False if the
pattern was not found (with strict off), otherwise None.
* Fix: conan profile show does not pollute stdout with information titles.
* Fix: Error out when unknown language is used in languages attribute.
* Fix: Fix Workspace when using the workspace_api.load() and using self.run()
inside set_version().
* Bugfix: conf_build does not exist for cli and conanfile.txt contexts.
* Bugfix: Make possible to use pattern and strip_root at the same time for
conan.tools.files.unzip().
* Bugfix: Solve incubating CMakeDeps issues with transitive
[replace_requires].
* Bugfix: Solve PkgConfigDeps issues with transitive [replace_requires].
-------------------------------------------------------------------
Sun Dec 22 11:49:21 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.11.0:
* Feature: Only warn on frozen conan v1 remote if enabled
(gh#conan-io/conan#17482).
* Feature: AutotoolsToolchain uses user's variables when Android
cross-compilation at first (gh#conan-io/conan#17470).
* Feature: AutotoolsToolchain checks if Android
cross-compilation paths exist (gh#conan-io/conan#17470).
* Feature: Adding the Conan cache "profiles" folder to the
jinja2 search path, so profiles can be included/imported from
jinja syntax even for parent and sibling folders
(gh#conan-io/conan#17432).
* Feature: Updated tools.env.virtualenv:powershell conf to allow
specifying the PowerShell executable (e.g., powershell.exe or
pwsh) and passing additional arguments
(gh#conan-io/conan#17416).
* Feature: Deprecate use of
tools.env.virtualenv:powershell=True/False
(gh#conan-io/conan#17416).
* Fix: Do not show powershell deprecation message if value is
None (gh#conan-io/conan#17500).
* Fix: Fix LocalAPI definition of editables when calling
editable_add (gh#conan-io/conan#17498).
* Fix: Clarify debug message in CMakeDeps
(gh#conan-io/conan#17453).
* Fix: Added explicitly allow_empty = True to glob() function in
BazelDeps (bazel 8.x compatible) (gh#conan-io/conan#17444).
* Fix: Fix broken cpp_info.location deduction due to unsanitized
regex (gh#conan-io/conan#17430).
* Fix: Trusting the real path coming from a symlink is a good
one (gh#conan-io/conan#17421).
* Fix: Fix user/channel when searching patterns in a
local-recipes-index (gh#conan-io/conan#17408).
* Fix: Add warning for empty version ranges
(gh#conan-io/conan#17405).
* Bugfix: Fix bogus duplication of component properties (#17503
* Bugfix: Fix running commands in powershell with single quotes
(gh#conan-io/conan#17487).
* Bugfix: Fix issues with unsetting some types of confs
(gh#conan-io/conan#17445).
-------------------------------------------------------------------
Wed Oct 9 19:59:03 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.8.0:
* New features:
- Add Clang 19 support. (gh#conan-io/conan#17010)
- conan config list <pattern> to filter available
configurations. (gh#conan-io/conan#17000)
- New auth_remote.py plugin for custom user authentication to
Conan remotes. (gh#conan-io/conan#16942)
- New auth_source.py plugin for custom user authentication for
generic downloads of sources. (gh#conan-io/conan#16942)
- Add --envs-generation={false} to conan install and conan
build to disable the generation of virtualenvs
(conanbuildenv.sh|bat and conanrunenv.sh|bat).
(gh#conan-io/conan#16935)
- New tools.files.unzip:filter conf that allows to define
data, tar and fully_trusted extraction policies for tgz
files. (gh#conan-io/conan#16918)
- get() and unzip() tools for source() learned a new
extract_filter argument to define data, tar and
fully_trusted extraction policies for tgz files.
(gh#conan-io/conan#16918)
- Add progress updates for large uploads (>100Mbs) every 10
seconds. (gh#conan-io/conan#16913)
- Implement conan config install-pkg --url=<repo-url> for
initial definition of remote URL when no remotes are defined
yet. (gh#conan-io/conan#16876)
- Allow building a compatible package still of the current
profile one. (gh#conan-io/conan#16871)
- Allow bootstrapping (depending on another variant of
yourself), even for the same version.
(gh#conan-io/conan#16870)
- Allow [replace_requires] to replace the package name and
self.dependencies still works with the old name.
(gh#conan-io/conan#16443)
* Bugs fixed:
- Let CMakeToolchain defining CMAKE_SYSTEM_XXX even if
user_toolchain is defined, but protected in case the
toolchain really defines them. (gh#conan-io/conan#17036)
- Replace | character in generated CMake and Environment
files. (gh#conan-io/conan#17024)
- Redirect the PkgConfig stderr to the exception raised.
(gh#conan-io/conan#17020)
- Use always forward slashes in Windows subsystems bash path.
(gh#conan-io/conan#16997)
- Better error messages when conan list
--graph=<graph-json-file> file has issues.
(gh#conan-io/conan#16936)
- PkgConfigDeps.set_property() was not setting properly all
the available properties. (gh#conan-io/conan#17051)
- BazelDeps did not find DLL files as Conan does not model
them in the Windows platform. (gh#conan-io/conan#17045)
- Do not skip dependencies of a package if it is not going to
be skipped due to tools.graph:skip_binaries=False.
(gh#conan-io/conan#17033)
- Allow requires(..., package_id_mode) trait in case of
diamonds to always use the recipe defined one irrespective
of requires() order. (gh#conan-io/conan#16987)
- Propagate include_prerelease flag to intersection of
VersionRange. (gh#conan-io/conan#16986)
- Raise error if invalid value passed to
conf.get(check_type=bool). (gh#conan-io/conan#16976)
- Allow remote_login accept patterns.
(gh#conan-io/conan#16942)
-------------------------------------------------------------------
Wed Jul 17 11:12:57 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.5.0:
* Feature: New tools.cmake.cmaketoolchain:enabled_blocks
configuration to define which blocks of CMakeToolchain should
be active or not (gh#conan-io/conan#16563).
* Feature: Allow --filter-options in conan list to use &: scope
to refer to all packages being listed
(gh#conan-io/conan#16559).
* Feature: Highlight missing or invalid requirements while
computing dependency graph (gh#conan-io/conan#16520).
* Feature: New conan lock update subcommand to remove + add a
reference in the same command (gh#conan-io/conan#16511).
* Feature: Add support for GCC 12.4 (gh#conan-io/conan#16506).
* Feature: Honoring tools.android:ndk_path conf. Setting the
needed flags to cross-build for Android
(gh#conan-io/conan#16502).
* Feature: Add os.ndk_version for Android
(gh#conan-io/conan#16494).
* Feature: Qbs helper now invokes Conan provider automatically
(gh#conan-io/conan#16486).
* Feature: Added force option to
tools.cmake.cmaketoolchain:extra_variables
(gh#conan-io/conan#16481).
* Feature: Raising a ConanException if any section is duplicated
in the same Conan profile file (gh#conan-io/conan#16454).
* Feature: Added resolve() method to the Qbs toolchain
(gh#conan-io/conan#16449).
* Feature: Make MSBuildDeps generation with deployer relocatable
(gh#conan-io/conan#16441).
* Feature: Add QbsDeps class to be used with Qbs Conan module
provider (gh#conan-io/conan#16334).
* Feature: Add built in runtime_deploy deployer
(gh#conan-io/conan#15382).
* Fix: Fix provides conflict error message not showing
conflicting provides when a named reference matches a provider
(gh#conan-io/conan#16562).
* Fix: Set correct testpaths for pytest
(gh#conan-io/conan#16530).
* Fix: Allow .conanrc file in the root of a filesystem
(gh#conan-io/conan#16514).
* Fix: Add support for non default docker hosts in conan runners
(#16477)
* Fix: Don't fail when we can't overwrite the summary file in
the backup upload (gh#conan-io/conan#16452).
* Fix: Make source_credentials.json do not apply to Conan server
repos protocol (gh#conan-io/conan#16425).
* Fix: Allow packages to have empty folders
(gh#conan-io/conan#16424).
* Bugfix: Fix detect_msvc_compiler() from detect_api to properly
detect VS 17.10 with compiler.version=194
(gh#conan-io/conan#16581).
* Bugfix: Fix unexpected error when a recipe performs
package_id() info erasure and is used as a compatibility
candidate (gh#conan-io/conan#16575).
* Bugfix: Ensure msvc cppstd compatibility fallback does not
ignore 194 binaries (gh#conan-io/conan#16573).
* Bugfix: XXXDeps generators did not include an absolute path in
their generated files if --deployer-folder=xxxx param was used
(gh#conan-io/conan#16552).
* Bugfix: Fix conan list ... --format=compact for package
revisions (gh#conan-io/conan#16490).
* Bugfix: Fix XcodeToolchain when only defines are set
(gh#conan-io/conan#16429).
-------------------------------------------------------------------
Thu Apr 4 07:44:40 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.2.2:
* Fix: Avoid issues with recipe `print(..., file=fileobj)`
(gh#conan-io/conan#15934).
* Fix: Fix broken calls to `print(x, file=y)` with duplicate
keyword arguments (gh#conan-io/conan#15912).
* Bugfix: Fix handling of `tools.build:defines` for multiconfig
CMake (gh#conan-io/conan#15924).
-------------------------------------------------------------------
Sun Mar 24 17:22:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.2.1:
* Fix: Add `copytree_compat` method for compatibility with
Python>=3.12 after distutils removal.
- update to 2.2.0:
* Feature: Raise for toolchains different than CMakeToolchain
if using universal binary syntax.
* Feature: Warn on misplaced requirement function calls
* Feature: Print options conflicts in the graph caused by
different branches recipes defining options values.
* Feature: Add `--backup-sources` flag to `conan cache clean`.
* Feature: Add `conan graph outdated` command that lists the
dependencies that have newer versions in remotes
* Feature: Add a parameter to `trim_conandata` to avoid raising
an exception when conandata.yml file doesn't exist.
* Feature: Added `build_context_folder ` to PkgConfigDeps.
* Feature: Included `build.pkg_config_path ` in the built-in
options section in the MesonToolchain template.
* Feature: Update `_meson_cpu_family_map` to support `arm64ec`.
* Feature: Added support for Clang 18.
* Feature: Add basic support in CMakeToolchain for universal
binaries.
* Feature: New ``tools.cmake.cmake_layout:build_folder`` config
that allows re-defining ``cmake_layout`` local build-folder.
* Feature: New ``tools.cmake.cmake_layout:test_folder`` config
that allows re-defining ``cmake_layout`` output build folder
for ``test_package``, including a ``$TMP`` placeholder to
create a temporary folder in system ``tmp``.
* Feature: (Experimental) Add ``conan config install-pkg
myconf/[*]`` new configuration inside Conan packages with new
``package_type = "configuration"``.
* Feature: (Experimental) New ``core.package_id:config_mode``
that allows configuration package reference to affect the
``package_id`` of all packages built with that configuration.
* Feature: Make `cppstd_flag` public to return the
corresponding C++ standard flag based on the settings.
* Feature: Allow ``self.name`` and ``self.version`` in
``build_folder_vars`` attribute and conf.
* Feature: Add ``conan list --filter-xxx`` arguments to list
package binaries that match settings+options.
* Feature: Add `detect_libc` to the `detect_api` to get the
name and version of the C library.
* Feature: New ``CommandAPI`` subapi in the ``ConanAPI`` that
allows calling other commands.
* Fix: Avoid unnecessary build of ``tool_requires`` when
``--build=missing`` and repeated ``tool_requires``.
* Fix: Fix ``CMakeDeps`` ``set_property(... APPEND`` argument
order.
* Fix: Raising an error when an infinite loop is found in the
install graph (ill-formed dependency graph with loops).
* Fix: Make sure `detect_default_compiler()` always returns a
3-tuple.
* Fix: Print a clear message for ``conan graph explain`` when
no binaries exist for one revision.
* Fix: Add ``package_type="static-library"`` to the ``conan new
msbuild_lib`` template.
* Fix: Avoid ``platform_requires`` to fail when explicit
options are being passed via ``requires(.., options={})``.
* Fix: Make ``CMakeToolchain`` end with newline.
* Fix: Do not allow ``conan list`` binary filters or package
query if a binary pattern is not provided.
* Fix: Avoid ``CMakeToolchain.preprocessor_definition``
definitions to ``"None"`` literal string when it has no
value (Python ``None``).
* Fix: Improved ``conan install --deployer-package=*`` case
that was crashing when using ``self.package_folder``.
* Fix: Fix `conan graph info --format=html` for large
dependency graphs.
* Fix: Make all recipe and plugins python file ``print()`` to
``stderr``, so json outputs to ``stdout`` are not broken.
* Fix: Fix getting the gnu triplet for Linux x86.
-------------------------------------------------------------------
Mon Feb 19 13:19:01 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.1.0:
* Long list of changes, see
https://github.com/conan-io/conan/releases/tag/2.1.0
-------------------------------------------------------------------
Thu Jan 11 18:38:29 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.0.17:
* Fix: Automatically create folder if conan cache save
--file=subfolder/file.tgz subfolder doesn't exist
(gh#conan-io/conan#15409).
* Bugfix: Fix libcxx detection when using CC/CXX env vars
(gh#conan-io/conan#15418).
* Bugfix: Solve winsdk_version bug in CMakeToolchain generator
for cmake_minimum_required(3.27) (gh#conan-io/conan#15373).
* Bugfix: Fix visible trait propagation with build=True trait
(gh#conan-io/conan#15357).
* Bugfix: Fix package_id calculation when including conf values
thru tools.info.package_id:confs (gh#conan-io/conan#15356).
* Bugfix: Order conf items when dumping them to allow
reproducible package_id independent of the order the confs
were declared (gh#conan-io/conan#15356).
-------------------------------------------------------------------
Thu Dec 28 17:01:29 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.0.16:
* Bugfix: Revert the default of source_buildenv, make it False
by default [gh#conan-io/conan#15319].
- Changes from version 2.0.15:
* Feature: New conan lock remove command to remove requires from
lockfiles [gh#conan-io/conan#15284].
* Feature: New CMake.ctest() helper method to launch directly
ctest instead of via cmake --target=RUN_TEST
[gh#conan-io/conan#15282].
* Feature: Add tracking syntax in <host_version> for different
references [gh#conan-io/conan#15274].
* Feature: Add pkglist formatter for conan export command
[gh#conan-io/conan#15266].
* Feature: Define CONAN_LOG_LEVEL env-var to be able to change
verbosity at a global level [gh#conan-io/conan#15263].
* Feature: conan cache path xxx --folder xxxx raises an error if
the folder requested does not exist [gh#conan-io/conan#15257].
* Feature: Add in operator support for ConanFile's
self.dependencies [gh#conan-io/conan#15221].
* Feature: Make CMakeDeps generator create a conandeps.cmake
that aggregates all direct dependencies in a cmake-like
generator style [gh#conan-io/conan#15207].
* Feature: Add build environment information to CMake configure
preset and run environment information to CMake test presets
[gh#conan-io/conan#15192].
* Feature: Removed a warning about a potential issue with conan
migration that would print every time a build failed
[gh#conan-io/conan#15174].
* Feature: New deploy() method in recipes for explicit
per-recipe deployment [gh#conan-io/conan#15172].
* Feature: Allow tool-requires to be used in source() method
injecting environment [gh#conan-io/conan#15153].
* Feature: Allow accessing the contents of settings.yml (and
settings_user!) from ConfigAPI [gh#conan-io/conan#15151].
* Feature: Add builtin conf access from ConfigAPI
[gh#conan-io/conan#15151].
* Feature: Add redirect_stdout to CMake integration methods
[gh#conan-io/conan#15150].
* Feature: Add core:warnings_as_errors configuration option to
make Conan raise on warnings and errors
[gh#conan-io/conan#15149].
* Feature: Added FTP_TLS option using secure argument in
ftp_download for secure communication
[gh#conan-io/conan#15137].
* Feature: New [replace_requires] and [replace_tool_requires] in
profile for redefining requires, useful for package
replacements like zlibng/zlib, to solve conflicts, and to
replace some dependencies by system alternatives wrapped in
another Conan package recipe [gh#conan-io/conan#15136].
* Feature: Add stderr capture argument to conanfile's run()
method [gh#conan-io/conan#15121].
* Feature: New [platform_requires] profile definition to be able
to replace Conan dependencies by platform-provided
dependencies [gh#conan-io/conan#14871].
* Feature: New conan graph explain command to search, compare
and explain missing binaries [gh#conan-io/conan#14694].
* Feature: Global cpp_info can be used to initialize components
values [gh#conan-io/conan#13994].
* Fix: Make core:warnings_as_errors accept a list
[gh#conan-io/conan#15297].
* Fix: Fix user confs package scoping when no separator was
given [gh#conan-io/conan#15296].
* Fix: Fix range escaping in conflict reports involving ranges
[gh#conan-io/conan#15222].
* Fix: Allow hard set_name() and set_version() to mutate name
and version provided in command line
[gh#conan-io/conan#15211].
* Fix: Make conan graph info --format=text print to stdout
[gh#conan-io/conan#15170].
* Fix: Avoid warning in CMake output due to
CMAKE_POLICY_DEFAULT_CMP0091 unused variable
[gh#conan-io/conan#15127].
* Fix: Deprecate [system_tools] in favor of
[platform_tool_requires] to align with [platform_requires] for
regular dependencies. Changed output from "System tool" to
"Platform" [gh#conan-io/conan#14871].
* Bugfix: Ensure user confs have at least 1 : separator
[gh#conan-io/conan#15296].
* Bugfix: Git.is_dirty() will use git status . -s to make sure
it only process the current path, not the whole repo,
similarly to other Git methods [gh#conan-io/conan#15289].
* Bugfix: Make self.info.clear() and header-only packages to
remove python_requires and tool_requires
[gh#conan-io/conan#15285].
* Bugfix: Make conan cache save/restore portable across Windows
and other OSs [gh#conan-io/conan#15253].
* Bugfix: Do not relativize absolute paths in deployers
[gh#conan-io/conan#15244].
* Bugfix: Add architecture to CMakePresets to avoid cmake
ignoring toolchain definitions when using presets
[gh#conan-io/conan#15215].
* Bugfix: Fix conan graph info --format=html reporting
misleading conflicting nodes [gh#conan-io/conan#15196].
* Bugfix: Fix serialization of tool_requires in conan profile
show --format=json [gh#conan-io/conan#15185].
* Bugfix: Fix NMakeDeps quoting issues
[gh#conan-io/conan#15140].
* Bugfix: Fix the 2.0.14 migration to add LRU data to the cache
when storage_path conf is defined [gh#conan-io/conan#15135].
* Bugfix: Fix definition of package_metadata_folder for conan
export-pkg command [gh#conan-io/conan#15126].
* Bugfix: pyinstaller.py was broken for Python 3.12 due to a
useless distutils import [gh#conan-io/conan#15116].
* Bugfix: Fix backup sources error when no
core.sources:download_cache is set [gh#conan-io/conan#15109].
-------------------------------------------------------------------
Sat Dec 16 13:41:20 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 2.0.14:
* Feature: Added riscv64, riscv32 architectures to default
settings.yml and management of them in Meson and Autotools
[gh#conan-io/conan#15053].
* Feature: Allow only one simultaneous database connection
[gh#conan-io/conan#15029].
* Feature: Add conan cache backup-upload to upload all the
backup sources in the cache, regardless of which references
they are from [gh#conan-io/conan#15013].
* Feature: New conan list --format=compact for better UX
[gh#conan-io/conan#15011].
* Feature: Ignore metadata upload by passing --metadata=""
[gh#conan-io/conan#15007].
* Feature: Better output messages in conan upload
[gh#conan-io/conan#14984].
* Feature: Add extra flags to CMakeToolchain
[gh#conan-io/conan#14966].
* Feature: Implement package load/restore from the cache, for CI
workflows and moving packages over air-gaps
[gh#conan-io/conan#14923].
* Feature: Compute version-ranges intersection to avoid graph
version conflicts for compatible ranges
[gh#conan-io/conan#14912].
* Feature: CMake helper can use multiple targets in target
argument [gh#conan-io/conan#14883].
* Feature: Add CMakeDeps and PkgConfigDeps generators listening
to system_package_version property [gh#conan-io/conan#14808].
* Feature: Add shorthand syntax in cli to specify host and build
in 1 argument [gh#conan-io/conan#14727].
* Feature: Implement cache LRU control for cleaning of unused
artifacts [gh#conan-io/conan#14054].
* Fix: Avoid CMakeToolchain overwriting user CMakePresets.json
when no layout nor output-folder is defined
[gh#conan-io/conan#15058].
* Fix: Add astra, elbrus and altlinux as distribution using apt
in SystemPackageManager [gh#conan-io/conan#15051].
* Fix: Default to apt-get package manager in Linux Mint
[gh#conan-io/conan#15026].
* Fix: Make Git() check commits in remote server even for
shallow clones [gh#conan-io/conan#15023].
* Fix: Fix AutotoolsToolchain extraflags priority
[gh#conan-io/conan#15005].
* Fix: Remove colors from conan --version output
[gh#conan-io/conan#15002].
* Fix: Add an error message if the sqlite3 version is
unsupported (less than 3.7.11 from 2012)
[gh#conan-io/conan#14950].
* Fix: Make cache DB always use forward slash for paths, to be
uniform across Windows and Linux [gh#conan-io/conan#14940].
* Fix: Solve re-build of an existing package revision (like
forcing rebuild of a an existing header-only package), while
previous folder was still used by other projects
[gh#conan-io/conan#14938].
* Fix: Avoid a recipe mutating a conf to affect other recipes
[gh#conan-io/conan#14932].
* Fix: The output of system packages via Apt.install() or
PkgConfig.fill_cpp_info, like xorg/system was very noisy to
the Conan output, making it more quiet
[gh#conan-io/conan#14924].
* Fix: Serialize the path information of python_requires,
necessary for computing buildinfo [gh#conan-io/conan#14886].
* Fix: Define remotes in conan source command in case recipe has
python_requires that need to be downloaded from remotes
[gh#conan-io/conan#14852].
* Fix: Fix min target flag for xros and xros-simulator
[gh#conan-io/conan#14776].
* Bugfix: --build=missing was doing unnecessary builds of
packages that were not needed and could be skipped, in the
case of tool_requires having transitive dependencies
[gh#conan-io/conan#15082].
* BugFix: Add package revision to format=json in 'conan
export-pkg' command [gh#conan-io/conan#15042].
* Bugfix: tools.build:download_source=True will not fail when
there are editable packages [gh#conan-io/conan#15004].
* Bugfix: Transitive dependencies were incorrectly added to
conandeps.xcconfig [gh#conan-io/conan#14898].
* Bugfix: Fix integrity-check (upload --check or cache
check-integrity) when the export_source has not been
downloaded [gh#conan-io/conan#14850].
* Bugfix: Properly lock release candidates of python requires
[gh#conan-io/conan#14846].
* BugFix: Version ranges ending with - do not automatically
activate pre-releases resolution in the full range
[gh#conan-io/conan#14814].
* BugFix: Fix version ranges so pre-releases are correctly
included in the lower bound and excluded in the upper bound
[gh#conan-io/conan#14814].
- New Requires: python-distro.
-------------------------------------------------------------------
Fri Oct 27 04:55:52 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Initial package.