Skip to content

Release 4.2.0#605

Merged
horgh merged 4 commits intomainfrom
greg/eng-4289
Feb 26, 2026
Merged

Release 4.2.0#605
horgh merged 4 commits intomainfrom
greg/eng-4289

Conversation

@oschwald
Copy link
Member

  • Update Jackson deps to 2.21.1
  • Prepare for 4.2.0 release
  • Fix maven version warning
  • Preparing for 4.2.0

@gemini-code-assist
Copy link

Summary of Changes

Hello @oschwald, 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 primarily focuses on preparing for the 4.2.0 release. It includes essential version updates across project configuration files and documentation, alongside an upgrade of core Jackson dependencies to their latest patch version. Additionally, the build environment's minimum Maven requirement has been adjusted to ensure compatibility and address potential warnings.

Highlights

  • Version Bump: The project version has been updated to 4.2.0 across pom.xml, README.md, and CHANGELOG.md to reflect the new release.
  • Dependency Updates: Jackson dependencies (jackson-core, jackson-databind, jackson-datatype-jsr310, jackson-jr-objects) were upgraded from 2.21.0 to 2.21.1.
  • Build Configuration: The minimum required Maven version for the build was increased from 3.6.3 to 3.8.1, and the JAPICMP baseline version was updated to 4.2.0.
Changelog
  • CHANGELOG.md
    • Added release date '2026-02-26' for version 4.2.0.
  • README.md
    • Updated Maven dependency version from 4.1.0 to 4.2.0.
    • Updated Gradle dependency version from 4.1.0 to 4.2.0.
  • pom.xml
    • Updated project version from 4.1.0 to 4.2.0.
    • Upgraded jackson-core dependency from 2.21.0 to 2.21.1.
    • Upgraded jackson-databind dependency from 2.21.0 to 2.21.1.
    • Upgraded jackson-datatype-jsr310 dependency from 2.21.0 to 2.21.1.
    • Upgraded jackson-jr-objects dependency from 2.21.0 to 2.21.1.
    • Increased required Maven version from 3.6.3 to 3.8.1.
    • Updated JAPICMP baseline version from 4.1.0 to 4.2.0.
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.

Copy link

@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 prepares for the 4.2.0 release by updating version numbers and dependencies. The changes are mostly straightforward. I've added one suggestion to improve dependency management in pom.xml to ensure version consistency across related artifacts and improve maintainability.

Comment on lines +56 to +61
<version>2.21.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.21.0</version>
<version>2.21.1</version>

Choose a reason for hiding this comment

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

medium

To ensure all Jackson dependencies are kept on the same version and to simplify future updates, consider defining the Jackson version as a property in the <properties> section. This property can then be used for all Jackson artifacts.

For example, in <properties>:

<jackson.version>2.21.1</jackson.version>

And in the <dependencies> section:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-core</artifactId>
    <version>${jackson.version}</version>
</dependency>
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>${jackson.version}</version>
</dependency>

Adopting this approach would prevent potential version mismatches between related Jackson artifacts (like jackson-annotations which appears to be on a different version) and make maintenance easier.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is what it says about jackson-annotations correct? It looks like it is on 2.21.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is misleading. jackson-annotations does not have patch releases, probably because it just contains annotations and any change would be a breaking change (but I don't actually know the reasoning).

Comment on lines +56 to +61
<version>2.21.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.21.0</version>
<version>2.21.1</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is what it says about jackson-annotations correct? It looks like it is on 2.21.

<rules>
<requireMavenVersion>
<version>3.6.3</version>
<version>3.8.1</version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, it seems there are newer versions than this still?

Copy link
Member Author

Choose a reason for hiding this comment

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

This just sets the minimum version that the user must use. I use 3.9.11, for instance. I think requiring the latest version would make building/releasing more painful.

I updated it because it was complaining that a plugin needed a newer version than the minimum specified.

I don't know exactly why we are specifying a version ourselves. I didn't dig into the history.

@horgh horgh merged commit 1626128 into main Feb 26, 2026
37 of 38 checks passed
@horgh horgh deleted the greg/eng-4289 branch February 26, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants