Skip to content

extract-react-intl-messages v5.0.0 Release

Latest
Compare
Choose a tag to compare
@akameco akameco released this 28 Jul 12:07
· 5 commits to master since this release

extract-react-intl-messages v5.0.0 Release Notes

πŸš€ Major Version Release

We're excited to announce the release of extract-react-intl-messages v5.0.0! This major version brings important infrastructure updates and new features contributed by our amazing community.

⚠️ Breaking Changes

Node.js Version Requirement Update

  • Minimum Node.js version is now v20 (LTS)
  • This change aligns with current Node.js LTS recommendations
  • Please update your Node.js version to v20 or higher before upgrading

πŸŽ‰ New Features & Improvements

Thanks to our dedicated contributors, this release includes several enhancements:

πŸš€ Caching Feature (PR #75 by @lightnet328)

  • New caching system for dramatically improved performance
  • Execution time improvements:
    • No cache: Standard processing time
    • First run with cache generation: Slight overhead for cache creation
    • Subsequent runs with cache: Significantly faster execution
  • Intelligent cache invalidation when source files change
  • Particularly beneficial for large codebases with frequent extractions

🎨 Customizable JSON Formatting (PR #80 by @Nestoro)

  • New --indent option for JSON output formatting
  • Control the indentation of generated JSON files
  • Default remains 2 spaces for backward compatibility
  • Example: --indent 4 for 4-space indentation
  • Useful for teams with different coding standards

πŸ“¦ Installation

npm install --save-dev extract-react-intl-messages@5.0.0
# or
yarn add --dev extract-react-intl-messages@5.0.0

πŸ™ Acknowledgements

Special thanks to all contributors who made this release possible:

  • @lightnet328 for implementing the caching feature (PR #75) - dramatically improving performance for repeated extractions
  • @Nestoro for adding the customizable indent option (PR #80) - enhancing developer experience
  • Community bug reports and feature requests
  • Code contributions and improvements

πŸ“‹ Full Changelog

For a complete list of changes, see the comparison view on GitHub.


Need help with migration? Check out our documentation or open an issue on GitHub.

Found a bug? Please report it on our GitHub Issues page.

  • Merge pull request #126 from akameco/update-deps bc26bd3
  • chore: npm run fmt 5fc022d
  • chore: update ESLint configuration and dependencies c131066
  • chore: update CI workflow to use npm commands 6391775
  • chore: update Node.js version in CI workflow 37cd12f
  • chore: update jest configuration and dependencies 838d141
  • chore: update dependencies and configuration 4e5bd5d
  • chore: format 9838ae6
  • fix: add default indent parameter 0be13c0
  • adjusted readme c98ee6d
  • added indent option 1f1397f
  • docs: update readme.md (#85) 282d381
  • feat: implement caching results feature (#75) bcac5d1
  • docs: add revskill10 as a contributor (#74) 4b68e77
  • Merge pull request #73 from revskill10/patch-1 c5e3267
  • Fix absolute path needed in the run script example 0754df8
  • Merge pull request #72 from akameco/refactor/cli-to-ts 307c46b
  • refactor: cli.jsβ†’cli.ts f2ac812
  • docs(readme): update 211d6d8
  • chore(exampe): add typescript sample 5bc13b9
  • chore(example): add bacis exmaple 3703974
  • Add @lensbart as a contributor c59c436
  • docs: update readme bcfa63b
  • docs: update readme 887fc1b