-
Notifications
You must be signed in to change notification settings - Fork 619
Merge main #7016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge main #7016
Conversation
Co-authored-by: David Motsonashvili <[email protected]>
- Make the `ImagenGenerationConfig.Builder` follow the builder pattern - Mark companion object `ImagenImageFormat` methods as @JvmStatic for easier access
Should be more careful with those changes...
Part of the serialization API we use requires optIn, and without the correct declarations we get warnings printed when compiling the code.
Per [b/398840288](https://b.corp.google.com/issues/398840288), This bumps `protolite-well-known-types` to properly utilize `3.25.5`. It seems as though this was an oversight in #6343, but since gradle uses the highest version when resolving dependency conflicts (and all the existing libraries already use `3.25.5`), this isn't a major issue. This is only really an issue if someone is using `protolite-well-known-types` in isolation (which isn't really a use-case we're shipping for). But the main reason for fixing this is that it causes a bit of confusion when trying to track dependency issues (see issue #6674 for an example of this). Fixes #6674
For this fix: #6705
Add link to documentation about custom signal limits ([b/385028620](https://buganizer.corp.google.com/issues/385028620)) and Update setCustomSignals Javadoc List Formatting ([b/390054823](https://buganizer.corp.google.com/issues/390054823))
Co-authored-by: David Motsonashvili <[email protected]>
Prerequisite of Metalava based SemVer
Bumps `truth` from 1.4.2 to 1.4.4. Updates `com.google.truth:truth` from 1.4.2 to 1.4.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/truth/releases">com.google.truth:truth's releases</a>.</em></p> <blockquote> <h2>v1.4.4</h2> <ul> <li>Annotated the rest of the main package for nullness, and moved the <code>@NullMarked</code> annotation from individual classes up to the package to avoid <a href="https://redirect.github.com/google/truth/issues/1320">a warning under <code>--release 8</code></a>. (e107aeadc)</li> <li>Improved the failure message for <code>matches</code> to conditionally suggest using <code>containsMatch</code>. (7e9fc7aec)</li> </ul> <h2>1.4.3</h2> <p><strong>Known Issue for at least some builds targeting Java 8, fixed in <a href="https://github.com/google/truth/releases/tag/v1.4.4">1.4.4</a>:</strong> "unknown enum constant ElementType.MODULE": <a href="https://redirect.github.com/google/truth/issues/1320">google/truth#1320</a>. As far as we know, this is only a warning, so it should cause practical problems only if you use <code>-Werror</code> or you perform reflection on <a href="https://jspecify.dev/docs/api/org/jspecify/annotations/NullMarked.html"><code>@NullMarked</code></a> under a Java 8 runtime.</p> <ul> <li>Added more nullness information to our APIs (in the form of <a href="https://jspecify.dev/">JSpecify</a> annotations). This could lead to additional warnings (or even errors) for users of Kotlin and other nullness checkers. Please <a href="https://github.com/google/truth/issues/new">report any problems</a>. (ee680cbaf)</li> <li>Deprecated <code>Subject.Factory</code> methods for Java 8 types. We won't remove them, but you can simplify your code by migrating off them: Just replace <code>assertAbout(foos()).that(foo)</code> with <code>assertThat(foo)</code> (or <code>about(foos()).that(foo)</code> with <code>that(foo)</code>). (59e7a5065)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/truth/commit/ddeaa0ce957075de803dc936f72f931a58a7abb5"><code>ddeaa0c</code></a> Set version number for truth-parent to 1.4.4.</li> <li><a href="https://github.com/google/truth/commit/e107aeadc83761211a48e5170eb0c64756a0c20f"><code>e107aea</code></a> Annotate the rest of the main package (basically just the Java 8 subjects) fo...</li> <li><a href="https://github.com/google/truth/commit/8ac91a635a052472a224442f684948b43cfb7ed7"><code>8ac91a6</code></a> Document that <code>truth-java8-extension</code> is obsolete.</li> <li><a href="https://github.com/google/truth/commit/99af8bef97c52f909b369a7f0b3157053e6ffb99"><code>99af8be</code></a> Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23 to 1.24 in the d...</li> <li><a href="https://github.com/google/truth/commit/54e548c9fe9bfe9032f36ef7669230369e327687"><code>54e548c</code></a> Bump the dependencies group with 2 updates</li> <li><a href="https://github.com/google/truth/commit/2183a144db938b8d0e64503fa992c7ad24a9d875"><code>2183a14</code></a> Migrate from legacy com.google.gwt to org.gwtproject.</li> <li><a href="https://github.com/google/truth/commit/7e9fc7aec13385fdc34afc13db0220d99a9b6c5a"><code>7e9fc7a</code></a> Make StringSubject.matches suggest using containsMatch if matches(x) fails bu...</li> <li><a href="https://github.com/google/truth/commit/af140d666537d8a74f7fb3207e6a45403169901c"><code>af140d6</code></a> Fix grammar in Javadoc comments.</li> <li><a href="https://github.com/google/truth/commit/afda443cb1d6942fd4195f0bf54f68fdea2bf779"><code>afda443</code></a> Annotate <code>formattingDiffsUsing</code> methods as supporting nullable element/value ...</li> <li><a href="https://github.com/google/truth/commit/ee680cbafc7db5ce188ad26077e7dbb4eb2a97cb"><code>ee680cb</code></a> Use JSpecify annotations in the public release.</li> <li>Additional commits viewable in <a href="https://github.com/google/truth/compare/v1.4.2...v1.4.4">compare view</a></li> </ul> </details> <br /> Updates `com.google.truth.extensions:truth-liteproto-extension` from 1.4.2 to 1.4.4 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rodrigo Lazo <[email protected]>
…nd/functions/functions (#5164) Bumps [semver](https://github.com/npm/node-semver) from 7.5.0 to 7.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/npm/node-semver/releases">semver's releases</a>.</em></p> <blockquote> <h2>v7.5.4</h2> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.3...v7.5.4">7.5.4</a> (2023-07-07)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/cc6fde2d34b95cb600d126649d926901bd2a9703"><code>cc6fde2</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/588">#588</a> trim each range set before parsing (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/node-semver/commit/99d8287516a1d2abf0286033e2e26eca6b69c09f"><code>99d8287</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/583">#583</a> correctly parse long build ids as valid (<a href="https://redirect.github.com/npm/node-semver/issues/583">#583</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> </ul> <h2>v7.5.3</h2> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.2...v7.5.3">7.5.3</a> (2023-06-22)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/abdd93d55496d22e3c15a454a5cf13f101e48bce"><code>abdd93d</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/571">#571</a> set max lengths in regex for numeric and build identifiers (<a href="https://redirect.github.com/npm/node-semver/issues/571">#571</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> </ul> <h3>Documentation</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/bf53dd8da15a17eb6b8111115d0d8ef341fea5db"><code>bf53dd8</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/569">#569</a> add example for <code>></code> comparator (<a href="https://redirect.github.com/npm/node-semver/issues/569">#569</a>) (<a href="https://github.com/mbtools"><code>@mbtools</code></a>)</li> </ul> <h2>v7.5.2</h2> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2">7.5.2</a> (2023-06-15)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/58c791f40ba8cf4be35a5ca6644353ecd6249edc"><code>58c791f</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/566">#566</a> diff when detecting major change from prerelease (<a href="https://redirect.github.com/npm/node-semver/issues/566">#566</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/node-semver/commit/5c8efbcb3c6c125af10746d054faff13e8c33fbd"><code>5c8efbc</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/565">#565</a> preserve build in raw after inc (<a href="https://redirect.github.com/npm/node-semver/issues/565">#565</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441"><code>717534e</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/564">#564</a> better handling of whitespace (<a href="https://redirect.github.com/npm/node-semver/issues/564">#564</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> </ul> <h2>v7.5.1</h2> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.0...v7.5.1">7.5.1</a> (2023-05-12)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/d30d25a5c1fb963c3cc9178cb1769fe45e4a3cab"><code>d30d25a</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/559">#559</a> show type on invalid semver error (<a href="https://redirect.github.com/npm/node-semver/issues/559">#559</a>) (<a href="https://github.com/tjenkinson"><code>@tjenkinson</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/npm/node-semver/blob/main/CHANGELOG.md">semver's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.3...v7.5.4">7.5.4</a> (2023-07-07)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/cc6fde2d34b95cb600d126649d926901bd2a9703"><code>cc6fde2</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/588">#588</a> trim each range set before parsing (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/node-semver/commit/99d8287516a1d2abf0286033e2e26eca6b69c09f"><code>99d8287</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/583">#583</a> correctly parse long build ids as valid (<a href="https://redirect.github.com/npm/node-semver/issues/583">#583</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> </ul> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.2...v7.5.3">7.5.3</a> (2023-06-22)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/abdd93d55496d22e3c15a454a5cf13f101e48bce"><code>abdd93d</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/571">#571</a> set max lengths in regex for numeric and build identifiers (<a href="https://redirect.github.com/npm/node-semver/issues/571">#571</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> </ul> <h3>Documentation</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/bf53dd8da15a17eb6b8111115d0d8ef341fea5db"><code>bf53dd8</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/569">#569</a> add example for <code>></code> comparator (<a href="https://redirect.github.com/npm/node-semver/issues/569">#569</a>) (<a href="https://github.com/mbtools"><code>@mbtools</code></a>)</li> </ul> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2">7.5.2</a> (2023-06-15)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/58c791f40ba8cf4be35a5ca6644353ecd6249edc"><code>58c791f</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/566">#566</a> diff when detecting major change from prerelease (<a href="https://redirect.github.com/npm/node-semver/issues/566">#566</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/node-semver/commit/5c8efbcb3c6c125af10746d054faff13e8c33fbd"><code>5c8efbc</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/565">#565</a> preserve build in raw after inc (<a href="https://redirect.github.com/npm/node-semver/issues/565">#565</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> <li><a href="https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441"><code>717534e</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/564">#564</a> better handling of whitespace (<a href="https://redirect.github.com/npm/node-semver/issues/564">#564</a>) (<a href="https://github.com/lukekarrys"><code>@lukekarrys</code></a>)</li> </ul> <h2><a href="https://github.com/npm/node-semver/compare/v7.5.0...v7.5.1">7.5.1</a> (2023-05-12)</h2> <h3>Bug Fixes</h3> <ul> <li><a href="https://github.com/npm/node-semver/commit/d30d25a5c1fb963c3cc9178cb1769fe45e4a3cab"><code>d30d25a</code></a> <a href="https://redirect.github.com/npm/node-semver/pull/559">#559</a> show type on invalid semver error (<a href="https://redirect.github.com/npm/node-semver/issues/559">#559</a>) (<a href="https://github.com/tjenkinson"><code>@tjenkinson</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/npm/node-semver/commit/36cd334708ec1f85a71445622fb1864bceee0f4e"><code>36cd334</code></a> chore: release 7.5.4</li> <li><a href="https://github.com/npm/node-semver/commit/8456d87971a447ce295d9f1a396b37b29a972a63"><code>8456d87</code></a> chore: postinstall for dependabot template-oss PR</li> <li><a href="https://github.com/npm/node-semver/commit/dde1f002baadf7b4cc45504c4046d13586de11b7"><code>dde1f00</code></a> chore: postinstall for dependabot template-oss PR</li> <li><a href="https://github.com/npm/node-semver/commit/dffcd1b07ec6a192bc0fb405d30d19da46fdc690"><code>dffcd1b</code></a> chore: bump <code>@npmcli/template-oss</code> from 4.16.0 to 4.17.0</li> <li><a href="https://github.com/npm/node-semver/commit/d619f66513a0fa953177882ecee2c365a65efe97"><code>d619f66</code></a> chore: postinstall for dependabot template-oss PR</li> <li><a href="https://github.com/npm/node-semver/commit/3bc42477d1a69361eb79978851be090e5fb4bc2a"><code>3bc4247</code></a> chore: bump <code>@npmcli/template-oss</code> from 4.15.1 to 4.16.0</li> <li><a href="https://github.com/npm/node-semver/commit/cc6fde2d34b95cb600d126649d926901bd2a9703"><code>cc6fde2</code></a> fix: trim each range set before parsing</li> <li><a href="https://github.com/npm/node-semver/commit/99d8287516a1d2abf0286033e2e26eca6b69c09f"><code>99d8287</code></a> fix: correctly parse long build ids as valid (<a href="https://redirect.github.com/npm/node-semver/issues/583">#583</a>)</li> <li><a href="https://github.com/npm/node-semver/commit/4f0f6b19a54b1ba7e1c62af2dfba61f7a4fa68d5"><code>4f0f6b1</code></a> chore: fix arguments in whitespace test (<a href="https://redirect.github.com/npm/node-semver/issues/574">#574</a>)</li> <li><a href="https://github.com/npm/node-semver/commit/6bd1a37f95904512015353a3a5dd726f785c9eb8"><code>6bd1a37</code></a> chore: remove duplicate test in semver class (<a href="https://redirect.github.com/npm/node-semver/issues/575">#575</a>)</li> <li>Additional commits viewable in <a href="https://github.com/npm/node-semver/compare/v7.5.0...v7.5.4">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/firebase/firebase-android-sdk/network/alerts). </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rodrigo Lazo <[email protected]>
…13.1 to 2.18.2 (#6591) Bumps [com.fasterxml.jackson.core:jackson-databind](https://github.com/FasterXML/jackson) from 2.13.1 to 2.18.2. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/FasterXML/jackson/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rodrigo Lazo <[email protected]>
… 1.8.0, 1.8.1, 1.8.2, and 1.8.3 (#6732)
Needs #6724 in main before the task will be able to run --------- Co-authored-by: Rodrigo Lazo <[email protected]>
Avoid calling `Process.myProcessName()` on Android 13 because it appears to be missing from some OEM-specific Android 13 builds. It is fine to just let the method fall through to the next, older, method to get the process name. See firebase/firebase-unity-sdk#1059 I have not been able to reproduce this issue locally, but this change is very safe. We should consider refactoring Crashlytics to consume the Sessions `ProcessDetails` data class, instead of the current `@AutoValue` holder.
Fix a bug in `InstrHttpInputStream` that let `NetworkRequestMetric.responsePayloadBytes` get set to -1 in some conditions. While investigating [b/398063523](http://b/398063523), I found that `inputStream.read(...)` can return 0 in some cases, for example, when the byte buffer length is 0. When this happens, it was possible to set `responsePayloadBytes` to -1 because `-1 + 0 = -1`. I didn't just have `bytesRead` initialize to 0 because there is a difference between 0 bytes read, and no read happened. Tested manually by hacking a test app to force this to happen, and by unit tests.
Update datastore dependency to `1.1.3` to address [CVE-2024-7254](GHSA-735f-pc8j-v9w8) in AQS. We had landed #6343, but it missed the datastore dependency because version 1.0.0 "shaded" the vulnerable protobuf dependency, see #6534. I verified this was happening by extracting the jar from https://maven.google.com/web/index.html?q=datastore-pre#androidx.datastore:datastore-preferences-core:1.0.0 and seeing `<groupId>com.google.protobuf</groupId><artifactId>protobuf-parent</artifactId><version>3.10.0</version>` nested in a maven dir. I also verified datastore 1.1.3 has upgraded the protobuf version to 4.28.2, a safe version. See https://cs.android.com/androidx/platform/frameworks/support/+/androidx-datastore-release:gradle/libs.versions.toml;l=59. This datastore update also includes the stable `MultiProcessDataStoreFactory` which we can utilize in a future change to optimize things like the settings fetch for multi-process apps.
…071007-r to 7.1.0.202411261347-r (#6733) Bumps [org.eclipse.jgit:org.eclipse.jgit](https://github.com/eclipse-jgit/jgit) from 6.3.0.202209071007-r to 7.1.0.202411261347-r. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/eclipse-jgit/jgit/commit/4d1d88575bbdf7b5750dde0622a975d02e4d4fad"><code>4d1d885</code></a> JGit v7.1.0.202411261347-r</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/856c1c37c0f2be4fc219547602a0cf69a8030cfd"><code>856c1c3</code></a> Merge branch 'master' into stable-7.1</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/683d444ca98fae7c0c6b1cb73f7278dd9114fcab"><code>683d444</code></a> Merge branch 'stable-7.0'</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/e3eabe5d5cc9bd4f43f18014cac70e80b55cb45b"><code>e3eabe5</code></a> Merge branch 'stable-6.10' into stable-7.0</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/f27ea5102641818ad3505fbb5cae3fee28c3b056"><code>f27ea51</code></a> Merge "Pack.java: Recover more often in Pack.copyAsIs2()" into stable-6.10</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/f026c19a054a5247ddcdf747479be87b7e01152e"><code>f026c19</code></a> PackDirectory: Filter out tmp GC pack files</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/6fa28d7677f8242d73dc32294fa7db6e86c23b25"><code>6fa28d7</code></a> Add pack-refs command to the CLI</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/079dbe8ed9e47e44986ce43513f3aad8fa64832a"><code>079dbe8</code></a> Test advertised capabilities with protocol V0 and allow*Sha1InWant</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/5b1513a28d337e7e3453e557ee9dde292678eb81"><code>5b1513a</code></a> Align request policies with CGit</li> <li><a href="https://github.com/eclipse-jgit/jgit/commit/f295477b1925cc272c6219126daf1fd7cfc5b602"><code>f295477</code></a> Merge "GitTimeParser: Fix multiple errorprone and style comments"</li> <li>Additional commits viewable in <a href="https://github.com/eclipse-jgit/jgit/compare/v6.3.0.202209071007-r...v7.1.0.202411261347-r">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rodrigo Lazo <[email protected]>
Last version depending on kotlin stdlib 1.8.x
Additionally, make the update_responses.sh more verbose to ease debugging
The mergeback PR from last release didn't include the update to function's CHANGELOG.md file
The server produces a discovery document with the details of the API surface. https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1 This change introduces code that can generate similar a description of the API covered by the SDK. This will enable us to track difference between both. In a follow up PR we can implement the logic to fully export the surface. --------- Co-authored-by: Daymon <[email protected]>
For issue #6558, this is an attempt at fixing the IllegalArgumentException by ensuring that the context we use for registering the SyncTask is the same context we use to unregister the task. Race conditions dont seem like a culprit here since unregister is only triggered by the Receiver itself, which should be only executed synchronously on the main thread.
…ion response (#6602) Extend Firebase SDK with new APIs to consume streaming callable function response. - Handling the server-sent event (SSE) parsing internally - Providing proper error handling and connection management - Maintaining memory efficiency for long-running streams --------- Co-authored-by: Rodrigo Lazo <[email protected]>
#6945 was missing a changelog entry for the dependent library. This PR adds that changelog.
Per [b/416734504](https://b.corp.google.com/issues/416734504), This updates the `GenerateTutorialBundleTask` that we use to generate the tutorial bundle versions (recipe versions) to support `firebase-ai`. More specifically, it replaces the existing `firebase-vertexai` entry in the process. While this PR removes `firebase-vertexai` from the tutorial bundle, it does _not_ remove it from the BoM. That will be a breaking change we'll make down the road.
All SDK dependency declarations follow the same pattern, `<libname>-dependency`
The "Merge to main" workflow adds a comment to the PR so authors know that their changes shouldn't break the main branch, as it should always remain stable and releasable. This only makes sense when the change affects an SDK, as only those get released. Now we filter the message so it doesn't spam PRs that only touch infra (plugin & github folders)
Per [b/419000235](https://b.corp.google.com/issues/419000235), This updates the changelogs and vai version changes we made on the release branch for M164. This should be merged before we create the merge-back branch, such that the merge-back works as expected.
Auto-generated PR for cleaning up release m164 NO_RELEASE_CHANGE Co-authored-by: daymxn <[email protected]>
…6957) It seems like the value set in `FunctionDeclaration#description` was never making it to the API.
The release note name has been updated to use the correct value. Context cl/761183261
… to 18.0.1 (#6977) Bumps [com.google.firebase:firebase-components](https://github.com/firebase/firebase-android-sdk) from 18.0.0 to 18.0.1. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/firebase/firebase-android-sdk/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add macrobenchmark module for sessions test app. This is just the setup and the example startup benchmark. I will add more in the PerfAQS project, and write instructions in the readme then.
…er.runToEndOfTasks (#6918) Robolectric.flushForegroundThreadScheduler is going to be removed in a forthcoming Robolectric release. The Robolectric Scheduler APIs are designed for LEGACY Looper mode which has been deprecated for years.
This PR updates the ImagenPersonFilter refdocs to match the [iOS SDK](https://github.com/firebase/firebase-ios-sdk/blob/4f6c342424df416d78dfc12d08c97769fd4e1152/FirebaseAI/Sources/Types/Public/Imagen/ImagenPersonFilterLevel.swift#L33-L45), including the information about the [Person and face generation allowlist](https://cloud.google.com/vertex-ai/generative-ai/docs/image/responsible-ai-imagen#person-face-gen).
This pr updates the Voice class to take in a string as an attribute instead of just an enum. This is a breaking change since it breaks binary compatibility however I don't think there is any changes that need to be done by the developer
…eous UNAUTHENTICATED exceptions (#7001)
… 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, and 2.6.2 (#7003)
Co-authored-by: David Motsonashvili <[email protected]>
continue-on-error: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
show-progress: false | ||
sparse-checkout: 'firebase-dataconnect/ci/' | ||
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | ||
with: | ||
python-version: ${{ env.FDC_PYTHON_VERSION }} | ||
- run: pip install -r firebase-dataconnect/ci/requirements.txt | ||
- name: pytest | ||
working-directory: firebase-dataconnect/ci | ||
run: pytest --verbose --full-trace --color=no --strict-config | ||
|
||
python-ci-lint: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
continue-on-error: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
show-progress: false | ||
sparse-checkout: 'firebase-dataconnect/ci/' | ||
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | ||
with: | ||
python-version: ${{ env.FDC_PYTHON_VERSION }} | ||
- run: pip install -r firebase-dataconnect/ci/requirements.txt | ||
- name: ruff check | ||
working-directory: firebase-dataconnect/ci | ||
run: ruff check --diff --verbose --no-cache --output-format=github --exit-non-zero-on-fix | ||
|
||
python-ci-format: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
continue-on-error: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
show-progress: false | ||
sparse-checkout: 'firebase-dataconnect/ci/' | ||
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | ||
with: | ||
python-version: ${{ env.FDC_PYTHON_VERSION }} | ||
- run: pip install -r firebase-dataconnect/ci/requirements.txt | ||
- name: ruff format | ||
working-directory: firebase-dataconnect/ci | ||
run: ruff format --diff --verbose --no-cache | ||
|
||
python-ci-type-check: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
continue-on-error: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
show-progress: false | ||
sparse-checkout: 'firebase-dataconnect/ci/' | ||
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 | ||
with: | ||
python-version: ${{ env.FDC_PYTHON_VERSION }} | ||
- run: pip install -r firebase-dataconnect/ci/requirements.txt | ||
- name: pyright | ||
working-directory: firebase-dataconnect/ci | ||
run: pyright --warnings --stats | ||
|
||
# The "send-notifications" job adds a comment to GitHub Issue | ||
# https://github.com/firebase/firebase-android-sdk/issues/6857 with the results of the scheduled | ||
# nightly runs. Interested parties can then subscribe to that issue to be aprised of the outcome | ||
# of the nightly runs. | ||
# | ||
# When testing the comment-adding logic itself, you can add the line | ||
# trksmnkncd_notification_issue=6863 | ||
# into the PR's description to instead post a comment to issue #6863, an issue specifically | ||
# created for testing, avoiding spamming the main issue to which others are subscribed. | ||
send-notifications: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
@@ -1,40 +1,42 @@ | |||
name: Check Vertex AI Responses | |||
name: Check Firebase AI Responses |
Check failure
Code scanning / Scorecard
Token-Permissions High
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help
@@ -15,6 +15,9 @@ | |||
jobs: | |||
create-branches: | |||
runs-on: ubuntu-latest | |||
permissions: | |||
contents: write |
Check failure
Code scanning / Scorecard
Token-Permissions High
Remediation tip: Verify which permissions are needed and consider whether you can reduce them.
Click Remediation section below for further remediation help
@@ -25,12 +28,15 @@ | |||
|
|||
create-pull-request: | |||
runs-on: ubuntu-latest | |||
permissions: | |||
contents: write |
Check failure
Code scanning / Scorecard
Token-Permissions High
Remediation tip: Verify which permissions are needed and consider whether you can reduce them.
Click Remediation section below for further remediation help
python-version: ${{ env.FDC_PYTHON_VERSION }} | ||
|
||
- run: pip install -r firebase-dataconnect/ci/requirements.txt | ||
|
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
Click Remediation section below to solve this issue
with: | ||
python-version: ${{ env.FDC_PYTHON_VERSION }} | ||
- run: pip install -r firebase-dataconnect/ci/requirements.txt | ||
- name: pytest |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
Click Remediation section below to solve this issue
@@ -11,11 +11,14 @@ | |||
|
|||
jobs: | |||
plugins-check: | |||
permissions: | |||
checks: write |
Check failure
Code scanning / Scorecard
Token-Permissions High
Remediation tip: Verify which permissions are needed and consider whether you can reduce them.
Click Remediation section below for further remediation help
|
||
DIRECTORY=$(cd `dirname $0` && pwd) | ||
pip3 install -e $DIRECTORY/fireci >> /dev/null | ||
python3 -m ensurepip --upgrade | ||
python3 -m pip install --upgrade setuptools |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
Click Remediation section below to solve this issue
pip3 install -e $DIRECTORY/fireci >> /dev/null | ||
python3 -m ensurepip --upgrade | ||
python3 -m pip install --upgrade setuptools | ||
python3 -m pip install --upgrade pip |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
Click Remediation section below to solve this issue
python3 -m ensurepip --upgrade | ||
python3 -m pip install --upgrade setuptools | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install --upgrade wheel |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
Click Remediation section below to solve this issue
python3 -m pip install --upgrade setuptools | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install --upgrade wheel | ||
python3 -m pip install -e $DIRECTORY/fireci >> /dev/null |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
Click Remediation section below to solve this issue
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Size Report 1Affected Products
Test Logs |
Coverage Report 1Affected Products
Test Logs |
No description provided.