Skip to content

Commit f92a385

Browse files
committed
Update readme
1 parent d470ebd commit f92a385

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,16 @@ to your `Cargo.toml`:
5555
[dependencies]
5656
unicode-width = "0.1.11"
5757
```
58+
59+
60+
## Changelog
61+
62+
63+
### 0.2.0
64+
65+
- Treat `\n` as width 1 (#60)
66+
- Treat ambiguous `Modifier_Letter`s as narrow (#63)
67+
- Support `Grapheme_Cluster_Break=Prepend` (#62)
68+
- Support lots of ligatures (#53)
69+
70+
Note: If you are using `unicode-width` for linebreaking, the change treating `\n` as width 1 _may cause behavior changes_. It is recommended that in such cases you feed already-line segmented text to `unicode-width`. In other words, please apply higher level control character based line breaking protocols before feeding text to `unicode-width`. Relying on any character producing a stable width in this crate is likely the sign of a bug.

0 commit comments

Comments
 (0)