Changelog and version bump

This commit is contained in:
Ryan Kennedy 2020-03-31 22:57:56 -05:00
parent 4816d79476
commit 4f93bab9c8
2 changed files with 16 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "vga"
version = "0.2.1"
version = "0.2.2"
authors = ["Ryan Kennedy <rkennedy9064@gmail.com>"]
edition = "2018"
description = "Support for vga specific functions, data structures, and registers."

View file

@ -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.