Skip to content

v1.1.1

Compare
Choose a tag to compare
@masnormen masnormen released this 09 Nov 12:13
· 10 commits to master since this release

Carakan.js v1.1.1 is released! 🎉

⚠️ For existing user: This release is a major release containing breaking changes. Please read the updated README here.

The first stable release of Carakan.js v1.1.1 is here! If you don't even care what's changed and just want to start using it right now, install it via yarn or npm:

yarn add carakanjs

or

npm install carakanjs

What's new

  • Migrated into TypeScript and added a bunch of type definitions
  • Added bundled package for UMD (CJS-compatible) and ESM separately, so Carakan.js now can be used either in Node.js, React applications, or web browsers! 🎉
  • Added ability to turn Aksara Swara feature on/off with useSwara config
  • Added ability to turn Aksara Murda feature on/off with useMurda config
  • Added extensive list of tests using Jest

What's changed/fixed

  • Changed toCarakan() function name into toJavanese()
  • Removed useSwaraMurda options (see above)
  • Changed the options diacritics => useAccents. From now on Carakan.js will use the "accents" terminology instead of "diacritics"
  • Fixed pasangan of "dha" (previously confused with pasangan of Ga Murda) (New: ꦲꦤ꧀ꦝ Old: ꦲꦤ꧀ꦓ)
  • Refactored code to be more readable and use more efficient logic

The functionality doesn't change much from previous version. But this version brings huge changes in type definitions, features, and code readability, as well as refactoring dead/non-efficient logic in the old code.

Full Changelog: v0.5.0...v1.1.1