Skip to content

Release v1.1.0#6

Merged
grrtbrtr merged 6 commits into
mainfrom
release/1.1.0
May 11, 2026
Merged

Release v1.1.0#6
grrtbrtr merged 6 commits into
mainfrom
release/1.1.0

Conversation

@grrtbrtr
Copy link
Copy Markdown
Owner

Summary

Introducing significant performance optimizations and finalizing the tool's infrastructure for CI/CD integration.

Key changes

Performance & core logic

  • Algorithm optimization: Refactored the key comparison logic to use Set.has in stead of Array.includes for lookups.
    • Improved time complexity from $O(n^2)$ to $O(n)$
    • Significantly reduced execution time when comparing large JSON datasets or deeply nested structures
  • Modern ESM standards: Added exports and sideEffects: false to package.json for better tree-shaking and module resolution.

CI/CD & reliability

  • Predictable exit codes: Updated bin/cli.js to return exit code 1 on usage errors (insufficient arguments). This ensures automated pipelines fail fast if misconfigured.
  • Error handling: Improved terminal feedback for common file system errors (ENOENT) and JSON parsing issues.

Documentation & discoverability

  • Metadata expansion: Added high-intent keywords (i18n-audit, schema-drift, localization-tools) to improve organic reach on NPM.
  • Visual trust: Added status badges (Build, NPM, License, Bundle Size) and synchronized README examples with actual CLI output.
  • Integration guide: Included a new section on using the tool as a quality gate in GitHub Actions.

Gerrit Bertier and others added 6 commits May 4, 2026 13:06
- Refactor computeKeyDiff to convert key arrays into Sets
- Improve time complexity from O(n^2) to O(n)
- Reduce execution time for large JSON datasets

Co-authored-by: Gerrit Bertier <gerrit.bertier@vanheede.com>
@grrtbrtr grrtbrtr merged commit dd567fc into main May 11, 2026
1 check passed
@grrtbrtr grrtbrtr deleted the release/1.1.0 branch May 11, 2026 10:02
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