Skip to content
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

Used Trust Types When API is available for gtag URL creation #7052

Closed
wants to merge 27 commits into from

Conversation

dwyfrequency
Copy link
Contributor

@dwyfrequency dwyfrequency commented Feb 22, 2023

@changeset-bot
Copy link

changeset-bot bot commented Feb 22, 2023

🦋 Changeset detected

Latest commit: 62f0a42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@firebase/firestore Minor
firebase Minor
@firebase/auth Patch
@firebase/analytics Patch
@firebase/firestore-compat Patch
@firebase/auth-compat Patch
@firebase/analytics-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Feb 22, 2023

Size Report 1

Affected Products

  • @firebase/analytics

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser20.1 kB20.9 kB+782 B (+3.9%)
    esm524.8 kB25.6 kB+778 B (+3.1%)
    main26.1 kB26.9 kB+778 B (+3.0%)
    module20.1 kB20.9 kB+782 B (+3.9%)
  • @firebase/auth

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser157 kB157 kB+8 B (+0.0%)
    cordova184 kB184 kB+8 B (+0.0%)
    esm5205 kB205 kB+8 B (+0.0%)
    main148 kB148 kB+8 B (+0.0%)
    module157 kB157 kB+8 B (+0.0%)
    react-native168 kB168 kB+8 B (+0.0%)
  • @firebase/auth/cordova

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser184 kB184 kB+8 B (+0.0%)
    module184 kB184 kB+8 B (+0.0%)
  • @firebase/auth/internal

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser167 kB167 kB+8 B (+0.0%)
    esm5218 kB218 kB+8 B (+0.0%)
    main184 kB184 kB+8 B (+0.0%)
    module167 kB167 kB+8 B (+0.0%)
  • @firebase/auth/react-native

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser168 kB168 kB+8 B (+0.0%)
    module168 kB168 kB+8 B (+0.0%)
  • @firebase/firestore

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser274 kB278 kB+3.81 kB (+1.4%)
    esm5341 kB346 kB+4.32 kB (+1.3%)
    main549 kB553 kB+4.16 kB (+0.8%)
    module274 kB278 kB+3.81 kB (+1.4%)
    react-native274 kB278 kB+3.78 kB (+1.4%)
  • @firebase/firestore-lite

    TypeBase (a2505bd)Merge (4e07017)Diff
    browser87.4 kB87.5 kB+106 B (+0.1%)
    esm5105 kB105 kB+108 B (+0.1%)
    main149 kB149 kB-242 B (-0.2%)
    module87.4 kB87.5 kB+106 B (+0.1%)
    react-native87.6 kB87.7 kB+73 B (+0.1%)
  • bundle

    19 size changes

    TypeBase (a2505bd)Merge (4e07017)Diff
    analytics (logEvent)43.1 kB43.5 kB+433 B (+1.0%)
    auth (Anonymous)67.6 kB67.6 kB+8 B (+0.0%)
    auth (EmailAndPassword)71.7 kB71.7 kB+8 B (+0.0%)
    auth (GoogleFBTwitterGitHubPopup)94.0 kB94.0 kB+8 B (+0.0%)
    auth (GooglePopup)91.3 kB91.3 kB+8 B (+0.0%)
    auth (GoogleRedirect)91.5 kB91.5 kB+8 B (+0.0%)
    auth (Phone)77.7 kB77.7 kB+8 B (+0.0%)
    firestore (Persistence)282 kB283 kB+1.55 kB (+0.6%)
    firestore (Query Cursors)220 kB221 kB+1.34 kB (+0.6%)
    firestore (Query)218 kB219 kB+1.34 kB (+0.6%)
    firestore (Read data once)205 kB206 kB+1.27 kB (+0.6%)
    firestore (Realtime updates)207 kB209 kB+1.27 kB (+0.6%)
    firestore (Transaction)189 kB190 kB+1.30 kB (+0.7%)
    firestore (Write data)188 kB190 kB+1.29 kB (+0.7%)
    firestore-lite (Query Cursors)81.4 kB81.4 kB+17 B (+0.0%)
    firestore-lite (Query)77.6 kB77.6 kB+17 B (+0.0%)
    firestore-lite (Read data once)59.8 kB59.7 kB-94 B (-0.2%)
    firestore-lite (Transaction)84.5 kB84.5 kB+39 B (+0.0%)
    firestore-lite (Write data)69.3 kB69.4 kB+14 B (+0.0%)

  • firebase

    TypeBase (a2505bd)Merge (4e07017)Diff
    firebase-analytics-compat.js25.8 kB26.2 kB+419 B (+1.6%)
    firebase-analytics.js24.9 kB25.3 kB+400 B (+1.6%)
    firebase-auth-compat.js126 kB126 kB+8 B (+0.0%)
    firebase-auth-cordova.js138 kB138 kB+8 B (+0.0%)
    firebase-auth-react-native.js150 kB150 kB+8 B (+0.0%)
    firebase-auth.js117 kB117 kB+8 B (+0.0%)
    firebase-compat.js747 kB750 kB+2.64 kB (+0.4%)
    firebase-firestore-compat.js321 kB323 kB+2.21 kB (+0.7%)
    firebase-firestore-lite.js94.2 kB94.3 kB+106 B (+0.1%)
    firebase-firestore.js323 kB327 kB+3.76 kB (+1.2%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/o33HpJ3dBT.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Feb 22, 2023

Size Analysis Report 1

This report is too large (855,698 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/zCmTLUDzxc.html

@dwyfrequency dwyfrequency marked this pull request as ready for review March 9, 2023 21:38
@dwyfrequency dwyfrequency changed the title Initial fix for Trusted Types failures Used Trust Types When API is available for gtag URL creation Mar 21, 2023
hsubox76
hsubox76 previously approved these changes Mar 21, 2023
dwyfrequency and others added 12 commits March 22, 2023 12:18
* Updated change set to match Android release notes.
* New way to config Firestore SDK Cache.

* fixups

* Fix some test failures

* Fixing dts file

* Add public comments

* API report

* Create brown-beers-tease.md

* warning messages and more tests

* Addressing comments

* Update API reports

* Fix provider test failure for node w/o indexeddb

* Fix node memory test

* rename cache to localCache

* Update API reports

* Tech writer review

* yarn docgen

* auth change

* Update API reports

* docgen devsite

* Fix changeset

* Another auth change

* more devsite fix

* Update API reports

* Rename indexeddb to persistent

---------

Co-authored-by: wu-hui <[email protected]>
* Change _fail to use NETWORK_REQUEST_FAILED

* Add changeset

* Check if network error is propagated in error message
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@hsubox76 hsubox76 dismissed their stale review March 23, 2023 16:06

Merge issues

@hsubox76
Copy link
Contributor

Merge seems to have pulled in a lot of extraneous files. If you can't resolve it in this branch, I'd suggest starting a fresh branch based on master and copying to it just the files that you changed.

@dwyfrequency
Copy link
Contributor Author

Merge seems to have pulled in a lot of extraneous files. If you can't resolve it in this branch, I'd suggest starting a fresh branch based on master and copying to it just the files that you changed.

Added #7158

@firebase firebase locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trusted types violation in analytics/src/helpers.ts
8 participants