Skip to content

Dev 1.x#3

Merged
mercyblitz merged 3 commits into
microsphere-projects:dev-1.xfrom
mercyblitz:dev-1.x
Mar 15, 2026
Merged

Dev 1.x#3
mercyblitz merged 3 commits into
microsphere-projects:dev-1.xfrom
mercyblitz:dev-1.x

Conversation

@mercyblitz
Copy link
Copy Markdown
Contributor

This pull request makes several changes to align the project with a new 1.x development and release branch, updates dependency versions, and improves documentation and test code. The most important changes are grouped below.

Branch and Workflow Updates

  • Updated GitHub Actions workflows in .github/workflows/maven-build.yml and .github/workflows/maven-publish.yml to trigger on the new dev-1.x and release-1.x branches instead of the previous dev, main, and release branches. Also updated the default publish version to 1.0.0-SNAPSHOT and expanded Java version matrix to include Java 8 and 11. [1] [2]
  • Updated the Codecov badge in README.md to track the dev-1.x branch.

Dependency and Build Configuration

  • Changed key dependency versions in microsphere-logging-parent/pom.xml: downgraded slf4j to 1.7.36, set logback to 1.2.12, and fixed junit-jupiter to 5.14.3. Added explicit JUnit BOM and JUnit dependencies to dependency management. [1] [2]
  • Updated the project version in the root pom.xml to 0.1.0-SNAPSHOT and removed the Java version property (was previously set to 17).

Documentation Improvements

  • Revised the module table in README.md to clarify the purpose of each module and reflect the current project structure.

Test Code Improvements

  • In ThrowableLogging.java test class, replaced usage of List.of() and Set.of() with emptyList() and emptySet() for compatibility with older Java versions. [1] [2]
  • Removed unnecessary empty line in the setLoggerLevel method implementation in the same test class.

Use Collections.emptyList/emptySet in ThrowableLogging test for compatibility and to avoid Java 9+ APIs. Update parent POM dependency versions and management: set slf4j to 1.7.36, logback to 1.2.12, bump junit-jupiter to 5.14.3, and consolidate JUnit BOM and junit entries in dependencyManagement. Adjust root POM revision to 0.1.0-SNAPSHOT and remove the explicit java.version property.
Change the Codecov badge URL in README.md to reference the dev-1.x branch instead of dev so the coverage badge points to the correct branch after the branch rename.
Rework the modules table in README: reorder entries for clarity, simplify module descriptions, and add microsphere-logging-logback. Update microsphere-logging-core and microsphere-logging-test descriptions to reflect core features and test extensions (JUnit4/Jupiter). Formatting of the table was adjusted for alignment.
@mercyblitz mercyblitz merged commit f2c38f0 into microsphere-projects:dev-1.x Mar 15, 2026
5 checks passed
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Mar 15, 2026

🤖 Augment PR Summary

Summary: This PR retargets the project to a new dev-1.x/release-1.x branch workflow and updates build/test setup for broader Java compatibility.

Changes:

  • Updated GitHub Actions build/publish workflows to trigger on the new 1.x branches and expanded the build matrix to include Java 8 and 11.
  • Refreshed dependency management in microsphere-logging-parent (notably SLF4J/Logback and JUnit versions) and reorganized JUnit BOM usage.
  • Bumped the root project revision to 0.1.0-SNAPSHOT and removed the explicit java.version property.
  • Updated README badges/module table to reflect the new branch/module layout.
  • Adjusted test code to avoid List.of()/Set.of() for Java 8 compatibility.

Technical Notes: Workflow and dependency changes appear aimed at supporting older JDKs while aligning release automation with the new 1.x branch strategy.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

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

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

matrix:
java: [ '17' , '21' , '25' ]
java: [ '8', '11' , '17' , '21' ,' 25' ]
steps:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The Java matrix includes ' 25' with a leading space, which will be passed verbatim to actions/setup-java and is likely to make that matrix entry fail to resolve a JDK version.

Severity: high

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

throw new RuntimeException("For testing...");
}
}
} No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This file now has no trailing newline (\ No newline at end of file), which can cause noisy diffs and may fail formatting/checkstyle rules if enforced in CI.

Severity: low

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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