Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Spring Data, Spring Batch, Spring Cloud, Spring Security, Spring GraphQL, and Sp
with source code in individual submodules and can be found on {url-quickref}[GitHub].

image:https://img.shields.io/badge/Java_-21-blue?style=flat-square[Static Badge]
image:https://img.shields.io/gradle-plugin-portal/v/org.springframework.boot?style=flat-square&logo=springboot&label=Spring%20Boot[Gradle Plugin Portal Version]
image:https://img.shields.io/badge/Spring_Boot-3.5.4-blue?style=flat-square&logo=springboot[Spring Boot version]

Choose a reason for hiding this comment

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

medium

While hardcoding the Spring Boot version in the badge makes it accurate for the project's current state, it introduces a maintenance challenge. The project uses Dependabot to keep dependencies current, but it won't update this hardcoded value in the README. This could lead to an inconsistency between the documented version and the actual version used in the code over time.

To ensure the badge remains accurate automatically, you might consider using a GitHub Action to read the version from build.gradle.kts and either update the README directly or publish the version to a JSON file that a dynamic shields.io badge can read.

image:https://img.shields.io/github/license/rashidi/spring-boot-tutorials?style=flat-square&color=blue[GitHub License]
image:https://img.shields.io/github/actions/workflow/status/rashidi/spring-boot-tutorials/gradle-build.yml?style=flat-square&logo=githubactions&color=blue[Gradle Build]
image:https://img.shields.io/sonar/coverage/rashidi_spring-boot-tutorials?server=https%3A%2F%2Fsonarcloud.io&style=flat-square&color=blue[Sonar Coverage]
Expand Down Expand Up @@ -69,3 +69,4 @@ All tutorials are documented in AsciiDoc format and published as an https://anto
|link:web-thymeleaf-xss[Spring Web: Preventing XSS with Thymeleaf] |Prevent Cross-Site Scripting (XSS) attacks in Spring Boot applications using Spring Security and Thymeleaf
|link:modulith[Spring Modulith: Building Modular Monolithic Applications] | Structure Spring Boot applications into well-defined modules with clear boundaries
|===

4 changes: 2 additions & 2 deletions supplemental-ui/partials/footer-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<p>Spring Boot Tutorials by <a href="https://about.me/rashidi.zin">Rashidi Zin</a></p>
<p id="badges">
<img alt="Java version" src="https://img.shields.io/badge/Java_-21-blue?style=flat-square" />
<img alt="Spring Boot version" src="https://img.shields.io/gradle-plugin-portal/v/org.springframework.boot?style=flat-square&logo=springboot&label=Spring%20Boot" />
<img alt="Spring Boot version" src="https://img.shields.io/badge/Spring_Boot-3.5.4-blue?style=flat-square&logo=springboot" />
<img alt="License - Unlicense" src="https://img.shields.io/github/license/rashidi/spring-boot-tutorials?style=flat-square&color=blue" />
</footer>
</footer>
Loading