Skip to content

chore(ssrf-guard demos): bump 3.0.0 → 3.0.1, drop micrometer-core workaround#8

Merged
jlc488 merged 1 commit into
mainfrom
ssrf-guard-3.0.1-bump
May 23, 2026
Merged

chore(ssrf-guard demos): bump 3.0.0 → 3.0.1, drop micrometer-core workaround#8
jlc488 merged 1 commit into
mainfrom
ssrf-guard-3.0.1-bump

Conversation

@jlc488

@jlc488 jlc488 commented May 23, 2026

Copy link
Copy Markdown
Contributor

Summary

ssrf-guard v3.0.1 just released — it fixes the autoconfig ClassNotFoundException when consumers don't have micrometer-core on the classpath. The workaround dep (io.micrometer:micrometer-core) added to the feign / jdkhttp / okhttp demos can now come out.

Changes

  • All 5 demo build.gradle.kts files → :3.0.1
  • ssrf-guard-feign-demo/build.gradle.kts → remove io.micrometer:micrometer-core (no longer needed)
  • 5 demo READMEs → version-string mentions in module references / "what to read" sections
  • Top-level README.md → Maven Central matrix versions

Verification

Each demo built locally with --refresh-dependencies against the freshly-published Maven Central artifacts:

./gradlew build --refresh-dependencies  # ssrf-guard-demo
./gradlew build --refresh-dependencies  # ssrf-guard-springai-demo
./gradlew build --refresh-dependencies  # ssrf-guard-feign-demo       ← critical: no micrometer-core
./gradlew build --refresh-dependencies  # ssrf-guard-jdkhttp-demo
./gradlew build --refresh-dependencies  # ssrf-guard-okhttp-demo

All green.

Test plan

  • CI matrix passes for all 5 demos
  • Manual sanity: pull main, cd ssrf-guard-feign-demo && ./gradlew bootRun, curl http://localhost:8080/feign/evil → returns "reason":"blocked_host"

…rkaround

ssrf-guard 3.0.1 gates the Micrometer-backed metrics bean by
@ConditionalOnClass(MeterRegistry.class), so the autoconfig boots
cleanly without micrometer-core on the classpath. The workaround
dep added to the feign / jdkhttp / okhttp demos can now come out
— the libraries fall back to NoOpSsrfGuardMetrics on their own.

Touched:
  - All 5 demo build.gradle.kts files → :3.0.1
  - feign demo build.gradle.kts → remove `io.micrometer:micrometer-core`
  - 5 demo READMEs → version-string mentions
  - Top-level README.md → Maven Central matrix versions

Verified locally — every demo built with --refresh-dependencies against
the freshly-published Maven Central artifacts. All smoke tests green.
@jlc488
jlc488 merged commit 76f1564 into main May 23, 2026
7 checks passed
@jlc488
jlc488 deleted the ssrf-guard-3.0.1-bump branch May 23, 2026 06:13
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