v1.0.0
Breaking changes:
- Rewrite the
TypeScriptGetDecoratorRendererForGoogleFirestoreandTypeScriptGetDecoratorRendererForGoogleSpannerworkspace functions (and the underlyingGoogleFirestoreRenderer/GoogleSpannerRendererclasses) asModelGenerateTypeScriptDecoratorsForGoogleFirestoreandModelGenerateTypeScriptDecoratorsForGoogleSpanner, following the@causa/workspace-typescriptbreaking change that replacesTypeScriptGetDecoratorRendererwith the schema-basedModelGenerateTypeScriptDecoratorsfunction.
Features:
- Add the
google.pubSub.backfillPublishOptionsconfiguration to override the Pub/Sub publish options used when backfilling events. - Add the
google.cloudRun.eventBackfillServiceCloneConfigconfiguration. When set, project-scoped backfill triggers deploy a temporary internal-ingress copy of the Cloud Run service (one per trigger) instead of sending events to the live service, isolating the backfill load and scaling from production. TheminInstanceCount,maxInstanceCount, andrequestConcurrencyproperties override the scaling of the copy, which is deleted during backfill cleanup. - Implement
EventTopicBrokerWaitForProcessingfor Pub/Sub, polling Cloud Monitoring metrics until all temporary subscriptions of the targeted backfill are drained. - Add the
google.firestore.emulator.port,google.pubSub.emulator.port,google.firebaseStorage.emulator.port,google.identityPlatform.emulator.port,google.spanner.emulator.grpcPort, andgoogle.spanner.emulator.httpPortconfigurations to override the host ports bound by the emulators, enabling several workspaces to run their emulators in parallel on the same machine. - Implement
ModelSchemaExtractDatabasefor thegoogle.spannerandgoogle.firestoreengines, deriving database bindings from thegoogleSpannerTableandgoogleFirestoreCollectionCausa extensions.
Chore:
- Adapt to
@causa/workspace's removal of thecontextargument from_calland_supports. The context is now read fromthis._contextin all function implementations and deferred calls. - Adapt to
@causa/workspace-core's removal ofBackfillEvent.key. The Pub/Sub publisher no longer forwards an ordering key. - Replace
js-yamlwithyamlin the schema transformation script.