ack_firebase_ai 1.0.1
ack_firebase_ai: ^1.0.1 copied to clipboard
Firebase AI (Gemini) schema converter for ACK validation library
1.0.1 #
- See release notes for details.
1.0.0 #
- See release notes for details.
1.0.0-beta.12 #
Added #
- Added
toFirebaseAiResponseJsonSchema()for Firebase AI'sGenerationConfig.responseJsonSchemapath. - Added an opt-in live Firebase AI contract test for real
responseJsonSchemageneration and ACK validation. - Added live-test configuration for Gemini Developer API vs Vertex AI backends, Firebase app credentials, location, and model override.
- Added committed Firebase AI
responseJsonSchemagolden fixtures and a fixture generator so converter coverage runs without Firebase credentials. - Added Firebase SDK
Schema.toJson()andJSONSchema.toJson()native fixture corpora with adapter capability classifications.
Changed #
- Target Firebase AI
^3.12.1and models that support JSON Schema structured output. - Default Firebase AI examples and live tests to
gemini-3.5-flash. - Require
ack^1.0.0-beta.12for the sealedAckSchemaModeladapter boundary. - Keep
firebase_aiand Flutter as explicit package dependencies so package tests and workspace orchestration use the Firebase AI SDK runtime.
Removed #
- Removed typed Firebase AI
Schemaconversion APIs. UsetoFirebaseAiResponseJsonSchema()withGenerationConfig.responseJsonSchema.
1.0.0-beta.11 #
- See release notes for details.
1.0.0-beta.10 #
- See release notes for details.
1.0.0-beta.9 #
- See release notes for details.
1.0.0-beta.8 #
- See release notes for details.
1.0.0-beta.7 #
- See release notes for details.
1.0.0-beta.5 - 2026-01-14 #
Changed #
- Updated dependency on ack to v1.0.0-beta.5
- Updated
metaandtestdependencies to latest versions (#56)
1.0.0-beta.3 - 2025-10-24 #
Changed #
- Major refactoring: Consolidated package structure from 3 files to 1 file (
ack_firebase_ai.dart) - Removed
src/directory - all implementation now in single library file - Removed
ConversionContextclass - cyclic detection unnecessary for immutable schemas - Removed
FirebaseAiSchemaConverterclass wrapper - now uses top-level functions - Improved
TransformedSchemahandling with direct override application - Better JSON Schema integration - convert once and reuse metadata
- Package complexity reduced by 26% (379 lines to 280 lines to 352 lines final)
- Inlined nullable checks for clarity
Fixed #
TransformedSchemaconversion now works correctly with proper override handling- Union types (
anyOf) now fully supported via updated JSON Schema implementation - Discriminated unions (
DiscriminatedObjectSchema) now properly supported - Typeless schemas now handled correctly
additionalPropertiesparsing fixed to accept{}astrue
Removed #
schema_from_json.dartand related tests (unused functionality)ConversionContextclass (86 lines)- Complex
overrideJsonparameter pattern - Separate extension and converter files
Improved #
- Performance: Fewer JSON Schema conversions, more direct conversion path
- Maintainability: Simpler structure (3 files to 1), easier to navigate
- Code quality: Removed unnecessary abstractions and indirection
- Test coverage: All 82 tests passing (was 45+)
- Documentation: Single source of truth with comprehensive inline docs
1.0.0-beta.2 - 2025-10-16 #
Changed #
- Updated Firebase AI converter output to match the SDK integration style at the time.
- Added direct dependency on
firebase_aiand aligned converter/tests with that SDK API. - Updated test suite and documentation to reflect Firebase AI schema limitations at the time.
Fixed #
- Preserve enum and optional property metadata.
1.0.0-beta.1 - 2025-01-16 #
- See release notes for details.