v0.6.0
Noteworthy changes
- BudouX Web Components don't use Shadow DOM anymore. The segmentation results will be reflected in their Light DOM, where the global styles can apply. #291
- Phrases are segmented by ZWSP (U+200B) not
<wbr>
for a better screen reader experience. #346 - You can insert non-breaking markup (
<nobr
andwhite-space: nowrap
) when you have a phrase you don't want to break. #240
What's Changed
- Remove dependency to gts by @tushuhei in #187
- Add
Parser.parseBoundaries
for JavaScript by @kojiishi in #234 - Replace
slice
withsubstring
by @kojiishi in #241 - Support non-breaking content (
<nobr>
andwhite-space: nowrap
) by @kojiishi in #240 - Make scripts run without install by @tushuhei in #239
- Add permissions to style check action by @tushuhei in #246
- Specify maxsplit to handle colon symbols properly by @tushuhei in #247
- Support non-breaking content in java by @kojiishi in #248
- Support non-breaking content in Python by @kojiishi in #251
- Nit: use get_nowait instead of get by @tushuhei in #253
- Remove utils from JavaScript module by @tushuhei in #262
- Move hasChildTextNode to HTML Processor by @tushuhei in #274
- Fix mypy issues by @tushuhei in #308
- Fix Python dependency issues by @tushuhei in #316
- Avoid inserting separators to where the source has one by @kojiishi in #342
- [Web Components] Use Light DOM instead of Shadow DOM by @tushuhei in #291
- Use ZWSP instead of WBR by @tushuhei in #346
- [Java] Use ArrayDeque instead of Stack by @tushuhei in #349
- Rename applyElement to applyToElement by @tushuhei in #348
- Update README to use ZWSP by @tushuhei in #347
- Version up to 0.6.0 by @tushuhei in #343
Full Changelog: v0.5.2...v0.6.0