Skip to content

v1.4.0

Choose a tag to compare

@amargiovanni amargiovanni released this 12 Apr 21:05
· 189 commits to main since this release
e805c89

Codebase Optimization & Comprehensive E2E Coverage

Added

  • Shared useToolState() hook eliminates state save/restore boilerplate across all 36 tool components
  • Shared validateNonEmpty() utility standardizes input validation across 19 tool logic modules
  • ~130 new Playwright E2E tests (357 total) covering option toggles, value verification, edge cases, unicode, boundary conditions, and multi-mode interactions for every tool
  • Missing rclone-password.spec.ts E2E test file

Changed

  • Replaced 10 duplicate language page files with 2 Astro dynamic routes using getStaticPaths() (~116 lines removed)
  • Extracted 460 lines of locale data from CronExpression.tsx into CronPhrases.ts (component drops from 1172 → 707 lines)
  • Converted cards() pattern from plain functions to createMemo in 5 components
  • Converted parsed()/expiry() to createMemo in CsvViewer and JwtDecoder
  • Replaced createEffect with createMemo in PasswordStrength
  • Migrated all 36 tool components from manual onMount/onCleanup to useToolState() hook (net -248 lines)
  • Migrated 19 tool logic files to validateNonEmpty(), consistently using validated.value (trimmed)
  • Extracted beforeEach in 7 E2E test files to reduce boilerplate

Performance

  • Replaced O(n×m) split().join() loop in emoji-shortcode with single-pass regex

Full changelog: v1.3.5...v1.4.0