From e6e7a8206de70092a6dbb65ec92c833486fee6c0 Mon Sep 17 00:00:00 2001 From: nathan <57812141+ndd7xv@users.noreply.github.com> Date: Wed, 26 Jul 2023 11:56:27 -0400 Subject: [PATCH] release: 0.4.0 (#75) --- .github/workflows/test.yml | 6 +++--- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ Cargo.lock | 26 ++++++++++++++++++++------ Cargo.toml | 12 ++++++------ 4 files changed, 58 insertions(+), 15 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8af22e9..12acc26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,12 +42,12 @@ jobs: submodules: true - name: Install stable uses: dtolnay/rust-toolchain@stable - - name: Install nightly for -Zminimal-versions + - name: Install nightly for -Zdirect-minimal-versions uses: dtolnay/rust-toolchain@nightly - name: rustup default stable run: rustup default stable - - name: cargo update -Zminimal-versions - run: cargo +nightly update -Zminimal-versions + - name: cargo update -Zdirect-minimal-versions + run: cargo +nightly update -Zdirect-minimal-versions - name: cargo test run: cargo test --locked --all-features --all-targets os-check: diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e269d59 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,29 @@ +# 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 _somewhat_ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [0.4.0] - 2023-07-25 + +### Added + +- This CHANGELOG file. This may be retroactively modified solely include changes earlier versions. +- You can now switch the endianness displayed on the labels with `control e` (thanks, [@JungleTryne](https://github.com/JungleTryne))! +- You can now open big files (thanks, [@Programatic](https://github.com/Programatic))! Note that this isn't a fully completed and perfected feature, and some things may still run slowly. Please [submit a bug report](https://github.com/ndd7xv/heh/issues) if you notice an issue. +- There are now templates for submitting issues; not required but there in case someone finds it useful + +### Changed + +- Search allows for iterating through all matched patterns with `control n` and `control p` (thanks, [@joooooooooooooooooooooooooooooooooooosh](https://github.com/joooooooooooooooooooooooooooooooooooosh)!) +- `heh` switched its dependency from `tui` to `ratatui` + +### Other Notes + +- MSRV bumped from 1.64.0 to 1.65.0 +- memmap2 and crossbeam added as dependencies +- There was an error with CI that was fixed +- This release is 1191568 bytes on my machine, up from 1121936 in 0.3.0 \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 5429e4c..0945111 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -310,7 +310,7 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "heh" -version = "0.3.1" +version = "0.4.0" dependencies = [ "arboard", "clap", @@ -326,6 +326,12 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +[[package]] +name = "indoc" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c785eefb63ebd0e33416dfcb8d6da0bf27ce752843a45632a67bf10d4d4b5c4" + [[package]] name = "is-terminal" version = "0.4.9" @@ -376,9 +382,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.5.10" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327" +checksum = "f49388d20533534cd19360ad3d6a7dadc885944aa802ba3995040c5ec11288c6" dependencies = [ "libc", ] @@ -483,6 +489,12 @@ dependencies = [ "windows-targets", ] +[[package]] +name = "paste" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" + [[package]] name = "proc-macro2" version = "1.0.66" @@ -503,13 +515,15 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce841e0486e7c2412c3740168ede33adeba8e154a15107b879d8162d77c7174e" +checksum = "8285baa38bdc9f879d92c0e37cb562ef38aa3aeefca22b3200186bc39242d3d5" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.3.3", "cassowary", "crossterm", + "indoc", + "paste", "unicode-segmentation", "unicode-width", ] diff --git a/Cargo.toml b/Cargo.toml index 655c112..da9be3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "heh" -version = "0.3.1" +version = "0.4.0" edition = "2021" description = "A cross-platform terminal UI used for modifying file data in hex or ASCII." readme = "README.md" @@ -12,11 +12,11 @@ rust-version = "1.65.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tui = {package = "ratatui", version = "0.21", default-features = false, features = ["crossterm"]} -crossterm = "0.26" -clap = { version = "4.3", features = ["derive"] } -arboard = { version = "3.2", default-features = false } -memmap2 = "0.5.10" +tui = {package = "ratatui", version = "0.22.0", default-features = false, features = ["crossterm"]} +crossterm = "0.26.1" +clap = { version = "4.3.19", features = ["derive"] } +arboard = { version = "3.2.0", default-features = false } +memmap2 = "0.7.1" crossbeam = "0.8.2" [profile.dev]