Releases: eminence/terminal-size
Releases · eminence/terminal-size
v0.4.1
What's Changed
- Build Rustix Only for Unix by @cptpiepmatz in #68
New Contributors
- @cptpiepmatz made their first contribution in #68
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Breaking changes
The big change in this release is the API change in #66:
- If you were using the
terminal_size_using_fd
orterminal_size_using_handle
functions, these are now deprecated and unsafe. Instead you should use theterminal_size_of
function, which does the same thing but is safer.
What's Changed
- Add
rust-version
in Cargo.toml by @cgwalters in #60 - Update
windows-sys
to 0.52 by @barrbrain in #62 - Update windows-sys to 0.59 by @eminence in #67
- Update the API for I/O safety by @sunfishcode in #66
- Fix typo, link to docs, update docs by @waywardmonkeys in #63
- Update CI: Use current actions, remove unused build step by @waywardmonkeys in #64
New Contributors
- @cgwalters made their first contribution in #60
- @barrbrain made their first contribution in #62
- @waywardmonkeys made their first contribution in #63
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- Check all streams (out/err/in) to find one that has a tty and size by @eminence in #58
- Note that this is a subtle change in behavior, since the
terminal_size()
function will now return success in cases more cases than before. For example, if your command had stdout redirected to a file,terminal_size()
used to return nothing, and now it returns a size.
- Note that this is a subtle change in behavior, since the
- Update to rustix 0.38 by @chenx97 in #57
- This change bumps the MSRV from 1.48.0 to 1.63.0
Full Changelog: v0.2.6...v0.3.0
v0.2.5
What's Changed
- Update windows-sys requirement from 0.42.0 to 0.45.0 by @dependabot in #49
Full Changelog: v0.2.3...v0.2.5
(Note v0.2.4
was published and then immediately yanked due to an operator error. So v0.2.5
is the next version after v0.2.3
)
v0.2.3
v0.2.2
New features
- Add common traits to Width and Height by @Lucretiel in #41
Internal changes
- Better coverage in github CI by @eminence in #37
- Switch away from actions-rs and minor CI improvements by @LingMan in #39
- Add a dependabot config by @LingMan in #40
- Bump actions/checkout from 2 to 3 by @dependabot in #42
- Update windows-sys requirement from 0.36.0 to 0.42.0 by @dependabot in #43
Full Changelog: v0.2.1...v0.2.2
v0.2.1
v0.2.0
Breaking changes
The MSRV has been changed from 1.31 to 1.48. There are no API changes in this release
Internal changes
- Update and fix github CI by @eminence in #27
- Migrate from winapi to windows-sys. by @sunfishcode in #32
- Point the documentation link in Cargo.toml to docs.rs by @LingMan in #34
- Upgrade license links to https by @LingMan in #35
- Migrate from libc to rustix. by @sunfishcode in #33
Full Changelog: v0.1.17...v0.2.0