From 3224daa66f4bdfbdbbb12b8030e7840fb06b543c Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 3 Apr 2023 08:27:28 -0600 Subject: [PATCH] 0.8.0 --- CHANGELOG.md | 33 +++++++++++++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8dacfa9 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,33 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.8.0] - 2023-04-03 + +### Added + +- `FontSystem::new_with_fonts` helper +- Alignment and justification +- `FontSystem::db_mut` provides mutable access to `fontdb` database +- `rustybuzz` is re-exported + +### Fixed + +- Fix some divide by zero panics +- Redox now uses `std` `FontSystem` +- Layout system improvements +- `BufferLinke::set_text` has been made more efficient +- Fix potential panic on window resize + +### Changed + +- Use `f32` instead of `i32` for lengths +- `FontSystem` no longer self-referencing +- `SwashCash` no longer keeps reference to `FontSystem` + +### Removed + +- `Attrs::monospaced` is removed, use `Family::Monospace` instead diff --git a/Cargo.toml b/Cargo.toml index b40a098..58f3bc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cosmic-text" description = "Pure Rust multi-line text handling" -version = "0.7.0" +version = "0.8.0" authors = ["Jeremy Soller "] edition = "2021" license = "MIT OR Apache-2.0"