Skip to content

Commit 4d66e6e

Browse files
authored
Release 0.10.0 (#152)
* chore: Prepare 0.10.0 * Fix Clippy * Clarify SemVer Pre-1.0.0
1 parent e206f71 commit 4d66e6e

File tree

8 files changed

+296
-86
lines changed

8 files changed

+296
-86
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
# 0.10.0 (2022-12-27)
9+
## Fixed
10+
- Fix panic due to incorrect ANSI escape handling ([#137])
11+
- Fix display of empty tables ([#127])
12+
13+
## Changed
14+
- Remove the unsafe code in `Table::as_ref` ([#146])
15+
- Switch `atty` to `is-terminal` ([#151])
16+
- Minimal Supported Rust Version bumped to 1.56
17+
18+
## Thanks
19+
- @alexanderkjall and @5225225 fuzzer work and fixing panics
20+
- @david0u0 fixing ([#145]) Undefined behavior (UB) on `Table::as_ref`
21+
22+
[#127]: https://github.com/phsym/prettytable-rs/pull/127
23+
[#137]: https://github.com/phsym/prettytable-rs/pull/137
24+
[#145]: https://github.com/phsym/prettytable-rs/issues/145
25+
[#146]: https://github.com/phsym/prettytable-rs/pull/146
26+
[#151]: https://github.com/phsym/prettytable-rs/pull/151

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "prettytable-rs"
4-
version = "0.9.0"
4+
version = "0.10.0"
55
description = "A library for printing pretty formatted tables in terminal"
66
homepage = "https://github.com/phsym/prettytable-rs"
77
repository = "https://github.com/phsym/prettytable-rs"
@@ -38,7 +38,7 @@ name = "prettytable"
3838
[dependencies]
3939
unicode-width = "0.1"
4040
term = "0.7"
41-
lazy_static = "1"
41+
lazy_static = "1.4"
4242
is-terminal = "0.4"
43-
encode_unicode = "1"
44-
csv = { version = "1", optional = true }
43+
encode_unicode = "1.0"
44+
csv = { version = "1.1", optional = true }

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,18 @@ Include the library as a dependency to your project by adding the following line
3737

3838
```toml
3939
[dependencies]
40-
prettytable-rs = "^0.9"
40+
prettytable-rs = "^0.10"
4141
```
4242

43-
The library requires at least `rust v1.41`.
43+
The library requires at least `rust v1.56`.
44+
45+
Any changes to the MSRV will be done with a minor version bump.
46+
47+
## SemVer Policy
48+
49+
* Pre-1.0.0 breaking changes will follow a minor version bump
50+
* Post-1.0.0 All default features of this library are covered by SemVer
51+
* MSRV is considered exempt from SemVer as noted above
4452

4553
## Basic usage
4654

0 commit comments

Comments
 (0)