Skip to content

Commit 8965d62

Browse files
committed
Unicode 17
1 parent 1352b28 commit 8965d62

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 3.2.0 (unreleased)
4+
5+
- Unicode 17
6+
37
## 3.1.5
48

59
- Cache Emoji support level for performance reasons #30, patch by @Earlopain:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Determines the monospace display width of a string in Ruby, which is useful for all kinds of terminal-based applications. The implementation is based on [EastAsianWidth.txt](https://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt), the [Emoji specfication](https://www.unicode.org/reports/tr51/) and other data, 100% in Ruby. It does not rely on the OS vendor ([wcwidth](https://github.com/janlelis/wcswidth-ruby)) to provide an up-to-date method for measuring string width in terminals.
44

5-
Unicode version: **16.0.0** (September 2024)
5+
Unicode version: **17.0.0** (September 2025)
66

77
## Gem Version 3 — Improved Emoji Support
88

@@ -188,7 +188,7 @@ See [unicode-x](https://github.com/janlelis/unicode-x) for more Unicode related
188188

189189
## Copyright & Info
190190

191-
- Copyright (c) 2011, 2015-2024 Jan Lelis, https://janlelis.com, released under the MIT
191+
- Copyright (c) 2011, 2015-2025 Jan Lelis, https://janlelis.com, released under the MIT
192192
license
193193
- Early versions based on runpaint's unicode-data interface: Copyright (c) 2009 Run Paint Run Run
194194
- Unicode data: https://www.unicode.org/copyright.html#Exhibit1

data/display_width.marshal.gz

13 Bytes
Binary file not shown.

lib/unicode/display_width/constants.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Unicode
44
class DisplayWidth
55
VERSION = "3.1.5"
6-
UNICODE_VERSION = "16.0.0"
6+
UNICODE_VERSION = "17.0.0"
77
DATA_DIRECTORY = File.expand_path(File.dirname(__FILE__) + "/../../../data/")
88
INDEX_FILENAME = DATA_DIRECTORY + "/display_width.marshal.gz"
99
end

0 commit comments

Comments
 (0)