Releases: bsolomon1124/demoji
Releases · bsolomon1124/demoji
v1.1.0
v1.0.0
This is a backwards-incompatible release with several substantial changes.
The largest change is that demoji now bundles a static copy of Unicode
emoji data with the package at install time, rather than requiring a runtime
download of the codes from unicode.org.
Changes below are grouped by their corresponding
Semantic Versioning identifier.
SemVer MAJOR:
- Drop support for Python 2 and Python 3.5
- The
demojipackage now bundles emoji data that is distributed with the
package at install time, rather than requiring a download of the codes
from the unicode.org site at runtime (closes #23) - As a result of the above change, the following functions are removed
from thedemojiAPI:download_codes()parse_unicode_sequence()parse_unicode_range()stream_unicodeorg_emojifile()
SemVer MINOR:
- The
demoji.DIRECTORYanddemoji.CACHEPATHattributes are deprecated
due to no longer being functionally in used by the package. Accessing them
will warn with aFutureWarning, and these attributes may be removed
completely in a future release demojican now be installed with optionalujsonsupport for faster loading
of emoji data from file (versus the standard library'sjson, which is the
default); usepython -m pip install demoji[ujson]- The dependencies
requestsandcoloramahave been removed completely importlib_resources(a backport module) is now required for Python < 3.7- The
EMOJI_VERSIONattribute, newly added todemoji, is astrdenoting
the Unicode database version in use
SemVer PATCH:
- Fix a typo in
demoji.__all__to properly includedemoji.findall_list() - Internal change: Functions that call
set_emoji_pattern()are now decorated
with a@cache_setterto set the cache - Some unit tests have been removed to update the change in behavior from
downloading codes to bundling codes with install - Update README to reflect bundling behavior