{"id":34467,"date":"2024-08-01T19:15:40","date_gmt":"2024-08-01T19:15:40","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=34467"},"modified":"2024-08-01T19:15:40","modified_gmt":"2024-08-01T19:15:40","slug":"whats-new-in-vcpkg-july-2024","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/whats-new-in-vcpkg-july-2024\/","title":{"rendered":"What\u2019s New in vcpkg (July 2024)"},"content":{"rendered":"<p>This blog post summarizes changes to the <a href=\"https:\/\/vcpkg.io\/\">vcpkg package manager<\/a> as part of the <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/releases\/tag\/2024.07.12\">2024.07.12 release<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/releases\/tag\/2024-07-10\">2024-07-10 tool release<\/a>, as well as changes to <a href=\"https:\/\/learn.microsoft.com\/vcpkg\/\">vcpkg documentation<\/a> throughout July. This month\u2019s release includes some minor changes to output, bug fixes, and documentation improvements.<\/p>\n<p>Some stats for this period:<\/p>\n<ul>\n<li>There are now <strong>2,457 total ports <\/strong>available in the vcpkg public registry. A <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/concepts\/ports\">port is a versioned recipe<\/a> for building a package from source, such as a C or C++ library.<\/li>\n<li><strong>17 new ports<\/strong> were added to the open-source registry.<\/li>\n<li><strong>315 updates<\/strong> were made to existing ports. As always, we validate each change to a port by building all other ports that depend on or are depended by the library that is being updated for our 13 main <a href=\"https:\/\/learn.microsoft.com\/en-us\/vcpkg\/concepts\/triplets\">triplets<\/a>.<\/li>\n<li><strong>28 contributors<\/strong> submitted PRs, issues, or participated in discussions in the main repo.<\/li>\n<li>The main vcpkg repo has over <strong>6,200 forks<\/strong> and <strong>22,400 stars<\/strong> on GitHub.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>vcpkg changelog (2024.07.12 release)<\/h3>\n<p>The following notable changes were made in this release:<\/p>\n<ul>\n<li>Added VxWorks as a platform expression (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1427\">Microsoft\/vcpkg-tool#1427<\/a>, thanks @Neumann-A!).<\/li>\n<li>vcpkg now uses curl to download on Windows when proxy authentication is required (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1434\">Microsoft\/vcpkg-tool#1434<\/a>, thanks @sylvlecl!).<\/li>\n<li>vcpkg now raises errors for certain invalid overlay port manifests: malformed JSON, missing \u201cname\u201d field, and missing \u201cversion:\u201d field (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1435\">Microsoft\/vcpkg-tool#1435<\/a>, thanks @dg0yt!).<\/li>\n<li>Made error message clearer when attempting to download sources from an invalid URL when installing a port (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1411\">Microsoft\/vcpkg-tool#1411<\/a>, thanks @autoantwort!).<\/li>\n<li>Improved asset caching output to make it clear if it is enabled and what specific actions vcpkg is taking (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1409\">Microsoft\/vcpkg-tool#1409<\/a>).<\/li>\n<li>Bug fixes:\n<ul>\n<li>Fixed x-update-baseline incorrectly updating the baseline field when the registry is configured with a reference. The correct behavior is to use the latest commit of the reference branch when set (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1414\">Microsoft\/vcpkg-tool#1414<\/a>).<\/li>\n<li>Fixed post-build check that forbids putting absolute paths in installed packages to also check .csh and .pl files for these paths (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1426\">Microsoft\/vcpkg-tool#1426<\/a>, thanks @dg0yt!).<\/li>\n<li>Fixed incorrect vcpkg export help message when specifying an output directory (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1450\">Microsoft\/vcpkg-tool#1450<\/a>, thanks @myd7349!).<\/li>\n<li>Fixed vcpkg.exe sometimes failing to determine the version of a downloaded nuget.exe (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/pull\/1451\">Microsoft\/vcpkg-tool#1451<\/a>, thanks @kazssym!).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Documentation changes<\/h3>\n<ul>\n<li>Added docs for <code>AUTHORIZATION_TOKEN<\/code> in <a href=\"https:\/\/learn.microsoft.com\/vcpkg\/maintainers\/functions\/vcpkg_from_gitlab\">vcpkg_from_gitlab<\/a> (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/pull\/328\">Microsoft\/vcpkg-docs#328<\/a>, thanks, @autoantwort!).<\/li>\n<li>Documented <code>STRIP_TRAILING_WHITESPACE<\/code> for the <a href=\"https:\/\/learn.microsoft.com\/vcpkg\/maintainers\/functions\/vcpkg_execute_required_process\">vcpkg_execute_required_process<\/a> function (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/pull\/348\/\">Microsoft\/vcpkg-docs#348<\/a>).<\/li>\n<li>Documented <code>VCPKG_USE_HOST_TOOLS<\/code> CMake option in <a href=\"https:\/\/learn.microsoft.com\/vcpkg\/users\/host-dependencies\">Host dependencies<\/a> article (PR: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/pull\/306\">Microsoft\/vcpkg-docs#306<\/a>).<\/li>\n<li>Clarified level of support for different Unix\/Linux distros in <a href=\"https:\/\/learn.microsoft.com\/vcpkg\/concepts\/supported-hosts\">Supported hosts<\/a> article (PRs: <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/pull\/339\">Microsoft\/vcpkg-docs#339<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/pull\/345\">Microsoft\/vcpkg-docs#345<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/pull\/341\">Microsoft\/vcpkg-docs#341<\/a>, thanks @SchaichAlonso!).<\/li>\n<li>Other typo and bug fixes (thanks @autoantwort, @Suisse00, and @kwsp!).<\/li>\n<\/ul>\n<p>If you have any suggestions for our documentation, please <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\/issues\">submit an issue in our GitHub repo<\/a> or see the box at the bottom of a particular article.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-34469\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/08\/word-image-34467-1.png\" width=\"686\" height=\"202\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/08\/word-image-34467-1.png 1508w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/08\/word-image-34467-1-300x88.png 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/08\/word-image-34467-1-1024x301.png 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2024\/08\/word-image-34467-1-768x226.png 768w\" sizes=\"(max-width: 686px) 100vw, 686px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Total ports available for tested triplets<\/h3>\n<table>\n<tbody>\n<tr>\n<td><strong>triplet<\/strong><\/td>\n<td><strong>ports available<\/strong><\/td>\n<\/tr>\n<tr>\n<td>x64-windows<\/td>\n<td>2,323<\/td>\n<\/tr>\n<tr>\n<td>x86-windows<\/td>\n<td>2,231<\/td>\n<\/tr>\n<tr>\n<td>x64-windows-static<\/td>\n<td>2,203<\/td>\n<\/tr>\n<tr>\n<td>x64-windows-static-md<\/td>\n<td>2,237<\/td>\n<\/tr>\n<tr>\n<td>arm64-windows<\/td>\n<td>1,915<\/td>\n<\/tr>\n<tr>\n<td>x64-uwp<\/td>\n<td>1,285<\/td>\n<\/tr>\n<tr>\n<td>arm64-uwp<\/td>\n<td>1,252<\/td>\n<\/tr>\n<tr>\n<td>x64-linux<\/td>\n<td>2,293<\/td>\n<\/tr>\n<tr>\n<td>x64-osx<\/td>\n<td>2,170<\/td>\n<\/tr>\n<tr>\n<td>arm64-osx<\/td>\n<td>2,090<\/td>\n<\/tr>\n<tr>\n<td>arm-neon-android<\/td>\n<td>1,593<\/td>\n<\/tr>\n<tr>\n<td>x64-android<\/td>\n<td>1,665<\/td>\n<\/tr>\n<tr>\n<td>arm64-android<\/td>\n<td>1,641<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>While vcpkg supports a much larger variety of target platforms and architectures (as <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/tree\/master\/triplets\/community\">community triplets<\/a>), the list above is validated exhaustively to ensure updated ports don\u2019t break other ports in the catalog.<\/p>\n<p>&nbsp;<\/p>\n<h3>Thank you to our contributors<\/h3>\n<p>vcpkg couldn\u2019t be where it is today without contributions from our open-source community. Thank you for your continued support! The following people contributed to the <a href=\"https:\/\/github.com\/microsoft\/vcpkg\">vcpkg<\/a>, <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\">vcpkg-tool<\/a>, or <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\">vcpkg-docs<\/a> repos in this release:<\/p>\n<ul>\n<li>dg0yt (26 commits)<\/li>\n<li>c8ef (21 commits)<\/li>\n<li>autoantwort (19 commits)<\/li>\n<li>Neumann-A (7 commits)<\/li>\n<li>miyanyan (6 commits)<\/li>\n<li>nlogozzo (5 commits)<\/li>\n<li>m-kuhn (4 commits)<\/li>\n<li>talregev (4 commits)<\/li>\n<li>xiaozhuai (4 commits)<\/li>\n<li>waywardmonkeys (3 commits)<\/li>\n<li>RT2Code (2 commits)<\/li>\n<li>myd7349 (3 commits)<\/li>\n<li>MehdiChinoune (1 commit)<\/li>\n<li>omarhogni (1 commit)<\/li>\n<li>moritz-h (1 commit)<\/li>\n<li>alagoutte (1 commit)<\/li>\n<li>Tradias (1 commit)<\/li>\n<li>past-due (1 commit)<\/li>\n<li>AenBleidd (1 commit)<\/li>\n<li>coryan (1 commit)<\/li>\n<li>SchaichAlonso (1 commit)<\/li>\n<li>Suisse00 (1 commit)<\/li>\n<li>kwsp (1 commit)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Learn more<\/h3>\n<p>You can find the <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/releases\/tag\/2024.07.12\">full 2024.07.12 release notes on GitHub<\/a> for the main repo. Recent updates to the vcpkg tool can be viewed on the <a href=\"https:\/\/github.com\/microsoft\/vcpkg-tool\/releases\">vcpkg-tool Releases page<\/a>. To contribute to vcpkg documentation, visit the <a href=\"https:\/\/github.com\/microsoft\/vcpkg-docs\">vcpkg-docs repo<\/a>. If you\u2019re new to vcpkg or curious about how a package manager can make your life easier as a C\/C++ developer, check out the <a href=\"https:\/\/vcpkg.io\/en\/index.html\">vcpkg website \u2013 vcpkg.io<\/a>.<\/p>\n<p>If you would like to contribute to vcpkg and its library catalog, or want to give us feedback on anything, check out our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\">GitHub repo<\/a>. Please report bugs or request updates to ports in our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/issues\">issue tracker<\/a> or join more general discussion in our <a href=\"https:\/\/github.com\/microsoft\/vcpkg\/discussions\">discussion forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post summarizes changes to the vcpkg package manager as part of the 2024.07.12 release, 2024-07-10 tool release, as well as changes to vcpkg documentation throughout July. This month\u2019s release includes some minor changes to output, bug fixes, and documentation improvements. Some stats for this period: There are now 2,457 total ports available in [&hellip;]<\/p>\n","protected":false},"author":1063,"featured_media":28096,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,272],"tags":[273],"class_list":["post-34467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","category-vcpkg","tag-vcpkg"],"acf":[],"blog_post_summary":"<p>This blog post summarizes changes to the vcpkg package manager as part of the 2024.07.12 release, 2024-07-10 tool release, as well as changes to vcpkg documentation throughout July. This month\u2019s release includes some minor changes to output, bug fixes, and documentation improvements. Some stats for this period: There are now 2,457 total ports available in [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/34467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/1063"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=34467"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/34467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/28096"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=34467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=34467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=34467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}