Skip to content

Releases: surfinzap/translit

2.1.0 // 2022-09-07

07 Sep 08:42
Compare
Choose a tag to compare

This version is a bigger improvement since 2020. Translit now works well for UPPER CASE texts and works better for numerous combinations of soft (я, є, ї, ё, ю) and hard (а, е, і, о, у, и, ы, ї) vowels.

💪 Improvements

  • UPPER CASE SUPPORT. Until now, translit worked well for “lower case” or “Title Case” texts. Since this release, translit also works properly and automatically for “UPPER CASE” texts.
    • ⛔ before: ХЛОПЦІ → ChLOPCІ
    • ✅ now: ХЛОПЦІ → CHLOPCІ
    • ⛔ before: КУРЯТКО → KURJaTKO
    • ✅ now: КУРЯТКО → KUR’ATKO

🐛 Fixes

  • fix mapping of superlative adjectives where a prefix “naj” follows a hard vowel (а, е, і, о, у, и, ы, ї):
    • ⛔ before: najatraktivňišŷj → наятрактівнїшый
    • ✅ now: najatraktivňišŷj → найатрактівнїшый
  • fix mapping of soft vowels (я, є, ї, ё, ю) at the beginning of the word:
    • ⛔ before: jojkaňa → йойканя
    • ✅ now: jojkaňa → ёйканя
  • fix mapping of soft vowels (ja, je, ji, jo, ju) before a hard vowel:
    • ⛔ before: функціёв → funkci’ov
    • ✅ now: функціёв → funkcijov
  • fix mapping of consecutive soft vowels (ja, je, ji, jo, ju):
    • ⛔ before: Ёёёй → Jo’o’oj
    • ✅ now: Ёёёй → Jojojoj
  • fix mapping of “Дъ” + “я, є, ї, ё, ю”:
    • ⛔ before: передъюновый → peredъjunovŷj
    • ✅ now: передъюновый → peredjunovŷj
  • fix mapping of doubled “ďď, ťť, ňň, ľľ”, followed by vowels “a, e, i, o, u”:
    • ⛔ before: oďďilena → одьдїлена
    • ✅ now: oďďilena → оддїлена
    • ⛔ before: життя → žytťa
    • ✅ now: життя → žyťťa
  • fix mapping when “d” or “n” acts as a hard consonant before soft vowels:
    • ⛔ before: injekcia → інєкція
    • ✅ now: injekcia → інъєкція
    • ⛔ before: інъєкція → inъjekcija
    • ✅ now: інъєкція → injekcia
    • ⛔ before: nadjazd → надязд
    • ✅ now: nadjazd → надъязд
    • ⛔ before: надъязд → nadъjazd
    • ✅ now: надъязд → nadjazd
  • improve signalization of hard sign after “b”:
    • ⛔ before: объїсти → obъjisty
    • ✅ now: объїсти → objisty

🔨 Maintenance

  • Bug fixes and improvements required more unit and module tests, so the number of translit tests increased 10-fold with this release. (132 → 1591 tests).
  • Update NPM packages to their latest versions

2.0.7 // 2022-06-25

25 Jun 14:52
Compare
Choose a tag to compare

There are no changes in functionality in this release.

Maintenance

  • Update NPM packages to their latest versions

2.0.6 // 2022-06-25

25 Jun 14:47
Compare
Choose a tag to compare

There are no changes in functionality in this release.

Maintenance

  • Update NPM packages to their latest versions

2.0.5 // 2021-09-04

04 Sep 14:28
Compare
Choose a tag to compare

No changes in functionality in this release, just repackaging the bundle.

2.0.4 // 2021-09-04

04 Sep 13:27
Compare
Choose a tag to compare

No changes in functionality in this release, just bumping the version number in package.json

2.0.3 // 2021-09-04

04 Sep 13:22
Compare
Choose a tag to compare

No changes in functionality in this release.

Maintenance

  • Update test script

2.0.2 // 2021-09-03

03 Sep 10:53
Compare
Choose a tag to compare

No changes in functionality in this release.

Maintenance

  • Update vulnerable packages

2.0.1 // 2020-07-27

27 Jul 11:53
Compare
Choose a tag to compare

There are no changes in functionality in this release

Maintenance

  • Update packages to newest version

2.0.0 // 2019-12-28

28 Dec 15:04
Compare
Choose a tag to compare
  • Refactor translit so it can be used as NPM package (translit-rue) or minified JavaScript library
  • Labeled as major version because it introduces breaking changes (different function names). (View README.md) for details of use.

1.0.2 // 2019-12-23

23 Dec 21:50
Compare
Choose a tag to compare