Skip to content

2.3.0 (06-May-2024)

Compare
Choose a tag to compare
@czoido czoido released this 06 May 16:43
  • Feature: Allow * wildcard as subsetting in in rm_safe. (#16105). Docs: πŸ“ƒ
  • Feature: Show recipe and package sizes when running conan upload. (#16103)
  • Feature: Extend conan version to report current python and system for troubleshooting. (#16102). Docs: πŸ“ƒ
  • Feature: Add detect_xxxx_compiler() for mainstream compilers as gcc, msvc, clang. to the public detect_api. (#16092). Docs: πŸ“ƒ
  • Feature: Add comment support for .conanignore file. (#16087)
  • Feature: In graph html search bar now takes in multiple search patterns separated by commas. (#16083)
  • Feature: In graph html added 'filter packages' bar that takes in multiple search patterns separated by comma and hides filters them from graph. (#16083)
  • Feature: Add an argument hide_url to Git operations to allow logging of the repository URL. By default, URLs will stay <hidden>, but users may opt-out of this. (#16038)
  • Feature: Allow .conf access (exclusively to global.conf information, not to profile information) in the export() and export_sources() methods. (#16034). Docs: πŸ“ƒ
  • Feature: Avoid copying identical existing files in copy(). (#16031)
  • Feature: New conan pkglist merge command to merge multiple package lists. (#16022). Docs: πŸ“ƒ
  • Feature: New conan pkglist find-remote command to find matching in remotes for list of packages in the cache. (#16022). Docs: πŸ“ƒ
  • Feature: Relativize paths in CMakePresets generation. (#16015)
  • Feature: Add new test_package_folder attribute to conanfile.py to define a different custom location and name rather than test_package default. (#16013). Docs: πŸ“ƒ
  • Feature: New conan create --test-missing syntax to optionally run the test_package only when the package is actually created (useful with --build=missing). (#15999). Docs: πŸ“ƒ
  • Feature: Add tools.gnu:build_triplet to conf. (#15965)
  • Feature: Add --exist-ok argument to conan profile detect to not fail if the profile already exists, without overwriting it. (#15933)
  • Feature: MesonToolchain can generate a native file if native=True (only makes sense when cross-building). (#15919). Docs: πŸ“ƒ
  • Feature: Meson helper injects native and cross files if both exist. (#15919). Docs: πŸ“ƒ
  • Feature: Add support for meson subproject. (#15916). Docs: πŸ“ƒ
  • Feature: Added transparent support for running Conan within a Docker container. (#15856). Docs: πŸ“ƒ
  • Fix: Allow defining CC=/usr/bin/cc (and for CXX) for conan profile detect auto-detection. (#16187)
  • Fix: Solve issue in pyinstaller.py script, it will no longer install pip install pyinstaller, having it installed will be a precondition (#16186)
  • Fix: Use backslash in CMake helper for the CMakeLists.txt folder, fixes issue when project is in the drive root, like X: (#16180)
  • Fix: Allowing conan editable remove <path> even when the path has been already deleted. (#16170)
  • Fix: Fix conan new --help formatting issue. (#16155)
  • Fix: Improved error message when there are conflicts in the graph. (#16137)
  • Fix: Improve error message when one URL is not a valid server but still returns 200-ok under a Conan "ping" API call. (#16126)
  • Fix: Solve sqlite3 issues in FreeBSD due to queries with double quotes. (#16123)
  • Fix: Clean error message for conan cache restore <non-existing-file>. (#16113)
  • Fix: Improve UX and error messages when a remotes or credentials file in the cache is invalid/empty. (#16091)
  • Fix: Use cc executable in Linux systems for autodetect compiler (conan profile detect and detect_api). (#16074)
  • Fix: Improve the definition of version ranges UX with better error message for invalid ==, ~=, ^= operators. (#16069)
  • Fix: Improve error message UX when incorrect settings.yml or settings_user.yml. (#16065)
  • Fix: Print a warning for Python 3.6 usage which is EOL since 2021. (#16003)
  • Fix: Remove duplicated printing of command line in Autotools helper. (#15991)
  • Fix: Add response error message output to HTTP Status 401 Errors in FileDownloader. (#15983)
  • Fix: Add gcc 14 to default settings.yml. (#15958)
  • Fix: Make VCVars use the compiler.update to specify the toolset. (#15947)
  • Fix: Add rc to AutotoolsToolchain mapping of compiler_executables for cross-build Linux->Windows. (#15946)
  • Fix: Add Pop!_OS to the distros using apt-get as system package manager. (#15931)
  • Fix: Do not warn with package names containing the - character. (#15920)
  • Fix: Fix html escaping of new --format=html graph output, and pass the graph serialized object instead of the string. (#15915)
  • Bugfix: Make MesonToolchain listen to tools.build:defines conf variable. (#16172). Docs: πŸ“ƒ
  • Bugfix: Disallow self.cpp_info access in validate_build() method. (#16135)
  • Bugfix: Don't show a trace when .conanrc's conan_home is invalid. (#16134)
  • Bugfix: Avoid the propagation of transitive dependencies of tool_requires to generators information even if they are marked as visible=True. (#16077)
  • Bugfix: BazelDeps now uses the requirement.build property instead of dependency.context one. (#16025)
  • Bugfix: Make conan cache restore work correctly when restoring over a package already in the local cache. (#15950)