Skip to content

Commit e5c24a3

Browse files
authored
Merge pull request #117 from kas-gui/push-uuszrpvwkyxo
Add release.yml and prepare 0.9.0
2 parents 9c64638 + 54745d3 commit e5c24a3

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish to crates.io
2+
on:
3+
push:
4+
tags: ['[0-9].[0-9]+.*']
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
environment: release # Optional: for enhanced security
9+
permissions:
10+
id-token: write # Required for OIDC token exchange
11+
steps:
12+
- uses: actions/checkout@v6
13+
- uses: rust-lang/crates-io-auth-action@v1
14+
id: auth
15+
- run: cargo publish
16+
env:
17+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
33
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [0.9.0] — 2026-01-26
6+
7+
- Bump MSRV to 1.88 (#104)
8+
- Bump fontique to 0.7.0 (#106, #107)
9+
- Remove `Range` from pub API (#105)
10+
- Remove fn `TextDisplay::line_range` (#105)
11+
- Add fns `{TextDisplay, Text}::{get_line, lines}` (#105)
12+
- Add fns `Line::{text_range, top, bottom}` (#105)
13+
- Add parameter `max_lines` to fn `measure_height` (#105)
14+
- Add fns `FaceStore::{read_name, name_family, name_subfamily, name_full}` (#110)
15+
- Add struct `LineIterator` (#112)
16+
- Support `serde` for `FamilySelector` and `FontSelector` (#113)
17+
- Fixes for run-breaking and font selection (#104, #106, #107, #110)
18+
519
## [0.8.1] — 2025-09-17
620

721
- Fix sizing of empty lines by prefering to match some font than nothing (#102)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kas-text"
3-
version = "0.8.1"
3+
version = "0.9.0"
44
authors = ["Diggory Hardy <git@dhardy.name>"]
55
edition = "2024"
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)