Skip to content

Releases: conan-io/conan

0.25.0 (19-July-2017)

19 Jul 15:59
Compare
Choose a tag to compare

0.25.0

This release introduces a new layout for the local cache, with dedicated export_source folder to store the source code exported with exports_sources feature, which is much cleaner than the old .c_src subfolder. A migration is included to remove from the local cache packages with the old layout.

  • Feature: new conan create command that supersedes test_package for creating and testing package. It works even without the test_package folder, and have improved management for user, channel. The test_package recipe no longer defines requires
  • Feature: new conan get command that display (with syntax highlight) package recipes, and any other file from conan: recipes, conaninfo.txt, manifests, etc.
  • Feature: new conan alias command that creates a special package recipe, that works like an alias or a proxy to other package, allowing easy definition and transparent management of "using the latest minor" and similar policies. Those special alias packages do not appear in the dependency graph.
  • Feature: new conan search --table=file.html command that will output an html file with a graphical representation of available binaries
  • Feature: created default profile, that replace the [settings_default] in conan.conf and augments it, allowing to define more things like env-vars, options, build_requires, etc.
  • Feature: new self.user_info member that can be used in package_info() to define custom user variables, that will be translated to general purpose variables by generators.
  • Feature: conan remove learned the --outdated argument, to remove those package binaries that are outdated from the recipe, both from local cache and remotes
  • Feature: conan search learned the --outdated argument, to show only those package binaries that are outdated from the recipe, both from local cache and remotes
  • Feature: Automatic management CMAKE_TOOLCHAIN_FILE in CMake helper for cross-building.
  • Feature: created conan_api, a python API interface to conan functionality.
  • Feature: new cmake.install() method of CMake helper.
  • Feature: short_paths feature now applies also to exports_sources
  • Feature: SystemPackageTool now supports FreeBSD system packages
  • Feature: build_requires now manage options too, also default options in package recipes
  • Feature: conan build learned new --package_folder argument, useful if the build system perform the packaging
  • Feature: CMake helper now defines by default CMAKE_INSTALL_PREFIX pointing to the current package_folder, so cmake.install() can transparently execute the packaging.
  • Feature: improved command UX with --cwd arguments to allow define the current directory for the command
  • Feature: improved VisualStudioBuildEnvironment
  • Feature: transfers now show size (MB, KB) of download/uploaded files, and current status of transfer.
  • Feature: conan new now has arguments to generate CI scripts for Gitlab CI.
  • Feature: Added MinRelSize and RelWithDebInfo management in CMake helper.
  • Fix: make mkdir, rmdir, relative_dirs available for import from conans module.
  • Fix: improved detection of Visual Studio default under cygwin environment.
  • Fix: package_files now allows symlinks
  • Fix: Windows installer now includes conan_build_info tool.
  • Fix: appending environment variables instead of overwriting them when they come from different origins: upstream dependencies and profiles.
  • Fix: made opt-in the check of package integrity before uploads, it was taking too much time, and provide little value for most users.
  • Fix: Package recipe linter removed some false positives
  • Fix: default settings from conan.conf do not fail for constrained settings in recipes.
  • Fix: Allowing to define package remote with conan remote add_ref before download/upload.
  • Fix: removed duplicated BUILD_SHARED_LIBS in test_package
  • Fix: add "rhel" to list of distros using yum.
  • Bugfix: allowing relative paths in exports and exports_sources fields
  • Bugfix: allow custom user generators with underscore

0.24.0 (15-June-2017)

16 Jun 08:00
Compare
Choose a tag to compare

0.24.0

  • Feature: conan new new arguments to generate Travis-CI and Appveyor files for Continuous Integration
  • Feature: Profile files with include() and variable declaration
  • Feature: Added RelWithDebInfo/MinRelSize to cmake generators
  • Feature: Improved linter, removing false positives due to dynamic conanfile attributes
  • Feature: Added tools.ftp_download() function for FTP retrieval
  • Feature: Managing symlinks between folders.
  • Feature: conan remote add command learned new --insert option to add remotes in specific order.
  • Feature: support multi-config in the SCons generator
  • Feature: support for gcc 7.1+ detection
  • Feature: tools now are using global requests and output instances. Proxies will work for tools.download()
  • Feature: --json parameter added to conan info command to create a JSON with the build_order.
  • Fix: update default repos, now pointing to Bintray.
  • Fix: printing outdated from recipe also for remotes
  • Fix: Fix required slash in configure_dir of AutoToolsBuildEnvironment
  • Fix: command new with very short names, now errors earlier.
  • Fix: better error detection for incorrect Conanfile.py letter case.
  • Fix: Improved some cmake robustness using quotes to avoid cmake errors
  • BugFix: Fixed incorrect firing of building due to --build patterns error
  • BugFix: Fixed bug with options incorrectly applied to build_requires and crashing
  • Refactor: internal refactors toward having a python api to conan functionality

0.23.2

11 Jun 15:31
Compare
Choose a tag to compare
0.23.2

0.23.1 (05-June-2017)

05 Jun 11:30
Compare
Choose a tag to compare

0.23.1

  • BugFix: Fixed bug while packaging symlinked folders in build folder, and target not being packaged.
  • Relaxed OSX requirement of pyopenssl to <18

0.23.0

01 Jun 09:27
Compare
Choose a tag to compare

0.23.0 (01-June-2017)

  • Feature: new build_requires field and build_requirements() in package recipes
  • Feature: improved commands (source, build, package, package_files) and workflows for local development of packages in user folders.
  • Feature: implemented no_copy_source attribute in recipes to avoid the copy of source code from "source" to "build folder". Created new self.source_folder, self.build_folder, self.package_folder for recipes to use.
  • Feature: improved qmake generator with multi-config support, resource directories
  • Feature: improved exception capture and formatting for all recipe user methods exceptions
  • Feature: new tools.sha256() method
  • Feature: folder symlinks working now for packages and upload/download
  • Feature: added set_find_paths() to cmake-multi, to set CMake FindXXX.cmake paths. This will work only for single-config build-systems.
  • Feature: using environment variables for configure(), requirements() and test() methods
  • Feature: added a pylintrc environment variable in conan.conf to define a PYLINTRC file with custom style definitions (like indents).
  • Feature: fixed vcvars architecture setting
  • Fix: Make cacert.pem folder use CONAN_USER_HOME if existing
  • Fix: fixed options=a=b option definition
  • Fix: package_files command allows --force argument to overwrite existing instead of failing
  • BugFix: Package names with underscore when parsing conanbuildinfo.txt

0.22.3 (03-May-2017)

03 May 12:14
Compare
Choose a tag to compare
  • Fixed CMake generator (in targets mode) with linker/exe flags like --framework XXX containing spaces.

0.22.2 (20-April-2017)

20 Apr 07:29
Compare
Choose a tag to compare

Fix: Recovered username regular expression to solve problems with usernames starting with non-alphabetical characters.

0.22.1 (18-April-2017)

18 Apr 14:44
Compare
Choose a tag to compare
  • Fix: "-" symbol available again in usernames.
  • Fix: Added future requirement to solve an error with pyinstaller generating the Windows installer.

0.22.0 (18-April-2017)

18 Apr 09:05
Compare
Choose a tag to compare

0.22.0

  • Feature: [build_requires] can now be declared in profiles and apply them to build packages. Those requirements are only installed if the package is required to build from sources, and do not affect its package ID hash, and it is not necessary to define them in the package recipe. Ideal for testing libraries, cross compiling toolchains (like Android), development tools, etc.
  • Feature: Much improved support for cross-building. Support for cross-building to Android provided, with toolchains installable via build_requires.
  • Feature: New package_files command, that is able to create binary packages directly from user files, without needing to define build() or package() methods in the the recipes.
  • Feature: command conan new with a new --bare option that will create a minimal package recipe, usable with the package_files command.
  • Feature: Improved CMake helper, with test() method, automatic setting of BUILD_SHARED_LIBS, better management of variables, support for parallel compilation in MSVC (via /MP)
  • Feature: new tools.msvc_build_command() helper that both sets the Visual vcvars and calls Visual to build the solution. Also vcvars_command is improved to return non-empty string even if vcvars is set, for easier concatenation.
  • Feature: Added package recipe linter, warning for potential errors and also about Python 3 incompatibilities when running from Python 2. Enabled by default can be opt-out.
  • Feature: Improvements in HTML output of conan info --graph
  • Feature: allow custom path to bash, as configuration and environment variable.
  • Fix: Not issuing an unused variable warning in CMake for the CONAN_EXPORTED variable
  • Fix: added new mips architectures and latest compiler versions to default settings.yml
  • Fix: Unified username allowed patterns to those used in package references.
  • Fix: hadrcoded vs15 version in tools.vcvars

0.21.2 (4-April-2017)

04 Apr 14:29
Compare
Choose a tag to compare

0.21.2

  • Bugfix: virtualenv generator quoting environment variables in Windows.