Skip to content

chore: bump versions for release#889

Open
jacobsimionato wants to merge 22 commits intoflutter:mainfrom
jacobsimionato:release
Open

chore: bump versions for release#889
jacobsimionato wants to merge 22 commits intoflutter:mainfrom
jacobsimionato:release

Conversation

@jacobsimionato
Copy link
Copy Markdown
Collaborator

Description of Changes

This PR prepares the workspace for a new release cycle by bumping package versions and synchronizing their cross-dependencies.

Specifically:

  • Bumped genui to 0.9.0.
  • Bumped genui_a2a to 0.9.0.
  • Initialized and bumped the new a2ui_core package to 0.1.0.
  • Updated all intra-repo dependencies across the workspace (including all example apps) to point to these new versions.
  • Updated CHANGELOG.md files to document the features, fixes, and breaking changes included in these bumps.
  • Fixed an issue in some example app CMake and Swift files.

Rationale

These bumps reflect the latest batch of updates merged into main, including the structural reorganization that extracted protocol primitives into a2ui_core, which required a breaking minor version bump for the dependent packages before publishing.

Testing/Running Instructions

  1. Checkout the branch locally.
  2. Run dart pub get and flutter pub get to ensure all dependencies resolve correctly.
  3. Verify that the example apps build successfully (e.g. cd examples/travel_app && flutter build linux).

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the genui, genui_a2a, and a2ui_core packages to version 0.9.0 (0.1.0 for core) across the repository and its examples. Feedback was provided regarding a Dart SDK version mismatch in the verdure example and the manual modification of several platform-specific generated files, which should instead be managed by the Flutter tool through pubspec.yaml and dependency synchronization to ensure consistency and prevent build issues.

Comment on lines +23 to +24
genui: ^0.9.0
genui_a2a: ^0.9.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The genui and genui_a2a packages (now at version 0.9.0) require a minimum Dart SDK version of 3.10.0 (as specified in their respective pubspec.yaml files). However, the environment section of this file (line 13) still specifies sdk: ^3.9.2. This mismatch will cause a version solver error when running flutter pub get. Please update the SDK constraint in the environment section to ">=3.10.0 <4.0.0" to match the requirements of the updated dependencies.

)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
jni
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This file is automatically generated by the Flutter tool and should not be modified manually. Manually adding jni to FLUTTER_FFI_PLUGIN_LIST suggests that a required dependency is missing from pubspec.yaml or that the build system is not correctly identifying it. It is recommended to add the necessary package (e.g., package:jni) to your pubspec.yaml so that the Flutter tool can manage the build configuration automatically, ensuring consistency across different development environments.

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin"))
FLTFirebaseAppCheckPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAppCheckPlugin"))
FirebaseAppCheckPlugin.register(with: registry.registrar(forPlugin: "FirebaseAppCheckPlugin"))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This file is marked as "Generated file. Do not edit." Manual modifications to the plugin registrant are discouraged as they will be overwritten when the Flutter tool regenerates the file (e.g., during flutter pub get or a build). If the plugin class name has changed (e.g., from FLTFirebaseAppCheckPlugin to FirebaseAppCheckPlugin), it is better to resolve this by ensuring that the plugin version and platform-specific configurations (like Podfile.lock) are correctly synchronized using flutter pub get and pod update in the macos directory. Additionally, note the inconsistency with FLTFirebaseCorePlugin on the following line, which further highlights the risk of manual edits.

Comment on lines +18 to +19
FirebaseAppCheckPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FirebaseAppCheckPluginCApi"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This is a generated file and should not be modified manually. Furthermore, FirebaseAppCheck is being registered before FirebaseCore. In most Firebase integrations, FirebaseCore should be initialized/registered first as other Firebase plugins depend on it. It is recommended to let the Flutter tool generate this file automatically to ensure the correct registration order and maintainability. This also applies to the manual include added on line 10.

@jacobsimionato jacobsimionato requested a review from polina-c April 24, 2026 04:38
# `a2ui_core` Changelog

## 0.0.1 (in progress)
## 0.1.0
Copy link
Copy Markdown
Collaborator

@polina-c polina-c Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think we should release this package while we did not resolve the question of technologies: #857 (comment)

Let's keep it 'in progress'.

description: Core package for A2UI protocol.
repository: https://github.com/flutter/genui/tree/main/packages/a2ui_core
version: 0.0.1-dev001
version: 0.1.0
Copy link
Copy Markdown
Collaborator

@polina-c polina-c Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's keep it 'dev': we do not want people to take dependency while the question of technologies is not resolved.

Copy link
Copy Markdown
Collaborator

@polina-c polina-c Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created the alternative PR to make things faster: #890

@jacobsimionato, can you review, and, if looks good, merge PR, and release the packages?

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