Skip to content

v1.5.0

Choose a tag to compare

@Sushegaad Sushegaad released this 25 May 18:45
· 20 commits to main since this release

What's new in v1.5.0

🌱 Spring AI Adapter (semantic-privacy-guard-spring-ai)

Drop SPGAdvisor into any Spring AI ChatClient to automatically redact PII before every LLM call — zero config required with Spring Boot auto-configuration.

```java
ChatClient client = ChatClient.builder(chatModel)
.defaultAdvisors(new SPGAdvisor(SemanticPrivacyGuard.create()))
.build();
```

📊 Benchmark Harness

Precision/recall/F1 framework with a 128-sample synthetic labeled dataset covering all 9 PII types. Run with `mvn test -P benchmark` to regenerate `docs/benchmark-results.json`.

🔬 Live Benchmark Results Page

New benchmarks.html GitHub Pages page — dark theme, live JSON fetch, comparison table vs. Presidio.

🎨 Playground Redesign

Fully redesigned playground with sticky header, gradient hero, metrics strip, Spring AI callout, and structured footer.

📚 README Improvements

  • Custom Pattern Registry section
  • JSON/XML Redaction section
  • Spring AI Integration section
  • GENERIC_PII added to PII types table
  • Fixed benchmarks link

🐛 Bug Fix

Fixed CustomPatternTest ML collision where the word "to" (a PII_PREV_KEYWORDS gate word) caused EMP-042731 to be classified as PERSON_NAME instead of GENERIC_PII.

Maven coordinates

```xml

io.github.sushegaad
semantic-privacy-guard
1.5.0

```
EOF
)"