diff --git a/CHANGELOG.md b/CHANGELOG.md index d2d2e4b..e20b25e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 2.1.6 + +### Documentation +- Rewrote the pub.dev package description and keywords with terms developers actually search for, to improve discoverability. +- Removed the stale "What's New in 2.0.0" section from the README — already covered by Features/How it Works and the CHANGELOG. +- Added a pub.dev like / GitHub star callout to the README. + ## 2.1.5 ### Data diff --git a/README.md b/README.md index 53d4a0a..d7e6717 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,13 @@ A high-performance Flutter package for filtering offensive language (profanity) and detecting phone numbers. Powered by the **Aho-Corasick** algorithm for `O(N)` single-pass scanning across 80+ languages and 55,000+ curated words. +> 💙 Find SafeText useful? A [like on pub.dev](https://pub.dev/packages/safe_text) or [star on GitHub](https://github.com/master-wayne7/safe_text) helps others discover it. + --- ## Table of Contents - [Table of Contents](#table-of-contents) -- [What's New in 2.0.0](#whats-new-in-200) - [Features](#features) - [Installation](#installation) - [Quick Start](#quick-start) @@ -42,17 +43,6 @@ A high-performance Flutter package for filtering offensive language (profanity) --- -## What's New in 2.0.0 - -- **Aho-Corasick Algorithm** — Near-instant multi-pattern search in `O(N)` complexity. -- **Up to 20x faster** than the legacy regex-loop approach. -- **80+ languages** — Full human-readable enum names (e.g., `Language.hindi`, `Language.spanish`). -- **Modular API** — `SafeTextFilter` for profanity, `PhoneNumberChecker` for phone numbers. -- **Memory efficient** — Single-pass string building via `StringBuffer`. -- **Leet-speak normalization** — Catches bypasses like `f@ck` or `b4d` with zero extra overhead. - ---- - ## Features - Scans thousands of bad words in a single pass of the input text. @@ -77,7 +67,7 @@ Or manually add it to your `pubspec.yaml`: ```yaml dependencies: - safe_text: ^2.1.5 + safe_text: ^2.1.6 ``` Then run: diff --git a/pubspec.yaml b/pubspec.yaml index 2347774..3d72d23 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: safe_text -description: A Flutter package for filtering out bad words from text inputs and detecting phone numbers in various formats including multiplier words. -version: 2.1.5 +description: A fast Flutter profanity & swear word filter with phone number detection, powered by Aho-Corasick. Supports 80+ languages and 55,000+ curated bad words. +version: 2.1.6 homepage: https://github.com/master-wayne7/safe_text repository: https://github.com/master-wayne7/safe_text issue_tracker: https://github.com/master-wayne7/safe_text/issues @@ -44,18 +44,18 @@ topics: - flutter keywords: - - safe-text + - swear-words - profanity-filter - bad-words - content-moderation - - phone-number + - text-filter license: MIT maintainers: - master-wayne7 screenshots: - - description: 'SafeText 2.0 Banner' + - description: "SafeText 2.0 Banner" path: assets/image/safeText.png support: