Skip to content

Commit

Permalink
Release 0.10.0 (#152)
Browse files Browse the repository at this point in the history
* chore: Prepare 0.10.0

* Fix Clippy

* Clarify SemVer Pre-1.0.0
  • Loading branch information
pinkforest committed Dec 27, 2022
1 parent e206f71 commit 4d66e6e
Show file tree
Hide file tree
Showing 8 changed files with 296 additions and 86 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,26 @@
# 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.10.0 (2022-12-27)
## Fixed
- Fix panic due to incorrect ANSI escape handling ([#137])
- Fix display of empty tables ([#127])

## Changed
- Remove the unsafe code in `Table::as_ref` ([#146])
- Switch `atty` to `is-terminal` ([#151])
- Minimal Supported Rust Version bumped to 1.56

## Thanks
- @alexanderkjall and @5225225 fuzzer work and fixing panics
- @david0u0 fixing ([#145]) Undefined behavior (UB) on `Table::as_ref`

[#127]: https://github.com/phsym/prettytable-rs/pull/127
[#137]: https://github.com/phsym/prettytable-rs/pull/137
[#145]: https://github.com/phsym/prettytable-rs/issues/145
[#146]: https://github.com/phsym/prettytable-rs/pull/146
[#151]: https://github.com/phsym/prettytable-rs/pull/151
8 changes: 4 additions & 4 deletions Cargo.toml
@@ -1,7 +1,7 @@
[package]

name = "prettytable-rs"
version = "0.9.0"
version = "0.10.0"
description = "A library for printing pretty formatted tables in terminal"
homepage = "https://github.com/phsym/prettytable-rs"
repository = "https://github.com/phsym/prettytable-rs"
Expand Down Expand Up @@ -38,7 +38,7 @@ name = "prettytable"
[dependencies]
unicode-width = "0.1"
term = "0.7"
lazy_static = "1"
lazy_static = "1.4"
is-terminal = "0.4"
encode_unicode = "1"
csv = { version = "1", optional = true }
encode_unicode = "1.0"
csv = { version = "1.1", optional = true }
12 changes: 10 additions & 2 deletions README.md
Expand Up @@ -37,10 +37,18 @@ Include the library as a dependency to your project by adding the following line

```toml
[dependencies]
prettytable-rs = "^0.9"
prettytable-rs = "^0.10"
```

The library requires at least `rust v1.41`.
The library requires at least `rust v1.56`.

Any changes to the MSRV will be done with a minor version bump.

## SemVer Policy

* Pre-1.0.0 breaking changes will follow a minor version bump
* Post-1.0.0 All default features of this library are covered by SemVer
* MSRV is considered exempt from SemVer as noted above

## Basic usage

Expand Down

0 comments on commit 4d66e6e

Please sign in to comment.