GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — build: require firebase ^12.18.0 and wrap the functions it adds by armando-navarro · Pull Request #3761 · angular/angularfire Conversation
Collaborator
Checklist
Description
Three things follow from the way the generator works:
What regenerating changes
What comes out
What this means for someone upgrading
Specs
Docs
Testing
Two results are worth stating separately, because neither is visible in the diff. The override entries are doing the work, not the version
The duplicate copy was measured, not assumedA fresh The split runs through the library's own dependencies: One judgment call I would particularly like a second opinion on: Fixes #3756
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
tyler-reitz
approved these changes
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Approving. On your Ran the rest. One follow-up, not for this PR: 12.18.0 deprecates both Also, this branch carries #3759's three commits, so it'll want a rebase once that squash-merges.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe generated src/<module>/firebase.ts files are written from the type declarations of whatever firebase is installed, so the set of functions AngularFire wraps is decided by the version the build resolves. That was 12.4.0 while npm latest reached 12.18.0, leaving newly added functions reaching callers through the star export with no zone integration and no pending-task registration. Raising the required version wraps them. Everything the override entries in angular#3759 classified as unwrapped stays out. getImagenModel loses its entry because firebase removed the symbol in 12.18.0, so the generator no longer sees it. The exemption list it sat in is empty now and stays as the place the next unclassified name goes. Fixes angular#3756
armando-navarro
force-pushed
the
a38-pr-b-firebase-floor
branch
from
89ab184 to
128bfda
Compare
firebase 12.18 deprecates getToken and deleteToken and says both will be removed, pointing callers at register with onRegistered, and unregister with onUnregistered. The replacement is a different model rather than a rename, so the page now explains it before the example. The Node send example keeps its token field, which Firebase says still accepts an installation ID during the migration. It does not switch to the fid field Firebase recommends, because firebase-admin 13.5.0 does not declare one. The comment claimed a name allowed for one entry point is not allowed for the rest. The check does not work that way. exportsSeenPerOverrides is keyed by the overrides object, and firestore and firestore/lite are handed the same firestoreOverrides, so a name listed for one silences the check for the other. The list is empty today, so nothing behaves differently. The comment is what a future reader would have relied on when adding the next name.
Collaborator
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
breaking change
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Raise thefirebase version AngularFire is built against, so functions added since 12.4.0 are wrapped
Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |