Release v0.7.0 (#103)

* Release v0.7.0

- Update all the crate versions
- Update the demo gif
- Write a changelog
- Adjust the title of the search screen (has the old name still)
- Adjust the colours of the quick-jump numbers (sadly invisible on some
  colour schemes as dark grey :/)

* Update README, default config file, docs

* Link usernames

* Trigger release workflow upon release creation, as well as tags
This commit is contained in:
Ellie Huxtable 2021-05-10 21:28:07 +01:00 committed by GitHub
parent 32c674889f
commit d3059af815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 90 additions and 18 deletions

View file

@ -10,6 +10,9 @@ on:
tags:
- "v*"
release:
types: [created]
jobs:
build:
name: ${{ matrix.job.os }} (${{ matrix.job.target }})

56
CHANGELOG.md Normal file
View file

@ -0,0 +1,56 @@
# 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 (mostly) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.7.0] - 2021-05-10
Thank you so much to everyone that started contributing to Atuin for this release!
- [@yuvipanda](https://github.com/yuvipanda)
- [@Sciencentistguy](https://github.com/Sciencentistguy)
- [@bl-ue](https://github.com/bl-ue)
- [@ElvishJerricco](https://github.com/ElvishJerricco)
- [@avinassh](https://github.com/avinassh)
- [@ismith](https://github.com/ismith)
- [@thedrow](https://github.com/thedrow)
And a special thank you to [@conradludgate](https://github.com/conradludgate) for his ongoing contributions :)
### Added
- Ctrl-C to exit (#53)
- Ctrl-D to exit (#65)
- Add option to not automatically bind keys (#62)
- Add importer for Resh history (#69)
- Retain the query entered if no results are found (#76)
- Support full-text querying (#75)
- Allow listing or searching with only the command as output (#89)
- Emacs-style ctrl-g, ctrl-n, ctrl-p (#77)
- `atuin logout` (#91)
- "quick access" to earlier commands via <kbd>Alt-N</kbd> (#79)
### Changed
- CI build caching (#49)
- Use an enum for dialect (#80)
- Generic importer trait (#71)
- Increased optimisation for release builds (#101)
- Shellcheck fixes for bash file (#81)
- Some general cleanup, bugfixes, and refactoring (#83, #90, #48)
### Deprecated
### Removed
### Fixed
- Ubuntu install (#46)
- Bash integration (#88)
- Newline when editing shell RC files (#60)
### Security

8
Cargo.lock generated
View file

@ -76,7 +76,7 @@ dependencies = [
[[package]]
name = "atuin"
version = "0.6.4"
version = "0.7.0"
dependencies = [
"async-trait",
"atuin-client",
@ -108,7 +108,7 @@ dependencies = [
[[package]]
name = "atuin-client"
version = "0.6.2"
version = "0.7.0"
dependencies = [
"async-trait",
"atuin-common",
@ -142,7 +142,7 @@ dependencies = [
[[package]]
name = "atuin-common"
version = "0.6.2"
version = "0.7.0"
dependencies = [
"chrono",
"eyre",
@ -158,7 +158,7 @@ dependencies = [
[[package]]
name = "atuin-server"
version = "0.6.2"
version = "0.7.0"
dependencies = [
"async-trait",
"atuin-common",

View file

@ -1,6 +1,6 @@
[package]
name = "atuin"
version = "0.6.4"
version = "0.7.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018"
license = "MIT"
@ -29,9 +29,9 @@ atuin = { path = "/usr/bin/atuin" }
members = ["./atuin-client", "./atuin-server", "./atuin-common"]
[dependencies]
atuin-server = { path = "atuin-server", version = "0.6.2" }
atuin-client = { path = "atuin-client", version = "0.6.2" }
atuin-common = { path = "atuin-common", version = "0.6.2" }
atuin-server = { path = "atuin-server", version = "0.7.0" }
atuin-client = { path = "atuin-client", version = "0.7.0" }
atuin-common = { path = "atuin-common", version = "0.7.0" }
log = "0.4"
pretty_env_logger = "0.4"

View file

@ -46,6 +46,7 @@ I wanted to. And I **really** don't want to.
- log exit code, cwd, hostname, session, command duration, etc
- calculate statistics such as "most used command"
- old history file is not replaced
- quick-jump to previous items with <kbd>Alt-\<num\></kbd>
## Documentation

View file

@ -1,6 +1,6 @@
[package]
name = "atuin-client"
version = "0.6.2"
version = "0.7.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018"
license = "MIT"
@ -11,7 +11,7 @@ repository = "https://github.com/ellie/atuin"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
atuin-common = { path = "../atuin-common", version = "0.6.0" }
atuin-common = { path = "../atuin-common", version = "0.7.0" }
log = "0.4"
fern = {version = "0.6.0", features = ["colored"] }

View file

@ -22,3 +22,7 @@
## address of the sync server
# sync_address = "https://api.atuin.sh"
## which search mode to use
## possible values: prefix, fulltext
# search_mode = "prefix"

View file

@ -1,6 +1,6 @@
[package]
name = "atuin-common"
version = "0.6.2"
version = "0.7.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018"
license = "MIT"

View file

@ -1,6 +1,6 @@
[package]
name = "atuin-server"
version = "0.6.2"
version = "0.7.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018"
license = "MIT"
@ -9,7 +9,7 @@ homepage = "https://atuin.sh"
repository = "https://github.com/ellie/atuin"
[dependencies]
atuin-common = { path = "../atuin-common", version = "0.6.0" }
atuin-common = { path = "../atuin-common", version = "0.7.0" }
log = "0.4"
fern = {version = "0.6.0", features = ["colored"] }

BIN
demo.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 458 KiB

After

Width:  |  Height:  |  Size: 364 KiB

View file

@ -94,6 +94,17 @@ The path to the Atuin server session file. Defaults to
key = "~/.atuin-session"
```
### `search_mode`
Which search mode to use. Atuin supports both "prefix" and full text search
modes. The former will essentially search for "query*", and the latter "*query\*"
Defaults to "prefix"
```
search_mode = "fulltext"
```
## Server config
`// TODO`

View file

@ -103,10 +103,7 @@ impl State {
None => Span::raw(" "),
Some(diff) => {
if 0 < diff && diff < 10 {
Span::styled(
format!(" {} ", diff),
Style::default().fg(Color::DarkGray),
)
Span::raw(format!(" {} ", diff))
} else {
Span::raw(" ")
}
@ -275,7 +272,7 @@ fn draw<T: Backend>(f: &mut Frame<'_, T>, history_count: i64, app: &mut State) {
.split(top_chunks[1]);
let title = Paragraph::new(Text::from(Span::styled(
format!("A'tuin v{}", VERSION),
format!("Atuin v{}", VERSION),
Style::default().add_modifier(Modifier::BOLD),
)));