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