Skip to content

Releases: Zaid-maker/urdu-text-utils

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 09:46

What's New in v0.2.0

Documentation

  • Add automated performance benchmarks workflow that runs on every push to main and release tags.
  • Add Performance Benchmarks documentation page with real-world benchmark results for all major functions.
  • Benchmark script now supports --json output for automation and programmatic access.
  • Add automated benchmark results to GitHub Release notes on new releases.

Benchmark Results

Function Ops/sec Time/op
normalizeUrdu (short) 65,598 0.015 ms
normalizeUrdu (medium) 20,955 0.048 ms
normalizeUrdu (long) 3,680 0.272 ms
removeDiacritics (short) 1,151,278 0.001 ms
removeDiacritics (diacritics) 248,738 0.004 ms
foldUrdu (short) 71,150 0.014 ms
romanize (short) 55,281 0.018 ms
romanize (medium) 9,937 0.101 ms
romanToUrdu (short) 808,669 0.001 ms
romanToUrdu (medium) 77,223 0.013 ms
searchUrdu (100 items, exact) 679 1.472 ms
searchUrdu (100 items, fuzzy) 196 5.106 ms
sortUrdu (20 words) 2,542 0.393 ms
countWords (medium) 105,625 0.009 ms
countSentences (medium) 114,779 0.009 ms
analyzeUrdu (medium) 14,777 0.068 ms
splitWords (medium) 95,488 0.010 ms
splitSentences (medium) 137,758 0.007 ms
isUrdu (Urdu text) 35,992 0.028 ms
urduRatio (Urdu text) 41,258 0.024 ms
convertNumbers (short) 553,281 0.002 ms
stemUrdu (single word) 83,588 0.012 ms
stemUrduText (medium) 8,864 0.113 ms
formatUrduDate (now) 167,935 0.006 ms
timeAgoUrdu (2 hours ago) 355,796 0.003 ms

Install:

npm install urdu-text-utils@latest

v0.1.10

Choose a tag to compare

@github-actions github-actions released this 30 Aug 19:32

What's New in v0.1.10

Transliteration

  • Expanded ROMAN_VARIANTS with 200+ new entries covering common verb conjugations, nouns, food, body parts, nature, religion, and modern vocabulary.

Documentation

  • Added real-time npm download stats (weekly/monthly) to docs homepage.
  • Added Use Cases & Recipes guide page with real-world integration examples: search autocomplete, CMS processing, form validation, URL slugs, sorting, text analysis, date formatting, stop words, and number conversion.

CI/CD

  • Merged release.yml and prerelease.yml into a single workflow that handles both stable and pre-release tags, fixing npm Trusted Publishing which only allows one workflow per publisher.
  • Added .freebuff/ to .gitignore.

Install:

npm install urdu-text-utils@latest

Pre-release:

npm install urdu-text-utils@alpha

v0.1.10-alpha.0

v0.1.10-alpha.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Aug 18:39

Pre-release v0.1.10-alpha.0. Install with:

npm install urdu-text-utils@alpha

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 30 Aug 12:50
  • Add rule-based Urdu Stemmer module (\stemUrdu, \stemUrduText, \getAffixes).
  • Add morphological restorations for feminine plurals (لڑکیاںلڑکی), hamza plurals (دعاؤںدعا), and Arabic/sound plurals (تعلیماتتعلیم).
  • Add canonical prefix and suffix stripping with short root protection and exception handling.
  • Add canonical constants \URDU_PREFIXES\ and \URDU_SUFFIXES.

v0.1.8

Choose a tag to compare

@Zaid-maker Zaid-maker released this 29 Aug 17:13

Full Changelog: v0.1.7...v0.1.8

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 21 Aug 20:23

Full Changelog: v0.1.6...v0.1.7

v0.1.6

Choose a tag to compare

@github-actions github-actions released this 20 Aug 19:43

Full Changelog: v0.1.5...v0.1.6

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 19 Aug 18:51

Full Changelog: v0.1.4...v0.1.5

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 16 Aug 14:11

Full Changelog: v0.1.3...v0.1.4

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 13 Aug 20:27

Full Changelog: v0.1.2...v0.1.3