Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

The v21 upgrade guide says only `getImagenModel` was removed from the AI API

Cerrado
#3,816 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Ya se ha fusionado un pull request relacionado.

  • #3817 de @armando-navarro — fusionado

Evaluación

Dificultad
1/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
firebase, typescript

Línea de trabajo

Read docs/version-21-upgrade.md, especially its “Removed symbols” section, and check the listed Imagen* exports against the issue. Update the guide to explain that all 12 exports were removed and that the ng update migration may not flag them for imports from the AI entry points. Done when the guide covers both omissions; linked pull request #3817 is already open.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

comp: ai comp: docs type: chore version: current (v17+)

The "Removed symbols" section of docs/version-21-upgrade.md covers getImagenModel. But firebase 12.18 (@firebase/ai 2.15.0) removed all 12 Imagen* exports:

  • getImagenModel
  • ImagenAspectRatio, ImagenGCSImage, ImagenGenerationConfig, ImagenGenerationResponse, ImagenImageFormat, ImagenInlineImage
  • ImagenModel, ImagenModelParams, ImagenPersonFilterLevel, ImagenSafetyFilterLevel, ImagenSafetySettings

AngularFire 21 requires firebase ^12.18.0, so every app that upgrades loses them.

The ng update migration does not warn about the other 11. It also warns about getImagenModel only in files that import an old Vertex AI entry point (@angular/fire/vertexai, firebase/vertexai, or their -preview variants). An app that already imports from @angular/fire/ai or firebase/ai gets compile errors that the migration does not explain.

The guide already notes that Firebase shut the Imagen models down, so these apps were already failing at runtime. The guide should say that every Imagen* export is gone, and that the migration does not flag them.

Lenguaje dominante
TypeScript
Estrellas
7.8k
Forks
2.2k
Merge medio
2 d 14 h
PR fusionados (30 d)
26

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de angular/angularfire

Todos los issues de angular/angularfire

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.