1.6 KiB
1.6 KiB
2.2.0
- Fix #229 data issue
- Add an option
fixChineseSpacingoption for improving performance for none-Chinese languages - Fix #202 replace related issues.
- Update dependencies
2.1.0
- Add
transliterateas a global variable for browser builds. Keeptranslfor backward compatibility.
2.0.0
- CDN file structure changed: https://www.jsdelivr.com/package/npm/transliteration
- The entire module had been refactored in Typescript, with big performance improvements as well as a reduced package size.
- Better code quality. 100% unit tested.
bowersupport was dropped. Please use CDN orwebpack/rollup.- As according to RFC 3986, more characters(
/a-zA-Z0-9-_.~/) are kept as allowed characters in the result forslugify, and it is configurable. - Added
uppercaseas an option forslugify, if is set totruethen the generated slug will be converted to uppercase letters. - Unknown characters will be transliterated as empty string by default, instead of a meaningless
[?].
1.6.6
- Added support for
TypeScript. #77
1.5.0
- Minimum node requirement: 6.0+
1.0.0
- Code had been entirely refactored since version 1.0.0. Be careful when you plan to upgrade from v0.1.x or v0.2.x to v1.0.x
- The
optionsparameter oftransliteratenow is anObject(In 0.1.x it's a stringunknown). - Added
transliterate.configandslugify.config. - Unknown string will be transliterated as
[?]instead of?. - In the browser, global variables have been changed to
window.translandwindnow.slugify. Other global variables are removed.