Skip to content

Update changelogs and pubspecs.#699

Merged
gspencergoog merged 4 commits intoflutter:mainfrom
gspencergoog:update_changelogs
Feb 7, 2026
Merged

Update changelogs and pubspecs.#699
gspencergoog merged 4 commits intoflutter:mainfrom
gspencergoog:update_changelogs

Conversation

@gspencergoog
Copy link
Collaborator

@gspencergoog gspencergoog commented Feb 6, 2026

Description

This updates the changelogs and pubspec.yaml files in preparation for pushing a release.

Summary of Changes

This pull request prepares for a new release by performing a comprehensive update of package versions, primarily advancing genui and its related integration packages to 0.7.0. It includes necessary dependency updates, revisions to changelog files to document the new release, and minor code adjustments to align with updated APIs, particularly within the genui_dartantic package. Additionally, it refines the theming approach in one example application and clarifies release process documentation.

Highlights

  • Package Version Updates: The genui package and its associated integration packages (genui_a2ui, genui_dartantic, genui_firebase_ai, genui_google_generative_ai) have been updated to version 0.7.0 across various pubspec.yaml files in examples and packages. This includes updates to other related dependencies like dartantic_ai, google_cloud_ai_generativelanguage_v1beta, and google_cloud_protobuf.
  • Changelog Updates: Multiple CHANGELOG.md files have been updated to reflect the new 0.7.0 release, including new fixes, features, and internal changes for genui, and version synchronization notes for other packages.
  • Dartantic Integration Refinement: The genui_dartantic package saw internal changes, including renaming id to callId and name to toolName in DartanticContentConverter for ToolPart creation, and refactoring DartanticContentGenerator to use json_schema_builder for schema definitions, removing the dartantic_schema_adapter.
  • Theming Improvement: The examples/catalog_gallery/lib/main.dart file was updated to use ThemeData.light().copyWith and ThemeData.dark().copyWith for more robust theme management in the MaterialApp.
  • Release Documentation Enhancement: The tool/release/README.md was updated to provide clearer instructions for updating dependencies, including a recommendation to ensure the latest Flutter stable release is used, and an updated example tag for changelog generation.
Changelog
  • examples/catalog_gallery/lib/main.dart
    • Updated MaterialApp theme definition to use ThemeData.light().copyWith and ThemeData.dark().copyWith for improved theme management.
  • examples/catalog_gallery/pubspec.yaml
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
  • examples/custom_backend/pubspec.yaml
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
  • examples/simple_chat/pubspec.yaml
    • Updated genui, genui_firebase_ai, and genui_google_generative_ai dependencies from ^0.6.0 to ^0.7.0.
  • examples/travel_app/pubspec.yaml
    • Updated genui, genui_firebase_ai, and genui_google_generative_ai dependencies from ^0.6.0 to ^0.7.0.
  • examples/verdure/client/pubspec.yaml
    • Updated genui and genui_a2ui dependencies from ^0.6.0 to ^0.7.0.
  • packages/genui/CHANGELOG.md
    • Updated version from 0.7.0 (in progress) to 0.7.0.
    • Added fix: Make ContentGeneratorError be an Exception.
    • Added feature: Define genui parts as extensions of genai_primitives.
    • Added internal change: Enable stricter dynamic-related analysis.
  • packages/genui/pubspec.yaml
    • Updated package version from 0.6.1 to 0.7.0.
  • packages/genui_a2ui/CHANGELOG.md
    • Updated version from 0.6.2 (in progress) to 0.7.0.
    • Added entry: Updated version to match genui 0.7.0.
  • packages/genui_a2ui/example/pubspec.yaml
    • Updated genui and genui_a2ui dependencies from ^0.6.0 to ^0.7.0.
  • packages/genui_a2ui/pubspec.yaml
    • Updated package version from 0.6.1 to 0.7.0.
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
  • packages/genui_dartantic/CHANGELOG.md
  • packages/genui_dartantic/example/pubspec.yaml
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
    • Updated genui_dartantic dependency from ^0.6.0 to ^0.7.0.
    • Updated dartantic_ai dependency from ^2.0.1 to ^3.1.0.
  • packages/genui_dartantic/lib/src/dartantic_content_converter.dart
    • Renamed id to callId and name to toolName when creating dartantic.ToolPart.call and dartantic.ToolPart.result objects.
  • packages/genui_dartantic/lib/src/dartantic_content_generator.dart
    • Removed imports for package:json_schema/json_schema.dart and dartantic_schema_adapter.dart.
    • Added import for package:json_schema_builder/json_schema_builder.dart as jsb.
    • Updated _outputSchema definition to use jsb.S.object instead of JsonSchema.create.
    • Changed inputSchema assignment from adaptSchema(aiTool.parameters) to aiTool.parameters.
  • packages/genui_dartantic/pubspec.yaml
    • Updated package version from 0.6.1 to 0.7.0.
    • Updated dartantic_ai dependency from ^2.2.0 to ^3.1.0.
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
  • packages/genui_firebase_ai/CHANGELOG.md
    • Updated version from 0.6.2 (in progress) to 0.7.0.
    • Added entry: Updated version to match genui package version.
    • Added entry to 0.6.1 section: Updated version to match genui package version.
  • packages/genui_firebase_ai/pubspec.yaml
    • Updated package version from 0.6.1 to 0.7.0.
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
  • packages/genui_google_generative_ai/CHANGELOG.md
    • Updated version from 0.6.2 (in progress) to 0.7.0.
    • Added entry: Updated version to match genui package version.
  • packages/genui_google_generative_ai/pubspec.yaml
    • Updated package version from 0.6.1 to 0.7.0.
    • Updated genui dependency from ^0.6.0 to ^0.7.0.
    • Updated google_cloud_ai_generativelanguage_v1beta dependency from ^0.3.0 to ^0.4.0.
    • Updated google_cloud_protobuf dependency from ^0.3.0 to ^0.4.0.
  • packages/json_schema_builder/CHANGELOG.md
  • tool/release/README.md
    • Updated "Update Dependencies" section to advise checking for the latest Flutter stable release.
    • Updated example tag in instructions from genui-0.6.0 to genui-0.6.1.

gemini-code-assist[bot]

This comment was marked as resolved.

@flutter flutter deleted a comment from gemini-code-assist bot Feb 6, 2026
@gspencergoog gspencergoog requested review from jacobsimionato and polina-c and removed request for jacobsimionato February 6, 2026 23:21
@gspencergoog gspencergoog merged commit a9daf4a into flutter:main Feb 7, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants