From c102851e29d93d86481509337f54fa905d5f64ea Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 5 Jun 2024 14:56:10 +0100 Subject: [PATCH] chore(release): v18.3.0-prerelease.1 (#2090) * chore(release): v18.3.0-prerelease.1 * update contributors * changelog, plan only on prs --- CHANGELOG.md | 78 +++++++++++++++++++++++++ CONTRIBUTORS | 16 ++++- Cargo.lock | 24 ++++---- Cargo.toml | 5 +- crates/atuin-client/Cargo.toml | 2 +- crates/atuin-daemon/Cargo.toml | 2 +- crates/atuin-dotfiles/Cargo.toml | 4 +- crates/atuin-history/Cargo.toml | 4 +- crates/atuin-server-database/Cargo.toml | 2 +- crates/atuin-server-postgres/Cargo.toml | 4 +- crates/atuin-server/Cargo.toml | 4 +- crates/atuin/Cargo.toml | 8 +-- 12 files changed, 123 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f5e22ddd50..a7c353fd120 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,84 @@ All notable changes to this project will be documented in this file. +## [unreleased] + +### Bug Fixes + +- Support not-mac for default shell ([#1960](https://github.com/atuinsh/atuin/issues/1960)) +- Alias import with init output ([#1970](https://github.com/atuinsh/atuin/issues/1970)) +- Fish alias import ([#1972](https://github.com/atuinsh/atuin/issues/1972)) +- More fish alias import ([#1974](https://github.com/atuinsh/atuin/issues/1974)) +- Unquote aliases before quoting ([#1976](https://github.com/atuinsh/atuin/issues/1976)) +- Release workflow ([#1978](https://github.com/atuinsh/atuin/issues/1978)) +- Allow clearing aliases, disable import ([#1995](https://github.com/atuinsh/atuin/issues/1995)) +- Adapt help to `enter_accept` config ([#2001](https://github.com/atuinsh/atuin/issues/2001)) +- Add quotes for strategy value in comment ([#1993](https://github.com/atuinsh/atuin/issues/1993)) +- Add protobuf compiler to docker image ([#2009](https://github.com/atuinsh/atuin/issues/2009)) +- Add incremental rebuild to daemon loop ([#2010](https://github.com/atuinsh/atuin/issues/2010)) +- Alias enable/enabled in settings ([#2021](https://github.com/atuinsh/atuin/issues/2021)) +- Bogus error message wording ([#1283](https://github.com/atuinsh/atuin/issues/1283)) +- Save sync time in daemon ([#2029](https://github.com/atuinsh/atuin/issues/2029)) +- Redact password in database URI when logging ([#2032](https://github.com/atuinsh/atuin/issues/2032)) +- Do not try to sync if logged out ([#2037](https://github.com/atuinsh/atuin/issues/2037)) +- Save sync time in daemon ([#2051](https://github.com/atuinsh/atuin/issues/2051)) +- Handle being logged out gracefully ([#2052](https://github.com/atuinsh/atuin/issues/2052)) +- Fix mistake in last pr ([#2053](https://github.com/atuinsh/atuin/issues/2053)) +- Generation for commands starting with a pipe ([#2058](https://github.com/atuinsh/atuin/issues/2058)) +- Fix a workaround for bash-5.2 keybindings ([#2060](https://github.com/atuinsh/atuin/issues/2060)) +- Replace parse_duration with humantime ([#2074](https://github.com/atuinsh/atuin/issues/2074)) +- Better error reporting on login/registration ([#2076](https://github.com/atuinsh/atuin/issues/2076)) +- Replace serde_yaml::to_string with serde_json::to_string_yaml ([#2087](https://github.com/atuinsh/atuin/issues/2087)) + +### Documentation + +- Fix "From source" `cd` command ([#1973](https://github.com/atuinsh/atuin/issues/1973)) + +### Features + +- Add me endpoint ([#1954](https://github.com/atuinsh/atuin/issues/1954)) +- Detect active preexec framework ([#1955](https://github.com/atuinsh/atuin/issues/1955)) +- Work on home page, sort state ([#1956](https://github.com/atuinsh/atuin/issues/1956)) +- Allow ignoring failed commands ([#1957](https://github.com/atuinsh/atuin/issues/1957)) +- Show preview auto ([#1804](https://github.com/atuinsh/atuin/issues/1804)) +- Support syncing shell/env vars ([#1977](https://github.com/atuinsh/atuin/issues/1977)) +- Add vars ([#1989](https://github.com/atuinsh/atuin/issues/1989)) +- Create atuin-history, add stats to it ([#1990](https://github.com/atuinsh/atuin/issues/1990)) +- Scroll history infinitely ([#1999](https://github.com/atuinsh/atuin/issues/1999)) +- Add background daemon ([#2006](https://github.com/atuinsh/atuin/issues/2006)) +- Add support for daemon on windows ([#2014](https://github.com/atuinsh/atuin/issues/2014)) +- Add Tuxedo OS ([#2018](https://github.com/atuinsh/atuin/issues/2018)) +- Add history explore ([#2022](https://github.com/atuinsh/atuin/issues/2022)) +- Support importing from replxx history files ([#2024](https://github.com/atuinsh/atuin/issues/2024)) +- Support systemd socket activation for daemon ([#2039](https://github.com/atuinsh/atuin/issues/2039)) +- Use correct username on welcome screen ([#2050](https://github.com/atuinsh/atuin/issues/2050)) +- Add login/register dialog ([#2056](https://github.com/atuinsh/atuin/issues/2056)) +- Report sqlite version ([#2075](https://github.com/atuinsh/atuin/issues/2075)) + +### Miscellaneous Tasks + +- Move crates into crates/ dir ([#1958](https://github.com/atuinsh/atuin/issues/1958)) +- Fix atuin crate readme ([#1959](https://github.com/atuinsh/atuin/issues/1959)) +- Add some more logging to handlers ([#1971](https://github.com/atuinsh/atuin/issues/1971)) +- Add some more debug logs ([#1979](https://github.com/atuinsh/atuin/issues/1979)) +- Clarify default config file ([#2026](https://github.com/atuinsh/atuin/issues/2026)) +- Ignore CODE_OF_CONDUCT ([#2044](https://github.com/atuinsh/atuin/issues/2044)) +- Handle rate limited responses ([#2057](https://github.com/atuinsh/atuin/issues/2057)) +- Log cargo and rustc version ([#2068](https://github.com/atuinsh/atuin/issues/2068)) +- Don't run "Update Nix Deps" CI on forks ([#2070](https://github.com/atuinsh/atuin/issues/2070)) +- Add Systemd config for self-hosted server ([#1879](https://github.com/atuinsh/atuin/issues/1879)) +- Switch to cargo dist for releases ([#2085](https://github.com/atuinsh/atuin/issues/2085)) +- V18.3.0-prerelease.1 + +### Performance + +- Use version.(major|minor|patch) if available ([#1963](https://github.com/atuinsh/atuin/issues/1963)) +- Only open the database for commands if strictly required ([#2043](https://github.com/atuinsh/atuin/issues/2043)) + +### Refactor + +- Preview_auto to use enum and different option ([#1991](https://github.com/atuinsh/atuin/issues/1991)) + ## [18.2.0] - 2024-04-15 ### Bug Fixes diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 1e689a75c64..6ccf2e8849a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2,6 +2,7 @@ Aleks Bunin Aloxaf Alpha Chen +Amos Bird Anderson <141751473+digital-cuttlefish@users.noreply.github.com> Andrew Lee <32912555+candrewlee14@users.noreply.github.com> Anish Pallati @@ -12,6 +13,7 @@ b3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com> Baptiste <32563450+BapRx@users.noreply.github.com> Ben J Benjamin Vergnaud <9599845+bvergnaud@users.noreply.github.com> +Blair Noctis <4474501+nc7s@users.noreply.github.com> Brad Robel-Forrest Brian Kung <2836167+briankung@users.noreply.github.com> Bruce Huang @@ -22,12 +24,16 @@ Chandra Kiran G Chris Rose Conrad Ludgate CosmicHorror +Cristian Le cyqsimon <28627918+cyqsimon@users.noreply.github.com> Daniel Daniel Carosone David David Chocholatý +David Legrand <1110600+davlgd@users.noreply.github.com> Dennis Trautwein +dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> +Diego Carrasco Gubernatis <557703+dacog@users.noreply.github.com> Dieter Eickstaedt Dom Rodriguez Dongxu Wang @@ -51,11 +57,13 @@ Gokul Hamza Hamud <53880692+hhamud@users.noreply.github.com> Helmut K. C. Tessarek Herby Gillot +Hesam Pakdaman <14890379+hesampakdaman@users.noreply.github.com> Hilmar Wiegand Ian Manske Ian Smith Ian Smith Ilkin Bayramli <43158991+ibayramli@users.noreply.github.com> +Ivan Toriya <43750521+ivan-toriya@users.noreply.github.com> J. Emiliano Deustua Jakob Schrettenbrunner Jakub Jirutka @@ -66,6 +74,7 @@ Jannik <32144358+mozzieongit@users.noreply.github.com> Jannik jean-santos jean-santos +Jeremy Cline Jerome Ducret jfmontanaro Jinn Koriech @@ -133,13 +142,15 @@ Peter Brunner Peter Holloway Philippe Normand Philippe Normand +Pierluigi <82404704+IoSonoPiero@users.noreply.github.com> Plamen Dimitrov +Poliorcetics postmath Qiming Xu <33349132+xqm32@users.noreply.github.com> Rain Ramses Remmy Cat Stock <3317423+remmycat@users.noreply.github.com> -Richard de Boer +Richard de Boer Richard Jones <4550158+RichardDRJ@users.noreply.github.com> Richard Turner <63139+zygous@users.noreply.github.com> Robin Millette @@ -154,6 +165,7 @@ Simon Simon Elsbrock Steve Kemp Steven Xu +Sven-Hendrik Haase Thomas Buckley-Houston Tobias Genannt Tobias Hunger @@ -168,11 +180,13 @@ Vladislav Stepanov <8uk.8ak@gmail.com> VuiMuich Webmaster At Cosmic DNA <92752640+DanielAtCosmicDNA@users.noreply.github.com> Will Fancher +Wind WindSoilder wpbrz <61665187+wpbrz@users.noreply.github.com> Xavier Vello xfzv <78810647+xfzv@users.noreply.github.com> Yannick Ulrich +Yaroslav Halchenko Yolo YummyOreo Yuvi Panda diff --git a/Cargo.lock b/Cargo.lock index 8e1d45e0016..96d5beac545 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,9 +102,9 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ "windows-sys 0.52.0", ] @@ -199,7 +199,7 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "atuin" -version = "18.2.0" +version = "18.3.0-prerelease.1" dependencies = [ "async-trait", "atuin-client", @@ -249,7 +249,7 @@ dependencies = [ [[package]] name = "atuin-client" -version = "18.2.0" +version = "18.3.0-prerelease.1" dependencies = [ "async-trait", "atuin-common", @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "atuin-common" -version = "18.2.0" +version = "18.3.0-prerelease.1" dependencies = [ "eyre", "lazy_static", @@ -385,7 +385,7 @@ dependencies = [ [[package]] name = "atuin-server" -version = "18.2.0" +version = "18.3.0-prerelease.1" dependencies = [ "argon2", "async-trait", @@ -416,7 +416,7 @@ dependencies = [ [[package]] name = "atuin-server-database" -version = "18.2.0" +version = "18.3.0-prerelease.1" dependencies = [ "async-trait", "atuin-common", @@ -429,7 +429,7 @@ dependencies = [ [[package]] name = "atuin-server-postgres" -version = "18.2.0" +version = "18.3.0-prerelease.1" dependencies = [ "async-trait", "atuin-common", @@ -3693,9 +3693,9 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.26.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7993a8e3a9e88a00351486baae9522c91b123a088f76469e5bd5cc17198ea87" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -4237,9 +4237,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode_categories" diff --git a/Cargo.toml b/Cargo.toml index 9b01e4d4e00..b5e6150522f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "2" exclude = ["ui/backend"] [workspace.package] -version = "18.2.0" +version = "18.3.0-prerelease.1" authors = ["Ellie Huxtable "] rust-version = "1.77" license = "MIT" @@ -58,6 +58,7 @@ features = ["runtime-tokio-rustls", "time", "postgres", "uuid"] # Config for 'cargo dist' [workspace.metadata.dist] +install-path = "~/.atuin/bin" # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) cargo-dist-version = "0.15.0" # CI backends to support @@ -74,7 +75,7 @@ targets = [ "x86_64-unknown-linux-musl", ] # Publish jobs to run in CI -pr-run-mode = "upload" +pr-run-mode = "plan" # Whether to install an updater program install-updater = true # The archive format to use for non-windows builds (defaults .tar.xz) diff --git a/crates/atuin-client/Cargo.toml b/crates/atuin-client/Cargo.toml index b03393f1cd9..260c04f2c3b 100644 --- a/crates/atuin-client/Cargo.toml +++ b/crates/atuin-client/Cargo.toml @@ -19,7 +19,7 @@ daemon = [] check-update = [] [dependencies] -atuin-common = { path = "../atuin-common", version = "18.2.0" } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } log = { workspace = true } base64 = { workspace = true } diff --git a/crates/atuin-daemon/Cargo.toml b/crates/atuin-daemon/Cargo.toml index e4c4779b11c..48b3a71d436 100644 --- a/crates/atuin-daemon/Cargo.toml +++ b/crates/atuin-daemon/Cargo.toml @@ -12,7 +12,7 @@ readme.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -atuin-client = { path = "../atuin-client", version = "18.0.1" } +atuin-client = { path = "../atuin-client", version = "18.3.0-prerelease.1" } atuin-dotfiles = { path = "../atuin-dotfiles", version = "0.2.0" } atuin-history = { path = "../atuin-history", version = "0.1.0" } diff --git a/crates/atuin-dotfiles/Cargo.toml b/crates/atuin-dotfiles/Cargo.toml index 8eb57d0d85b..ac93e9bfebe 100644 --- a/crates/atuin-dotfiles/Cargo.toml +++ b/crates/atuin-dotfiles/Cargo.toml @@ -14,8 +14,8 @@ readme.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -atuin-common = { path = "../atuin-common", version = "18.2.0" } -atuin-client = { path = "../atuin-client", version = "18.2.0" } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } +atuin-client = { path = "../atuin-client", version = "18.3.0-prerelease.1" } eyre = { workspace = true } tokio = { workspace = true } diff --git a/crates/atuin-history/Cargo.toml b/crates/atuin-history/Cargo.toml index 0927230c700..7863b220792 100644 --- a/crates/atuin-history/Cargo.toml +++ b/crates/atuin-history/Cargo.toml @@ -13,8 +13,8 @@ readme.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -atuin-client = { path = "../atuin-client", version = "18.2.0" } -atuin-common = { path = "../atuin-common", version = "18.2.0" } +atuin-client = { path = "../atuin-client", version = "18.3.0-prerelease.1" } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } log = { workspace = true } time = { workspace = true } diff --git a/crates/atuin-server-database/Cargo.toml b/crates/atuin-server-database/Cargo.toml index ffd29b8da6a..1e6ce7bfd1b 100644 --- a/crates/atuin-server-database/Cargo.toml +++ b/crates/atuin-server-database/Cargo.toml @@ -10,7 +10,7 @@ homepage = { workspace = true } repository = { workspace = true } [dependencies] -atuin-common = { path = "../atuin-common", version = "18.2.0" } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } tracing = "0.1" time = { workspace = true } diff --git a/crates/atuin-server-postgres/Cargo.toml b/crates/atuin-server-postgres/Cargo.toml index 2345b39da69..4c9af1bae11 100644 --- a/crates/atuin-server-postgres/Cargo.toml +++ b/crates/atuin-server-postgres/Cargo.toml @@ -10,8 +10,8 @@ homepage = { workspace = true } repository = { workspace = true } [dependencies] -atuin-common = { path = "../atuin-common", version = "18.2.0" } -atuin-server-database = { path = "../atuin-server-database", version = "18.2.0" } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } +atuin-server-database = { path = "../atuin-server-database", version = "18.3.0-prerelease.1" } eyre = { workspace = true } tracing = "0.1" diff --git a/crates/atuin-server/Cargo.toml b/crates/atuin-server/Cargo.toml index 7311b58edc5..1e7388add96 100644 --- a/crates/atuin-server/Cargo.toml +++ b/crates/atuin-server/Cargo.toml @@ -11,8 +11,8 @@ homepage = { workspace = true } repository = { workspace = true } [dependencies] -atuin-common = { path = "../atuin-common", version = "18.2.0" } -atuin-server-database = { path = "../atuin-server-database", version = "18.2.0" } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } +atuin-server-database = { path = "../atuin-server-database", version = "18.3.0-prerelease.1" } tracing = "0.1" time = { workspace = true } diff --git a/crates/atuin/Cargo.toml b/crates/atuin/Cargo.toml index fbd6ebb3f99..1f01a787c7d 100644 --- a/crates/atuin/Cargo.toml +++ b/crates/atuin/Cargo.toml @@ -42,10 +42,10 @@ clipboard = ["cli-clipboard"] check-update = ["atuin-client/check-update"] [dependencies] -atuin-server-postgres = { path = "../atuin-server-postgres", version = "18.2.0", optional = true } -atuin-server = { path = "../atuin-server", version = "18.2.0", optional = true } -atuin-client = { path = "../atuin-client", version = "18.2.0", optional = true, default-features = false } -atuin-common = { path = "../atuin-common", version = "18.2.0" } +atuin-server-postgres = { path = "../atuin-server-postgres", version = "18.3.0-prerelease.1", optional = true } +atuin-server = { path = "../atuin-server", version = "18.3.0-prerelease.1", optional = true } +atuin-client = { path = "../atuin-client", version = "18.3.0-prerelease.1", optional = true, default-features = false } +atuin-common = { path = "../atuin-common", version = "18.3.0-prerelease.1" } atuin-dotfiles = { path = "../atuin-dotfiles", version = "0.2.0" } atuin-history = { path = "../atuin-history", version = "0.1.0" } atuin-daemon = { path = "../atuin-daemon", version = "0.1.0" }