You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+70-9
Original file line number
Diff line number
Diff line change
@@ -8,45 +8,77 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe
8
8
9
9
# Changelog
10
10
11
-
The latest published Parley release is [0.2.0](#020---2024-10-10) which was released on 2024-10-10.
12
-
You can find its changes [documented below](#020---2024-10-10).
11
+
The latest published Parley release is [0.3.0](#030---2025-02-27) which was released on 2025-02-27.
12
+
You can find its changes [documented below](#030---2025-02-27).
13
13
14
14
## [Unreleased]
15
15
16
16
This release has an [MSRV] of 1.82.
17
17
18
-
### Added
18
+
##[0.3.0] - 2025-02-27
19
19
20
-
#### Fontique
20
+
This release has an [MSRV] of 1.82.
21
21
22
-
-`FontStretch`, `FontStyle`, and `FontWeight` get helper functions `from_fontconfig` ([#212][] by [@waywardmonkeys][])
22
+
### Added
23
23
24
24
#### Parley
25
25
26
26
-`Generation` on `PlainEditor` to help implement lazy drawing. ([#143] by [@xorgy])
27
27
- Support for preedit for input methods in `PlainEditor` ([#192][], [#198][] by [@tomcur][])
28
28
-`PlainEditor` method to get a cursor area for use by the platform's input method ([#224][] by [@tomcur][])
29
29
-`Layout` methods to calculate minimum and maximum content widths. ([#259][] by [@wfdewith][])
30
-
31
-
### Changed
30
+
-`PlainEditor` now implements `Clone` ([#133][] by [@nicoburns])
31
+
- Navigation and byte selection operations for `PlainEditor`. ([#146][] by [@xorgy])
32
+
- AccessKit integration ([#166][] by [@mwcampbell])
33
+
-`first_style` method to `Cluster` ([#264][] by [@nicoburns])
32
34
33
35
#### Fontique
34
36
35
-
- Breaking change: `Stretch`, `Style`, and `Weight` renamed to `FontWidth`, `FontStyle`, `FontWeight` ([#211][], [#223][] by [@waywardmonkeys][])
37
+
-`FontStretch`, `FontStyle`, and `FontWeight` get helper functions `from_fontconfig` ([#212][] by [@waywardmonkeys][])
38
+
- Impl `bytemuck` traits for `GenericFamily` ([#213][] by [@waywardmonkeys][])
39
+
40
+
### Changed
36
41
37
42
#### Parley
38
43
44
+
- Breaking change: The cursor API has been completely reworked ([#170][] by [@dfrg])
45
+
- Breaking change: `PlainEditor`s API is now method-based rather than enum based ([#154][] by @mwcampbell)
39
46
- Breaking change: `PlainEditor`'s semantics are no longer transactional ([#192][] by [@DJMcNab][])
40
47
- Breaking change: `Alignment::Start` and `Alignment::End` now depend on text base direction.
41
48
`Alignment::Left` and `Alignment::Right` are introduced for text direction-independent alignment. ([#250][] by [@tomcur][])
42
49
- Breaking change: `Layout` is no longer `Sync`. ([#259][] by [@wfdewith][])
50
+
- Breaking change: `PlainEditor`'s width is now `Option<f32>` rather than `f32` ([#137][] by [@nicoburns])
51
+
- Breaking change: Make alignment when free space is negative configurable ([#241][] by [@nicoburns])
52
+
53
+
#### Fontique
54
+
55
+
- Breaking change: `Stretch`, `Style`, and `Weight` renamed to `FontWidth`, `FontStyle`, `FontWeight` ([#211][], [#223][] by [@waywardmonkeys][])
56
+
- Depend on `read-fonts` instead of `skrifa` ([#162][] by [@nicoburns][])
43
57
44
58
### Fixed
45
59
46
60
#### Parley
47
61
48
62
- Fix alignment of right-to-left text. ([#250][], [#268][] by [@tomcur][])
49
63
- Performing line breaking or aligning a layout again, after justified alignment had been applied previously, now lead to the correct results. ([#271][] by [@tomcur][])
64
+
- Fix placement of inline boxes ([#163][] by [@spirali][])
65
+
- Cursor position for lines that are not left-aligned ([#169][] by [@mwcampbell])
66
+
- Fix `Cursor::from_point` to use the line's offset ([#176][] by [@DJMcNab])
67
+
- Fix off-by-one error in `PlainEditor::cursor_at` ([#187][] by [@tomcur])
68
+
- Fix binary search in `Layout::line_for_offset` ([#188][] by [@tomcur])
69
+
- Fix whitespace collapsing at the start of inline spans ([#191][] by [@nicoburns])
70
+
- Fix collapsing selection ([#201][] by [@tomcur])
71
+
- Ignore affinities in `Selection::is_collapsed` ([#202][] by [@nicoburns])
72
+
- Misc. inline box layout fixes ([#207][] by [@nicoburns])
73
+
- Allow Bidi `base_level` to be determined from text ([#245][] by [@nicoburns])
74
+
- Fix linebreaking for lines without text runs ([#249][] by [@wfdewith])
75
+
- Correctly calculate trailing whitespace for all lines ([#256][] by [@wfdewith])
76
+
- Strip whitespace following a newline when whitespace collapsing is enabled ([#254][] by [@nicoburns])
77
+
- Account for inline boxes when collapsing whitespace after newlines ([#280][] by [@nicoburns])
78
+
79
+
#### Fontique
80
+
81
+
- Skip adding font family as fallback if it has zero coverage for given script ([#182][] by [@richardhozak]
50
82
51
83
## [0.2.0] - 2024-10-10
52
84
@@ -103,7 +135,9 @@ This release has an [MSRV] of 1.70.
0 commit comments