Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Release 0.10.0 #152

Merged
merged 3 commits into from Dec 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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