Pending breaking changes
I maintainer di solito rispondono entro 8 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- firebase, node.js, typescript
Direzione di ricerca
Start by reviewing the linked issues and pull requests (#326, #336, #337, #334, #328, #316, #40, and #281) and the package’s release and public type definitions. Decide which breaking changes belong in 4.0 and resolve the open proposals; done when the release scope and outstanding type and API decisions are agreed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
main has breaking changes since 3.5.0, so the next release needs to be 4.0.0. This issue lists what is already merged and what still needs a decision.
Merged, not yet released:
- The minimum Node version is now 22 (#326). The CHANGELOG entry says Node 20 and lists it as a chore. It should say 22 and be marked as breaking.
- firebase-admin
^8and^9are removed from the peer range and^14is added (#336). Until this is released, installing with firebase-admin 14 fails withERESOLVE. makeDocumentSnapshotnow returnsQueryDocumentSnapshotorDocumentSnapshotinstead ofany(#337).
Open PRs to decide on for 4.0:
- #334:
mockConfig()throws on firebase-functions v7, which removedfunctions.config(). TodaymockConfig()appears to work and the error only shows up later. - #328: v2 callable typing (#257).
- #316 (draft): v2 event typing (#205). Code that passes raw data would need
wrapped({ data: change }).
Requests with no PR yet:
- #40: replace
export =with standard module exports. - #281: ship ESM alongside CommonJS. An
exportsmap would also block deep imports such asfirebase-functions-test/lib/.... - Remove
mockConfigentirely, now that firebase-functions v7 has nofunctions.config().
Public types that only a major can tighten:
WrappedFunction,WrappedScheduledFunctionandWrappedV2Functionreturnany | Promise<any>. TheCloudFunctiongenerics could give a real return type.EventContextOptions.authandparams, andCallableContextOptions.authandapp, areany. Typing them asAuthData/AppCheckDatawould break tests that pass{ uid }withouttoken.wrapV2callsrun(req)with no second argument, soonCall((req, response) => ...)getsresponse === undefined. Adding aCallableResponsemock is additive, but if #328 changes the wrapped callable signature it should leave room for that second argument now rather than in another major.
- Lingua principale
- TypeScript
- Stelle
- 249
- Fork
- 63
- Merge medio
- 7g 19h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di firebase/firebase-functions-test
-
type: enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
firebase/firebase-functions-test#333 · 2 commenti ·
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
firebase/firebase-functions-test#325 · 3 commenti · 3 reazioni ·
I maintainer di solito rispondono entro 8 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
firebase/firebase-functions-test#281 · 2 commenti ·
I maintainer di solito rispondono entro 8 giorni
-
triaged type: feature request
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
firebase/firebase-functions-test#218 · 2 commenti ·
I maintainer di solito rispondono entro 8 giorni
-
firebase-functions/v2/scheduler onSchedule is not supported by the wrapperForse già presa @alexandercerutti l’ha presa 362 giorni fa. Apertatriaged type: feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
firebase/firebase-functions-test#210 · 2 commenti · 9 reazioni ·
I maintainer di solito rispondono entro 8 giorni
Tutte le issue di firebase/firebase-functions-test
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
caelestia-dots/caelestia#534 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bobadilla-tech/biasmarket.com#402 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
javvadivijayprasad/sel2pw#28 ·
-
Area: Infrastructure Chore Difficulty: Low Good First Issue Priority: Low
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
DouglasNeuroInformatics/OpenDataCapture#1836 ·
I maintainer di solito rispondono entro 1 giorno
-
Two wording fixes: the init PROVIDER comment and the confirm page's ledeForse già presa @kurtbruns l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno