Skip to content

Commit

Permalink
Merge branch 'master' of github.com:extrawurst/gitui into gpg-commit-…
Browse files Browse the repository at this point in the history
…signing

* 'master' of github.com:extrawurst/gitui: (52 commits)
  Git Config Commit Comments (extrawurst#2145)
  update changelog for 0.25.2
  fix another github action warning
  upgrade version
  prepare release
  preapre for release
  changelog
  fixes tag annotation being broken in 0.25 (extrawurst#2139)
  update changelog
  fix: 2114
  Bump backtrace from 0.3.69 to 0.3.70
  Fixed: - Cargo clippy errors
  cargo updates
  cargo update
  todo
  update changelog
  fix: index out of bounds when blaming a file ending with a blank line (extrawurst#2130)
  Bump bitflags from 2.4.2 to 2.5.0
  Bump clap from 4.5.2 to 4.5.3
  fix chrono deprecations
  ...
  • Loading branch information
hendrikmaus committed Mar 23, 2024
2 parents 29cea7a + b15c864 commit 1f720ea
Show file tree
Hide file tree
Showing 46 changed files with 319 additions and 208 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!---
Thank you for contributing to GitUI! Please fill out the template below, and remove or add any
information as you feel neccesary.
information as you feel necessary.
--->

This Pull Request fixes/closes #{issue_num}.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get version
id: get_version
Expand Down Expand Up @@ -88,9 +88,9 @@ jobs:
- name: Extract release notes
if: matrix.os == 'ubuntu-latest'
id: release_notes
uses: ffurrer2/extract-release-notes@v1
uses: ffurrer2/extract-release-notes@v2
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [nightly, stable, '1.65']
rust: [nightly, stable, '1.70']
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.rust == 'nightly' }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -86,10 +86,10 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [nightly, stable, '1.65']
rust: [nightly, stable, '1.70']
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -132,10 +132,10 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [nightly, stable, '1.65']
rust: [nightly, stable, '1.70']
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
name: udeps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Restore cargo cache
uses: Swatinem/rust-cache@v2
Expand All @@ -230,13 +230,13 @@ jobs:
name: Changelog Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Extract release notes
id: extract_release_notes
uses: ffurrer2/extract-release-notes@v1
uses: ffurrer2/extract-release-notes@v2
with:
release_notes_file: ./release-notes.txt
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: release-notes.txt
path: ./release-notes.txt
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.25.2] - 2024-03-22

### Fixes
* blame sometimes crashed due to new syntax highlighting [[@tdtrung17693](https://github.com/tdtrung17693)] ([#2130](https://github.com/extrawurst/gitui/issues/2130))
* going to file tree view at certin commit from the commit-details view broke [[@martihomssoler](https://github.com/martihomssoler)] ([#2114](https://github.com/extrawurst/gitui/issues/2114))
* `0.25` broke creating annotated tags ([#2126](https://github.com/extrawurst/gitui/issues/2126))

### Changed
* re-enable clippy `missing_const_for_fn` linter warning and added const to functions where applicable ([#2116](https://github.com/extrawurst/gitui/issues/2116))

## [0.25.1] - 2024-02-23

### Fixes
* bump yanked dependency `bumpalo` to fix build from source ([#2087](https://github.com/extrawurst/gitui/issues/2087))
* pin `ratatui` version to fix building without locked `cargo install gitui` ([#2090](https://github.com/extrawurst/gitui/issues/2090))

## [0.25.0] - 2024-02-21

** multiline text editor **

![multiline editor](assets/multiline-texteditor.gif)
Expand All @@ -16,10 +34,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
![syntax-highlighting-blame](assets/syntax-highlighting-blame.png)

### Breaking Change

#### commit key binding

The Commit message popup now supports multiline editing! Inserting a **newline** defaults to `enter`. This comes with a new default to confirm the commit message (`ctrl+d`).
Both commands can be overwritten via `newline` and `commit` in the key bindings. see [KEY_CONFIG](./KEY_CONFIG.md) on how.
These defaults require some adoption from existing users but feel more natural to new users.

#### key binding bitflags

Modifiers like `SHIFT` or `CONTROL` are no longer configured via magic bitflags but via strings thanks to changes in the [bitflags crate](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md#changes-to-serde-serialization) we depend on. Please see [KEY_CONFIG.md](./KEY_CONFIG.md) or [vim_style_key_config.ron](./vim_style_key_config.ron) for more info and examples.

### Added
* support for new-line in text-input (e.g. commit message editor) [[@pm100]](https://github/pm100) ([#1662](https://github.com/extrawurst/gitui/issues/1662)).
* add syntax highlighting for blame view [[@tdtrung17693](https://github.com/tdtrung17693)] ([#745](https://github.com/extrawurst/gitui/issues/745))
Expand All @@ -38,6 +63,7 @@ These defaults require some adoption from existing users but feel more natural t
* stash window empty after file history popup closes ([#1986](https://github.com/extrawurst/gitui/issues/1986))
* allow push to empty remote ([#1919](https://github.com/extrawurst/gitui/issues/1919))
* better diagnostics for theme file loading ([#2007](https://github.com/extrawurst/gitui/issues/2007))
* fix ordering of commits in diff view [[@Joshix-1](https://github.com/Joshix-1)]([#1747](https://github.com/extrawurst/gitui/issues/1747))

## [0.24.3] - 2023-09-09

Expand Down Expand Up @@ -98,7 +124,6 @@ These defaults require some adoption from existing users but feel more natural t
* fix expansion of `~` in `commit.template` ([#1745](https://github.com/extrawurst/gitui/pull/1745))
* fix hunk (un)staging/reset for # of context lines != 3 ([#1746](https://github.com/extrawurst/gitui/issues/1746))
* fix delay when opening external editor ([#1506](https://github.com/extrawurst/gitui/issues/1506))
* fix ordering of commits in diff view [[@Joshix-1](https://github.com/Joshix-1)]([#1747](https://github.com/extrawurst/gitui/issues/1747))

### Changed
* Copy full Commit Hash by default [[@AmmarAbouZor](https://github.com/AmmarAbouZor)] ([#1836](https://github.com/extrawurst/gitui/issues/1836))
Expand Down
Loading

0 comments on commit 1f720ea

Please sign in to comment.