tag:github.com,2008:https://github.com/GoogleCloudPlatform/functions-framework-cpp/releases Release notes from functions-framework-cpp 2023-07-07T13:13:38Z tag:github.com,2008:Repository/302478799/v1.2.0 2023-07-07T13:16:41Z v1.2.0 <h2>What's Changed</h2> <p>In this release we updated all the examples and documentation to use the "declarative" form for functions.</p> <ul> <li>docs: use working buildpacks (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1790493027" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/381" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/381/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/381">#381</a>)</li> <li>doc: examples use declarative configuration (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1790374618" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/380" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/380/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/380">#380</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1789428957" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/371" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/371/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/371">#371</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1788407342" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/370" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/370/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/370">#370</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1788352087" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/369" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/369/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/369">#369</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1788245083" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/368" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/368/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/368">#368</a>) (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1175711211" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/356" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/356/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/356">#356</a>)</li> <li>doc: use modern CMake flags (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1790066435" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/374" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/374/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/374">#374</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/compare/v1.1.0...v1.2.0"><tt>v1.1.0...v1.2.0</tt></a></p> coryan tag:github.com,2008:Repository/302478799/v1.1.0 2022-03-16T20:56:17Z v1.1.0 <p>This release introduces <code>google::cloud::functions::Function</code>, an opaque wrapper<br> to represent any C++ function to handle HTTP or CloudEvent requests. Application<br> developers can use this wrapper (via the <code>google::cloud::functions::MakeFunction()</code><br> factory functions) to capture the signature of their functions. Soon, the<br> <a href="https://github.com/GoogleCloudPlatform/buildpacks">GCP buildpacks</a> will no longer require <code>GOOGLE_FUNCTION_SIGNATURE_TYPE</code>,<br> which can be error-prone.</p> <ul> <li>feat: support <code>functions::Function</code> in <code>Run()</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1169984876" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/340" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/340/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/340">#340</a>)</li> <li>feat: make pkg-config files relocatable (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1030431879" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/336" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/336/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/336">#336</a>)</li> <li>doc: how-to guide on using legacy code (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1029321138" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/334" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/334/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/334">#334</a>)</li> </ul> coryan tag:github.com,2008:Repository/302478799/v1.0.0 2021-09-09T13:08:52Z v1.0.0 Release <p>We are pleased to announce that the C++ Functions Framework is<br> now generally available (GA). We think the code is ready for<br> production use, and that the public APIs are stable.</p> <h2>Changes</h2> <ul> <li>fix: use correct version macro for pkg-config (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="991094687" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/322" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/322/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/322">#322</a>)</li> </ul> coryan tag:github.com,2008:Repository/302478799/v0.6.0 2021-08-16T22:47:54Z v0.6.0 Release <h2>v0.6.0 - 2021-08</h2> <ul> <li>feat: support mapping of legacy GCF events (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="970396746" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/313" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/313/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/313">#313</a>)</li> <li>fix: actually handle sessions in parallel (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="969055941" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/308" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/308/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/308">#308</a>)</li> <li>feat: improve error message for CloudEvent (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="969063122" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/310" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/310/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/310">#310</a>)</li> <li>doc: simplify how-to guides (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="844818955" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/304" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/304/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/304">#304</a>)</li> <li>feat: more efficient access to HttpRequest data (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="818238123" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/300" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/300/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/300">#300</a>)</li> </ul> coryan tag:github.com,2008:Repository/302478799/v0.5.0 2021-02-27T16:37:16Z v0.5.0 Release <h2>v0.5.0 - 2021-03</h2> <ul> <li>feat: make HttpResponse fluent (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="812765440" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/293" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/293/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/293">#293</a>)</li> <li>ci: add a build for MSVC 2019 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="812495399" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/290" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/290/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/290">#290</a>)</li> <li>refactor: use vcpkg features to control dependencies (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="812482014" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/289" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/289/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/289">#289</a>)</li> <li>fix: build problems with MSVC (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="812420346" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/288" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/288/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/288">#288</a>)</li> </ul> coryan tag:github.com,2008:Repository/302478799/v0.4.0 2021-02-19T21:29:44Z v0.4.0 Release <h2>v0.4.0 - 2021-02</h2> <ul> <li>feat: use structured logging for exceptions (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="812010063" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/278" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/278/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/278">#278</a>)</li> <li>feat: convert storage Pub/Sub events (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="811236914" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/273" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/273/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/273">#273</a>)</li> <li>feat: how-to guide using Cloud Build for builder (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="810499648" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/267" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/267/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/267">#267</a>)</li> <li>chore: update to pack v0.17.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="807512702" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/263" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/263/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/263">#263</a>)</li> <li>feat: implement code for Cloud Spanner tutorial (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="805057033" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/239" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/239/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/239">#239</a>)</li> <li>feat: implement code for Cloud Bigtable tutorial (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="804975627" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/238" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/238/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/238">#238</a>)</li> <li>doc: this library is now published in vcpkg (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="804124648" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/237" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/237/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/237">#237</a>)</li> <li>feat: fix compilation problems on MSVC (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="803045222" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/233" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/233/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/233">#233</a>)</li> <li>doc: new guide to deploy Pub/Sub function to Cloud Run (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="803116778" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/234" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/234/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/234">#234</a>)</li> <li>doc: new guide to deploy on Cloud Run (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="803038365" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/232" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/232/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/232">#232</a>)</li> <li>doc: describe how to create a Docker image (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="800487347" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/212" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/212/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/212">#212</a>)</li> <li>doc: describe how to run a local server (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="799675183" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/209" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/209/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/209">#209</a>)</li> <li>We implemented many other examples, but this changelog is<br> too long already.</li> </ul> coryan tag:github.com,2008:Repository/302478799/v0.3.0 2021-02-17T20:07:11Z v0.3.0 Pre-release <ul> <li> <p><strong>BREAKING CHANGE:</strong> Renamed package and targets to use<br> <code>functions-framework-cpp</code> as the project's prefix.</p> </li> <li> <p>doc: clarify backwards compatibility guidelines (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="798528040" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/204" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/204/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/204">#204</a>)</p> </li> <li> <p>feat: implement storage_integration_test example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792074427" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/198" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/198/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/198">#198</a>)</p> </li> <li> <p>feat: implement pubsub_integration_test example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792000932" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/195" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/195/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/195">#195</a>)</p> </li> <li> <p>feat: implement storage_unit_test example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="792017392" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/196" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/196/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/196">#196</a>)</p> </li> <li> <p>feat: implement pubsub_unit_test example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="791417792" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/194" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/194/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/194">#194</a>)</p> </li> <li> <p>refactor: use Boost.Log in some examples (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="790378551" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/192" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/192/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/192">#192</a>)</p> </li> <li> <p>feat: implement http_system_test example (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="791090858" data-permission-text="Title is private" data-url="https://github.com/GoogleCloudPlatform/functions-framework-cpp/issues/193" data-hovercard-type="pull_request" data-hovercard-url="/GoogleCloudPlatform/functions-framework-cpp/pull/193/hovercard" href="https://github.com/GoogleCloudPlatform/functions-framework-cpp/pull/193">#193</a>)</p> </li> </ul> coryan tag:github.com,2008:Repository/302478799/v0.2.0 2021-01-19T20:00:22Z v0.2.0 Pre-release <ul> <li>Move <code>Run()</code> to the public API.</li> </ul> coryan tag:github.com,2008:Repository/302478799/v0.1.0 2021-01-19T16:11:33Z v0.1.0 Pre-release No content. coryan