Skip to content

Commit

Permalink
Release v0.7.0 (#103)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ellie committed May 10, 2021
1 parent 32c6748 commit d3059af
Show file tree
Hide file tree
Showing 12 changed files with 90 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Expand Up @@ -10,6 +10,9 @@ on:
tags:
- "v*"

release:
types: [created]

jobs:
build:
name: ${{ matrix.job.os }} (${{ matrix.job.target }})
Expand Down
56 changes: 56 additions & 0 deletions CHANGELOG.md
@@ -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 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
@@ -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"
Expand Down Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions atuin-client/Cargo.toml
@@ -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"
Expand All @@ -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"] }
Expand Down
4 changes: 4 additions & 0 deletions atuin-client/config.toml
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion atuin-common/Cargo.toml
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions atuin-server/Cargo.toml
@@ -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"
Expand All @@ -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"] }
Expand Down
Binary file modified demo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/config.md
Expand Up @@ -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`
7 changes: 2 additions & 5 deletions src/command/search.rs
Expand Up @@ -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(" ")
}
Expand Down Expand Up @@ -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),
)));

Expand Down

0 comments on commit d3059af

Please sign in to comment.