Releases: conan-io/conan
Releases · conan-io/conan
1.3.2 (7-May-2018)
1.3.2
- Bugfix: Fixed md5 computation of conan .tgz files for the recipe, exported sources and packages due to file ordering and flags.
- Bugfix: Fixed broken
run_in_windows_bash
due to the wrong argument. - Bugfix: Fixed
VisualStudioBuildEnvironment
when toolset was not defined. - Bugfix: Fixed
conan download -p=wrong_id
command - Fix: Added apple-clang 9.1
1.3.1 (3-May-2018)
1.3.1
- Bugfix: Fixed regression with
AutoToolsBuildEnvironment
build helper that raised exception with not supported architectures during the calculation of the GNU triplet. - Bugfix: Fixed
pkg_config
generator, previously crashing when there was no library directories in the requirements. - Bugfix: Fixed
conanfile.run()
withwin_bash=True
quoting the paths correctly. - Bugfix: Recovered parameter "append" to the
tools.save
function. - Bugfix: Added support (documented but missing) to delete options in
package_id()
method usingdel self.info.options.<option>
1.3.0 (30-April-2018)
1.3.0
- Feature: Added new build types to default
settings.yml
: RelWithDebInfo and MinSizeRel.
Compiler flags will be automatically defined in build helpers that do not understand them (MSBuild
,AutotoolsBuildEnvironment
) - Feature: Improved package integrity. Interrupted downloads or builds shouldn't leave corrupted packages.
- Feature: Added
conan upload --json
json output to the command. - Feature: new
conan remove --locks
to clear cache locks. Useful when killing conan. - Feature: New CircleCI template scripts can be generated with the
conan new
command. - Feature: The CMake() build helper manages the fPIC flag automatically based on the options
fPIC
andshared
when present. - Feature: Allowing requiring color output with
CONAN_COLOR_DISPLAY=1
environment variable.
IfCONAN_COLOR_DISPLAY
is not set rely on tty detection for colored output - Feature: New
conan remote rename
andconan add --force
commands to handle remotes. - Feature: Added parameter
use_env
to theMSBuild().build()
build helper method to control the/p:UseEnv
msbuild argument. - Feature: Timeout for downloading files from remotes is now configurable (defaulted to 60 seconds)
- Fix: Use International Units for download/upload transfer sizes (Mb, Kb, etc).
- Fix: Removed duplicated paths in
cmake_multi
generated files. - Fix: Removed false positive linter warning for local imports.
- Fix: Improved command line help for positional arguments
- Fix
-ks
alias for--keep-source
argument inconan create
andconan export
. - Fix: removed confusing warnings when
self.copy()
doesn't copy files in thepackage()
method. - Fix:
None
is now a possible value for settings with nested subsettings insettings.yml
. - Fix: if
vcvars_command
is called and Visual is not found, raise an error instead of warning. - Bugfix:
self.env_info.paths
andself.env_info.PATHS
both map now to PATHS env-var. - Bugfix: Local flow was not correctly recovering state for option values.
- Bugfix: Windows NTFS permissions failed in case USERDOMAIN env-var was not defined.
- Bugfix: Fixed generator
pkg_config
when there are absolute paths (not use prefix) - Bugfix: Fixed parsing of settings values with
"="
character in conaninfo.txt files. - Bugfix: Fixed misdetection of MSYS environments (generation of default profile)
- Bugfix: Fixed string scaping in CMake files for preprocessor definitions.
- Bugfix:
upload --no-overwrite
failed when the remote package didn't exist.
1.2.3 (10-April-2018)
Bugfix: Fixed bug introducing in the previous bug fix of the scons generator.
1.2.2 (10-April-2018)
1.2.2
- Bugfix: Removed invalid version field from scons generator.
1.2.1 (3-Apr-2018)
1.2.1
- Feature: Support for
apple-clang 9.1
- Bugfix:
compiler_args
generator manage correctly the flag for thecppstd
setting. - Bugfix: Replaced exception with a warning message (recommending the
six
module) when usingStringIO
class from theio
module.
1.2.0 (28-Mar-2018)
1.2.0
- Feature: The command
conan build
has new--configure, --build, --install
arguments to control the different stages of the
build()
method. - Feature: The command
conan export-pkg
now has a--package-folder
that can be used to export an exact copy of the
provided folder, irrespective of thepackage()
method. It assumes the package has been locally created with a previous
conan package
or with aconan build
using acmake.install()
or equivalent feature. - Feature: New
json
generator, generates a json file with machine readable information from dependencies. - Feature: Improved proxies configuration with
no_proxy_match
configuration variable. - Feature: New
conan upload
parameter--no-overwrite
to forbid the overwriting of recipe/packages if they have
changed. - Feature: Exports are now copied to
source_folder
when doingconan source
. - Feature:
tools.vcvars()
context manager has no effect if platform is different from Windows. - Feature:
conan download
has new optional argument--recipe
to download only the recipe of a package. - Feature: Added
CONAN_NON_INTERACTIVE
environment variable to disable interactive prompts. - Feature: Improved
MSbuild()
build helper usingvcvars()
and generating property file to adjust the runtime automatically. New methodget_command()
with the call tomsbuild
tool. Deprecatestools.build_sln_command()
andtools.msvc_build_command()
. - Feature: Support for clang 6.0 correctly managing cppstd flags.
- Feature: Added configuration to specify a client certificate to connect to SSL server.
- Feature: Improved
ycm
generator to show json dependencies. - Feature: Experimental
--json
parameter forconan install
andconan create
to generate a JSON file with install information. - Fix:
conan install --build
does not absorb more than one parameter. - Fix: Made conanfile templates generated with
conan new
PEP8 compliant. - Fix:
conan search
output improved when there are no packages for the given reference. - Fix: Made
conan download
also retrieve sources. - Fix: Pylint now runs as an external process.
- Fix: Made
self.user
andself.channel
available in test_package. - Fix: Made files writable after a
deploy()
orimports()
whenCONAN_READ_ONLY_CACHE```/
general.read_only_cacheenvironment/config variable is
True``. - Fix: Linter showing warnings with
cpp_info
object indeploy()
method. - Fix: Disabled linter for Conan pyinstaller as it was not able to find the python modules.
- Fix:
conan user -r=remote_name
showed all users for all remotes, not the one given. - BugFix: Python reuse code failing to import module in
package_info()
. - BugFix: Added escapes for backslashes in
cmake
generator. - BugFix:
conan config install
now raises error ifgit clone
fails. - BugFix: Alias resolution not working in diamond shaped dependency trees.
- BugFix: Fixed builds with Cygwin/MSYS2 failing in Windows with
self.short_paths=True
and NTFS file systems due to ACL permissions. - BugFix: Failed to adjust architecture when running Conan platform detection in ARM devices.
- BugFix: Output to StringIO failing in Python 2.
- BugFix:
conan profile update
not working to update[env]
section. - BugFix:
conan search
not creating default remotes when running it as the very first command after Conan installation. - BugFix: Package folder was not cleaned after the installation and download of a package had failed.
1.1.1 (5-March-2018)
1.1.1
- Feature:
build_sln_command
andmsvc_build_command
receive a new optional parameterplatforms
to match the definition of thesln
Visual Studio project architecture. (Typically Win32 vs x86 problem). - Bufix: Flags for Visual Studio command (cl.exe) using "-" instead of "/" to avoid problems in builds using AutoTools scripts with Visual Studio compiler.
- Bugfix: Visual Studio runtime flags adjusted correctly in
AutoToolsBuildEnvironment
build helper - Bugfix:
AutoToolsBuildEnvironment
build helper now adjust the correct build flag, not using eabi suffix, for architecture x86.
1.1.0 (27-Feb-2018)
1.1.0
- Feature: New
$ conan create --keep-build
option that allows re-packaging from conan local cache, without re-building. - Feature:
$ conan search <pattern> -r=all
now searches in all defined remotes. - Feature: Added setting
cppstd
to manage the C++ standard. Also improved build helpers to adjust the standard automatically when the user activates the setting.AutoToolsBuildEnvironment
,CMake
,MSBuild
andVisualStudioBuildEnvironment
- Feature: New
compiler_args
generator, for directly calling the compiler from command line, for multiple compilers: VS, gcc, clang. - Feature: Defined
sysrequires_mode
variable (CONAN_SYSREQUIRES_MODE
env-var) with valuesenabled, verify, disabled
to control the installation of system dependencies viaSystemPackageTool
typically used in system_requirements() method. - Feature: automatically apply
pythonpath
environment variable for dependencies containing python code to be reused to recipesource()
,build()
,package()
methods. - Feature:
CMake
newpatch_config_paths()
methods that will replace absolute paths to conan package path variables, so cmake find scripts are relocatable. - Feature: new
--test-build-folder
command line argument to define the location of the test_package build folder, and new conan.conftemp_test_folder
and environment variableCONAN_TEMP_TEST_FOLDER
, that if set to True will automatically clean the test_package build folder after running. - Feature: Conan manages relative urls for upload/download to allow access the server from different configured networks or in domain subdirectories.
- Feature: Added
CONAN_SKIP_VS_PROJECTS_UPGRADE
environment variable to skip the upgrade of Visual Studio project when using build_sln_commmand, the msvc_build_command and the MSBuild build helper. - Feature: Improved detection of Visual Studio installations, possible to prioritize between multiple installed Visual tools with the
CONAN_VS_INSTALLATION_PREFERENCE
env-var andvs_installation_preference
conan.conf variable. - Feature: Added
keep_path
parameter toself.copy()
within theimports()
method. - Feature: Added
[build_requires]
section to conanfile.txt. - Feature: Added new
$ conan help <command>
command, as an alternative to--help
. - Feature: Added
target
parameter toAutoToolsBuildEnvironment.make
method, allowing to select build target on running make - Feature: The
CONAN_MAKE_PROGRAM
environment variable now it is used by theCMake()
build helper to set a custom make program. - Feature: Added
--verify-ssl
optional parameter to$ conan config install
to allow self-signed SSL certificates in download. - Feature:
tools.get_env()
helper method to automatically convert environment variables to python types. - Fix: Added a visible warning about
libcxx
compatibility and the detected one for the default profile. - Fix: Wrong detection of compiler in OSX for gcc frontend to clang.
- Fix: Disabled conanbuildinfo.cmake compiler checks for unknown compilers.
- Fix:
visual_studio
generator added missing ResourceCompile information. - Fix: Don't output password from URL for
conan config install
command. - Fix: Signals exit with error code instead of 0.
- Fix: Added package versions to generated SCons file.
- Fix: Error message when package was not found in remotes has been improved.
- Fix:
conan profile
help message. - Fix: Use gcc architecture flags -m32, -m64 for MinGW as well.
- Fix:
CMake
helper do not require settins ifCONAN_CMAKE_GENERATOR
is defined. - Fix: improved output of package remote origins.
- Fix: Profiles files use same structure as
conan profile show
command. - Fix: conanpath.bat file is removed after conan Windows installer uninstall.
- Fix: Do not add GCC-style flags -m32, -m64, -g, -s to MSVC when using
AutoToolsBuildEnvironment
- Fix: "Can't find a binary package" message now includes the Package ID.
- Fix: added clang 5.0 and gcc 7.3 to default settings.yml.
- Bugfix:
build_id()
logic does not apply unless thebuild_id
is effectively changed. - Bugfix:
self.install_folder
was not correctly set in all necessary cases. - Bugfix:
-update
option does not ignore local packages for version-ranges. - Bugfix: Set
self.develop=True
forexport-pkg
command. - Bugfix: Server HTTP responses were incorrectly captured, not showing errors for some server errors.
- Bugfix: Fixed
config
section update for sequential calls over the python API. - Bugfix: Fixed wrong
self.develop
set toFalse
forconan create
withtest_package
. - Deprecation: Removed conan-transit from default remotes registry.
1.0.4 (30-January-2018)
1.0.4
- Bugfix: Fixed default profile defined in conan.conf that includes another profile
- Bugfix: added missing management of
sysroot
in conanbuildinfo.txt affectingconan build
andtest_package
- Bugfix: Fixed warning in
conan source
because of incorrect management of settings. - Bugfix: Fixed priority order of environment variables defined in included profiles
- Bugfix: NMake error for parallel builds from the
CMake
build helper have been fixed - Bugfix: Fixed options pattern not applied to root node (
-o *:shared=True
not working for consuming package) - Bugfix: Fixed shadowed options by package name (
-o *:shared=True -o Pkg:other=False
was not applyingshared
value to Pkg) - Fix: Using
filter_known_paths=False
as default tovcvars_dict()
helper. - Fix: Fixed wrong package name for output messages regarding build-requires
- Fix: Added correct metadata to conan.exe when generated via pyinstaller