Skip to content

Conversation

@yoikawa
Copy link
Contributor

@yoikawa yoikawa commented Oct 24, 2025

Candidate for Release 1.3.0

Highlights

  • Build: Targets JDK 17. This may be a breaking change for consumers still on older JDKs.
  • Testing: Adds JUnit 5 (Jupiter). JUnit 4.x remains temporarily for transition.
  • I18n: Adds Basque (eu) support. See src/main/java/com/force/i18n/grammar/impl/BasqueDeclension.java for details.

Upgrade notes

  • Ensure your build and runtime use JDK 17+.
  • For tests: migrate to JUnit 5 (Jupiter) in new code; JUnit 4 remains supported during the transition.

References

  • Implementation: BasqueDeclension.java
  • Parser updates: BasqueAdjectiveRefTag.java, related parser changes
  • Tests: BasqueDeclensionTest, BasqueAdjectiveRefTagTest, BasqueCaseRenderingTest, BasqueDictionaryParsingTest

* @return a sample dictionary file containing the xml snippet inside the "names" tag
*/
public static String getSampleGrammarFile(@Nullable String grammar) {
public static String getSampleGrammarFile(String grammar) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason we're removing this? Does it have to do with the dependency/JDK version upgrades?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for flagging this. It’s not tied to the JDK or dependency upgrades. I removed @Nullable to avoid signaling a nullness policy we haven’t standardized across the codebase. Today, nullness annotations leak in indirectly (e.g., the checkerframework via Guava), but we don’t consistently apply them nor run a nullness checker in CI.

To keep behavior unchanged—this method is used by tests—we still accept null and guard explicitly. I’d prefer to address nullness holistically in a follow-up: choose a single annotation library, enable the checker, and audit the public API surface. If you’d rather keep @Nullable here for interim clarity, I can revert in this PR and do the broader cleanup in a dedicated branch.

<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>${icu4j.version}</version>
<version>75.1</version>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this be pulled into a property variable?

@yoikawa yoikawa requested a review from cthinkel October 28, 2025 00:24
@yoikawa yoikawa merged commit 6166aba into main Oct 28, 2025
4 checks passed
@yoikawa yoikawa deleted the add-basque branch October 28, 2025 23:04
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.

3 participants