Repository navigation
fix(bom): include falco-migration and check its api against the last release - #114
Open
TheMeinerLP wants to merge 1 commit into
Open
TheMeinerLP wants to merge 1 commit into
TheMeinerLP wants to merge 1 commit into
Conversation
Contributor
Test results 340 files 340 suites 8m 53s ⏱️ Results for commit 2bdc93e. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
falco-migrationhas 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-migrationa regular module:falco-bomnow pins it next tofalco-anvil,falco-lightandfalco-instance.apiBaselineVersion.<module>ingradle.properties. The build-setup page documents this.Verified locally:
:falco-migration:checkApiCompatibilitycompares against 3.0.2 and passes,:falco-anvil:checkApiCompatibilitystill compares against 1.0.0 and passes. Renaming a public method inMigrationContextmade the migration check fail as expected, and reverting it made it pass again. The generated BOM POM listsfalco-migration.Follow-up, not in this PR: the guard for
gradle/api-breaks.propertiesstill compares the file'sbaselinekey with the sharedapiBaselineVersion, so a future break exception forfalco-migrationwould need that guard to respect the per-module baseline.Types of changes
Checklist
@NotNull./gradlew buildis green locally — targeted tasks only (checkApiCompatibilityfor migration and anvil, BOM POM generation); CI runs the full build