From 4f93bab9c8d1846e9c5cf93787d2cab54f67bb9e Mon Sep 17 00:00:00 2001 From: Ryan Kennedy Date: Tue, 31 Mar 2020 22:57:56 -0500 Subject: [PATCH] Changelog and version bump --- Cargo.toml | 2 +- Changelog.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5d2e8ba..2f03e24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vga" -version = "0.2.1" +version = "0.2.2" authors = ["Ryan Kennedy "] edition = "2018" description = "Support for vga specific functions, data structures, and registers." diff --git a/Changelog.md b/Changelog.md index 52d60e3..a136661 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,18 @@ +# 0.2.2 + +## Breaking + +- `Screen::get_width()` now accessed by associated constant `i.e Text80x25::WIDTH`. +- `Screen::get_height()` now accessed by associated constant `i.e Text80x25::HEIGHT`. +- `Screen::get_size()` now accessed by associated constant `i.e Text80x25::SIZE`. +- `Graphics320x200x256::new`, `Graphics640x480x16::new`, `Text40x25::new`, `Text40x50::new`, `Text80x25::new` and `ScreenCharacter::new` are now `const fn`. +- `Graphics320x200x256`, `Graphics640x480x16`, `Text40x25`, `Text40x50`, and `Text80x25` now derive `Copy` and `Clone`. + +## Other + +- Added `Screen::fill_screen(ScreenCharacter)` for convenience. + + # 0.2.1 - Added `Graphics320x200x256` mode.