Skip to content

gemoji 4.0.0.pre0

Pre-release
Pre-release
Compare
Choose a tag to compare
@mislav mislav released this 05 Jul 09:11
· 49 commits to master since this release

New features πŸ†•

  • Includes all emojis from Unicode 11 and Unicode 12

Breaking changes ⚠️

  • This library no longer ships with the gemoji extract executable nor any scripts to extract emoji PNG fallback images from macOS into your app. For now, obtaining fallback images from one of the available open source emoji sets is left as an exercise to the user.

  • These methods were removed:

    • Emoji.apple_palette
    • Emoji.apple_palette_file
    • Emoji.images_path
  • These Emoji::* constants were made private: VARIATION_SELECTOR_16, ZERO_WIDTH_JOINER, FEMALE_SYMBOL, MALE_SYMBOL, TEXT_GLYPHS

  • The order that emojis are listed in is now dictated by the Unicode spec and is no longer the exact order that emojis appear in in macOS/iOS character palette.

  • Some emoji categories have changed:

    • People β†’ "Smileys & Emotion" + "People & Body"
    • Nature β†’ "Animals & Nature"
    • Foods β†’ "Food & Drink"
    • Activity β†’ "Activities"
    • Places β†’ "Travel & Places"
  • Remove all non-standard ("custom") emojis #158 πŸ”₯

    • :basecamp:
    • :basecampy:
    • :bowtie:
    • :feelsgood:
    • :finnadie:
    • :goberserk:
    • :godmode:
    • :hurtrealbad:
    • :neckbeard:
    • :octocat:
    • :rage1:
    • :rage2:
    • :rage3:
    • :rage4:
    • :shipit:
    • :suspect:
    • :trollface:

Misc. πŸ”§

  • Freeze and dedup string literals when using a modern Ruby version to reduce memory allocations