Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Unicode 16.0 #309

Merged
merged 5 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
emoji
=====

v2.14.0 (2024-10-02)
-----
* Update to Unicode 16.0

v2.13.2 (2024-09-23)
-----
* `typing_extensions` dependency not required on Python 3.9 and higher #303
Expand Down
7 changes: 3 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,11 @@ Developing
$ coverage run -m pytest
$ coverage report

The ``utils/get_codes_from_unicode_emoji_data_files.py`` is used to generate
``unicode_codes/data_dict.py``. Generally speaking it scrapes a table on the
The ``utils/generate_emoji.py`` script is used to generate
``unicode_codes/emoji.json``. Generally speaking it scrapes a table on the
`Unicode Consortium's website <https://www.unicode.org/reports/tr51/#emoji_data>`__
with `BeautifulSoup <http://www.crummy.com/software/BeautifulSoup/>`__
and prints the contents to ``stdout`` as a Python dictionary. For more
information take a look in the `utils/README.md <utils/README.md>`__ file.
For more information take a look in the `utils/README.md <utils/README.md>`__ file.

Check the code style with:

Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The following table lists all versions, the number that is used in :data:`emoji.
the "Data File Comment" column:

.. literalinclude:: ../emoji/unicode_codes/data_dict.py
:start-after: emoji_data_files.py
:start-after: generate_emoji.py
:end-before: """
:caption: Unicode/Emoji Version (emoji/unicode_codes/data_dict.py)
:dedent: 2
2 changes: 1 addition & 1 deletion emoji/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'LANGUAGES',
]

__version__ = '2.13.2'
__version__ = '2.14.0'
__author__ = 'Taehoon Kim, Kevin Wurster'
__email__ = '[email protected]'
# and [email protected], [email protected]
Expand Down
3 changes: 2 additions & 1 deletion emoji/unicode_codes/data_dict.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Data containing all current emoji
Extracted from https://unicode.org/Public/emoji/latest/emoji-test.txt
and https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-variation-sequences.txt
See utils/get_codes_from_unicode_emoji_data_files.py
See utils/generate_emoji.py

+----------------+-------------+------------------+-------------------+
| Emoji Version | Date | Unicode Version | Data File Comment |
Expand All @@ -21,6 +21,7 @@
| Emoji 14.0 | 2021-09-14 | Unicode 14.0 | E14.0 |
| Emoji 15.0 | 2022-09-13 | Unicode 15.0 | E15.0 |
| Emoji 15.1 | 2023-09-12 | Unicode 15.1 | E15.1 |
| Emoji 16.0 | 2024-09-10 | Unicode 16.0 | E16.0 |

http://www.unicode.org/reports/tr51/#Versioning

Expand Down
Loading