Skip to content

Commit a03ec6b

Browse files
committed
0.12.0
1 parent a82573e commit a03ec6b

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,41 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.12.0] - 2024-06-18
9+
10+
### Added
11+
12+
- Cache codepoint support info for monospace fonts
13+
- Store a sorted list of monospace font ids in font system
14+
- Add line ending abstraction
15+
- Horizontal scroll support in Buffer
16+
- Concurrently load and parse fonts
17+
- Add metrics to attributes
18+
- Support expanding tabs
19+
- Add an option to set selected text color
20+
- Add Edit::cursor_position
21+
- Allow layout to be calculated without specifying width
22+
- Allow for undefined buffer width and/or height
23+
- Add method to set syntax highlighting by file extension
24+
25+
### Fixed
26+
27+
- Fix no_std build
28+
- Handle inverted Ranges in add_span
29+
- Fix undo and redo updating editor modified status
30+
- Ensure at least one line is in Buffer
31+
32+
### Changed
33+
34+
- Enable vi feature for docs.rs build
35+
- Convert editor example to winit
36+
- Refactor scrollbar width handling for editor example
37+
- Convert rich-text example to winit
38+
- Only try monospace fonts that support at least one requested script
39+
- Skip trying monospace fallbacks if default font supports all codepoints
40+
- Make vertical scroll by pixels instead of layout lines
41+
- Upgrade dependencies and re-export ttf-parser
42+
843
## [0.11.2] - 2024-02-08
944

1045
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cosmic-text"
33
description = "Pure Rust multi-line text handling"
4-
version = "0.11.2"
4+
version = "0.12.0"
55
authors = ["Jeremy Soller <[email protected]>"]
66
edition = "2021"
77
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)