Skip to content

chore(main): release 0.3.8#283

Merged
ishymko merged 1 commit intomainfrom
release-please--branches--main--components--sdk
Jan 15, 2026
Merged

chore(main): release 0.3.8#283
ishymko merged 1 commit intomainfrom
release-please--branches--main--components--sdk

Conversation

@a2a-bot
Copy link
Contributor

@a2a-bot a2a-bot commented Dec 23, 2025

🤖 I have created a release beep boop

0.3.8 (2026-01-15)

⚠ BREAKING CHANGES

  • use ProtoJSON for REST transport (#292)

Features

  • use case-insensitive transport protocol name comparison in ClientFactory (5246067)

Bug Fixes

  • add typesVersions to support legacy module resolution (#288) (6499e29)
  • use ProtoJSON for REST transport (#292) (d2efc4c)

This PR was generated with Release Please. See documentation.

@a2a-bot a2a-bot requested a review from a team as a code owner December 23, 2025 07:22
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @a2a-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request is an automated release for version 0.4.0 of the @a2a-js/sdk. It primarily updates the project's version number across configuration files and documents a new feature that enhances the ClientFactory by making transport protocol name comparisons case-insensitive, improving the robustness and flexibility of protocol handling.

Highlights

  • New Release: This pull request introduces version 0.4.0 of the @a2a-js/sdk.
  • Feature Addition: The new release includes a feature that enables case-insensitive comparison of transport protocol names within the ClientFactory.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

🧪 Code Coverage

⬇️ Download Full Report

No coverage changes.

Generated by coverage-comment.yml

Copy link
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 is for the 0.4.0 release. The version bumps and changelog updates are correct.

The main feature of this release is case-insensitive transport protocol name comparison. I've reviewed the implementation for this feature in src/client/factory.ts (which is not in this PR's diff) and found a critical issue.

The new CaseInsensitiveMap does not normalize keys provided in its constructor. This happens in createFromAgentCard at line 102. This will cause transport matching to fail if protocol names have different casing. I recommend fixing this before the release by adding a constructor to CaseInsensitiveMap that normalizes keys on initialization.

// Suggested fix for CaseInsensitiveMap in src/client/factory.ts
constructor(entries?: readonly (readonly [string, T])[] | null) {
  super();
  if (entries) {
    for (const [key, value] of entries) {
      this.set(key, value); // Uses the overridden set method
    }
  }
}

I also recommend adding a test case for CaseInsensitiveMap that constructs it with entries having keys with different casing to ensure they are handled correctly.

Additionally, the order of transports in createFromAgentCard at line 102 should be reviewed. The preferredTransport should probably be processed last to ensure it has priority over any case-insensitive duplicates in additionalInterfaces.

Since the file is not in the diff, I'm providing this feedback here. I've found no other issues.

@a2a-bot a2a-bot changed the title chore(main): release 0.4.0 chore(main): release 0.3.8 Dec 23, 2025
@a2a-bot a2a-bot force-pushed the release-please--branches--main--components--sdk branch from 8ab27c2 to dc9d65d Compare December 23, 2025 07:30
@a2a-bot a2a-bot force-pushed the release-please--branches--main--components--sdk branch 5 times, most recently from bdeec34 to d744f0d Compare January 14, 2026 08:49
@a2a-bot a2a-bot force-pushed the release-please--branches--main--components--sdk branch from d744f0d to c81d847 Compare January 15, 2026 07:48
@ishymko ishymko merged commit 7f8bb6b into main Jan 15, 2026
15 checks passed
@ishymko ishymko deleted the release-please--branches--main--components--sdk branch January 15, 2026 09:32
@a2a-bot
Copy link
Contributor Author

a2a-bot commented Jan 15, 2026

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants