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 — fix(ai): drop the getImagenModel wrapper, removed in firebase 12.18 by armando-navarro · Pull Request #3750 · angular/angularfire Conversation
Collaborator
Checklist
DescriptionFixes #3749. Firebase shut the Imagen models down in August 2026 and removed the Imagen API in The fix
Verification
Also in this change
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsFirebase shut the Imagen models down in August 2026 and @firebase/ai 2.15.0 (firebase 12.18.0) removed the API. Our ai entry point named-imports getImagenModel, so any install resolving firebase 12.18.0, which ^12.4.0 does on every fresh install, fails to build. The generator now excludes getImagenModel from the wrapped named imports. Installs whose firebase still includes the symbol (12.17 and older) keep compiling, because the entry point re-exports everything from firebase/ai with export *. That is compile-time grace only: the models are shut down, so the calls fail at the service on any firebase version. The package keeps building against firebase 12.4.0, the lowest version the published ^12.4.0 range allows, so every symbol the generated file imports by name exists in every firebase version a user's install can resolve: a sweep of every wrapped @firebase package between the 12.4.0- and 12.18.0-mapped versions found getImagenModel to be the only removed export. The ng update migration now warns on getImagenModel imports with guidance to move image generation to the Gemini image models via getGenerativeModel, with a spec. The upgrade guide documents the removal and its migration section is restructured for readability.
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. Verified independently: the named imports of all 14 generated One note, not a change request: on firebase 12.17 and older,
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh 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
bump: patch
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. @angular/fire/ai fails to build against firebase 12.18, which removed getImagenModel
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. |