Skip to content

fix(core): bump Firebase C++ SDK to 13.5.0 (CMake deprecation fix)#18071

Merged
Lyokone merged 3 commits intofirebase:mainfrom
dbebawy:fix/cmake-minimum-version-windows
Mar 4, 2026
Merged

fix(core): bump Firebase C++ SDK to 13.5.0 (CMake deprecation fix)#18071
Lyokone merged 3 commits intofirebase:mainfrom
dbebawy:fix/cmake-minimum-version-windows

Conversation

@dbebawy
Copy link
Copy Markdown
Contributor

@dbebawy dbebawy commented Mar 4, 2026

Description

Bumps FIREBASE_SDK_VERSION from 13.4.0 to 13.5.0 in the firebase_core Windows CMakeLists.txt.

The bundled Firebase C++ SDK 13.4.0 sets cmake_minimum_required(VERSION 3.1) in its CMakeLists.txt, which:

  • Triggers a deprecation warning on CMake 3.25+
  • Causes a hard error on CMake 4.x (shipped with Visual Studio 2026)

Firebase C++ SDK 13.5.0 (firebase/firebase-cpp-sdk#1599) bumps the minimum CMake version to 3.22, resolving both the warning and the hard error.

Related Issues

Fixes #12849

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (melos run analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Note on tests: This is a one-line build configuration change (SDK version bump in CMakeLists.txt). The SDK version is validated at CMake build time — the Windows CI workflow's E2E build serves as the integration test. There is no Dart-level behavior change. Verified that firebase_cpp_sdk_windows_13.5.0.zip is available on Google's CDN.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

…on warning

Resolves firebase#12849. The bundled Firebase C++ SDK 13.4.0 sets
cmake_minimum_required(VERSION 3.1), which triggers a deprecation
warning on CMake 3.25+ and a hard error on CMake 4.x.

Firebase C++ SDK 13.5.0 bumps this to VERSION 3.22, fixing the
warning and restoring compatibility with modern CMake.
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

@Lyokone Lyokone merged commit 3afd410 into firebase:main Mar 4, 2026
28 of 29 checks passed
@dbebawy dbebawy deleted the fix/cmake-minimum-version-windows branch March 4, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[firebase_cpp_sdk_windows]: CMake Deprecation Warning

3 participants