Skip to content

Releases: jay3332/pilmoji

v2.0.3

05 Jul 14:08
96a0135
Compare
Choose a tag to compare

Adds support for Pillow v10 (#21, #30)

Other changes

  • node_spacing parameter for .text() similar to spacing, for number of pixels between nodes by @WitherredAway in #27

New Contributors

Full Changelog: 2.0.2...2.0.3

v2.0.2

23 Jul 16:24
3f8a3c0
Compare
Choose a tag to compare

Brings requirement patches from Pilmoji 2.0 and 2.0.1:

  • Now compatible with emoji v2 (#13, by @ow0x)
  • Default cache kwarg to be True (patched in 2.0.1)

Full Changelog: 2.0.0...2.0.2

v2.0.0

22 Aug 18:52
Compare
Choose a tag to compare

Complete rewrite of Pilmoji.

Breaking changes:

  • Bump Python version requirement to 3.8+
  • Drop async support (See below)
  • Change signature of Pilmoji.__init__
  • Refactored files

Other non-breaking changes:

  • Properly type Pilmoji
  • Ability to install from Github
  • Multi-character emoji support
  • A lot more emoji sources than just Twemoji, Microsoft, and Apple
    • You will always be a subclass away from making your own source

Why drop async support for pilmoji?

Pilmoji shouldn't have been used asynchronously in the first place - instead,
it was supposed to be used synchronously with your other Pillow scripts, and if you need it to be async,
in an executor.

(Using async Pilmoji in an executor would result in something ugly such as a double await anyways)