Skip to content

fix(bom): include falco-migration and check its api against the last release - #114

Open
TheMeinerLP wants to merge 1 commit into
mainfrom
fix/bom-include-migration
Open

TheMeinerLP wants to merge 1 commit into
mainfrom
fix/bom-include-migration

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Contributor

Proposed changes

falco-migration has been published to the OneLiteFeather repository with every release since 2.0.0, yet the project still treated it as unreleased: the BOM did not pin it, so consumers had to state its version on a separate dependency line, and the API compatibility check skipped it, so a breaking change to its public types would have shipped unnoticed. The README and several docs pages also told readers it had no release.

This makes falco-migration a regular module:

  • falco-bom now pins it next to falco-anvil, falco-light and falco-instance.
  • The API check now covers it. Its baseline is 3.0.2: the shared baseline 1.0.0 predates the module's first release (2.0.0), so a module can now set its own baseline through apiBaselineVersion.<module> in gradle.properties. The build-setup page documents this.
  • The README and the docs no longer call the module unreleased, and the build how-to declares it through the BOM like the other modules.

Verified locally: :falco-migration:checkApiCompatibility compares against 3.0.2 and passes, :falco-anvil:checkApiCompatibility still compares against 1.0.0 and passes. Renaming a public method in MigrationContext made the migration check fail as expected, and reverting it made it pass again. The generated BOM POM lists falco-migration.

Follow-up, not in this PR: the guard for gradle/api-breaks.properties still compares the file's baseline key with the shared apiBaselineVersion, so a future break exception for falco-migration would need that guard to respect the per-module baseline.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Performance change (behaviour unchanged, cost changed)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING.md
  • The title of this pull request is a Conventional Commit
  • I have added tests that prove my fix is effective or that my feature works — not applicable, build configuration only; verified through the API check and a deliberate break (see above)
  • Every new or changed class and method carries Javadoc — no Java sources changed
  • I have not written @NotNull
  • ./gradlew build is green locally — targeted tasks only (checkApiCompatibility for migration and anvil, BOM POM generation); CI runs the full build
  • I have added necessary documentation (if appropriate)

@TheMeinerLP
TheMeinerLP requested a review from a team as a code owner November 24, 2026 12:00
@github-actions

Copy link
Copy Markdown
Contributor

Test results

  340 files    340 suites   8m 53s ⏱️
1 103 tests 1 102 ✅ 1 💤 0 ❌
3 331 runs  3 329 ✅ 2 💤 0 ❌

Results for commit 2bdc93e.

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.

1 participant