Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
chore: release (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Jul 8, 2024
1 parent 0ee7505 commit 384abac
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@

All notable changes to this project will be documented in this file.

## [0.4.0] - 2024-07-07

- [1c79c1c](https://github.com/joshka/tui-popup/commit/1c79c1c462520901443d44fe474d9bee474a4d61) feat!: remove title from Popup::new ([#31](https://github.com/joshka/tui-popup/pull/31))
>
> BREAKING CHANGE: The `Popup::new` method no longer accepts a title
> parameter. Instead, the title can be set using the `title` method on the
> `Popup` instance.
>
> ```diff
> - let popup = Popup::new("tui-popup demo", "Press any key to exit")
> + let popup = Popup::new("Press any key to exit")
> + .title("tui-popup demo")
> .style(Style::new().white().on_blue());
> ```
- [0ee7505](https://github.com/joshka/tui-popup/commit/0ee750501b5056c6a4dd42533ef023a231f6c76d) feat!: rename `MouseState` to `DragState`
>
> BREAKING CHANGE: The `MouseState` enum has been renamed to `DragState`
> and the corresponding field on `PopupState` has been renamed as well.
> The variant names are now `NotDragging` and `Dragging` instead of `None`
> and `Dragging`.
> The `PopupState` fields are now also `pub(crate)` instead of `pub`.
>
> ```diff
> - PopupState::default().mouse_state()
> + PopupState::default().drag_state()
> ```
<!-- generated by git-cliff -->
## [0.3.4] - 2024-07-07
- [3433aec](https://github.com/joshka/tui-popup/commit/3433aec13d3ef3179b5bdf2267d9dd6e59407f95) chore(examples): simplify examples ([#27](https://github.com/joshka/tui-popup/pull/27))
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tui-popup"
authors = ["Joshka"]
version = "0.3.4"
version = "0.4.0"
description = "A simple popup for ratatui"
license = "MIT"
repository = "https://github.com/joshka/tui-popup"
Expand Down

0 comments on commit 384abac

Please sign in to comment.