Bump version to 0.9.0

This commit is contained in:
Joscha 2025-02-23 23:43:38 +01:00
parent b207e91c25
commit 4cf6a15577
4 changed files with 49 additions and 26 deletions

View file

@ -11,11 +11,12 @@ Procedure when bumping the version number:
4. Run `cargo run help-config > CONFIG.md` 4. Run `cargo run help-config > CONFIG.md`
5. Commit with message `Bump version to X.Y.Z` 5. Commit with message `Bump version to X.Y.Z`
6. Create tag named `vX.Y.Z` 6. Create tag named `vX.Y.Z`
7. Fast-forward branch `latest` 7. Push `master` and the new tag
8. Push `master`, `latest` and the new tag
## Unreleased ## Unreleased
## v0.9.0 - 2025-02-23
### Added ### Added
- Unicode-based grapheme width estimation method - Unicode-based grapheme width estimation method

View file

@ -93,9 +93,9 @@ Whether to automatically join this room on startup.
**Type:** boolean **Type:** boolean
**Default:** `false` **Default:** `false`
If `euph.rooms.<room>.username` is set, this will force cove to set the If `euph.servers.<domain>.rooms.<room>.username` is set, this will force
username even if there is already a different username associated with cove to set the username even if there is already a different username
the current session. associated with the current session.
### `euph.servers.<domain>.rooms.<room>.password` ### `euph.servers.<domain>.rooms.<room>.password`
@ -607,12 +607,11 @@ Move to root.
**Type:** boolean **Type:** boolean
**Default:** `false` **Default:** `false`
Whether to measure the width of characters as displayed by the terminal Whether to measure the width of graphemes (i.e. characters) as displayed
emulator instead of guessing the width. by the terminal emulator instead of estimating the width.
Enabling this makes rendering a bit slower but more accurate. The screen Enabling this makes rendering a bit slower but more accurate. The screen
might also flash when encountering new characters (or, more accurately, might also flash when encountering new graphemes.
graphemes).
See also the `--measure-widths` command line option. See also the `--measure-widths` command line option.
@ -656,18 +655,41 @@ order of priority):
Time zone that chat timestamps should be displayed in. Time zone that chat timestamps should be displayed in.
This option is interpreted as a POSIX TZ string. It is described here in This option can either be the string `"localtime"`, a [POSIX TZ string],
further detail: or a [tz identifier] from the [tz database].
<https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html>
On a normal system, the string `"localtime"` as well as any value from When not set or when set to `"localtime"`, cove attempts to use your
the "TZ identifier" column of the following wikipedia article should be system's configured time zone, falling back to UTC.
valid TZ strings:
<https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>
If the `TZ` environment variable exists, it overrides this option. If When the string begins with a colon or doesn't match the a POSIX TZ
neither exist, cove uses the system's local time zone. string format, it is interpreted as a tz identifier and looked up in
your system's tz database (or a bundled tz database on Windows).
**Warning:** On Windows, cove can't get the local time zone and uses UTC If the `TZ` environment variable exists, it overrides this option.
instead. However, you can still specify a path to a tz data file or a
custom time zone string. [POSIX TZ string]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03
[tz identifier]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
[tz database]: https://en.wikipedia.org/wiki/Tz_database
### `width_estimation_method`
**Required:** yes
**Type:** string
**Values:** `"legacy"`, `"unicode"`
**Default:** `"legacy"`
How to estimate the width of graphemes (i.e. characters) as displayed by
the terminal emulator.
`"legacy"`: Use a legacy method that should mostly work on most terminal
emulators. This method will never be correct in all cases since every
terminal emulator handles grapheme widths slightly differently. However,
those cases are usually rare (unless you view a lot of emoji).
`"unicode"`: Use the unicode standard in a best-effort manner to
determine grapheme widths. Some terminals (e.g. ghostty) can make use of
this.
This method is used when `measure_widths` is set to `false`.
See also the `--width-estimation-method` command line option.

8
Cargo.lock generated
View file

@ -330,7 +330,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
[[package]] [[package]]
name = "cove" name = "cove"
version = "0.8.3" version = "0.9.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@ -358,7 +358,7 @@ dependencies = [
[[package]] [[package]]
name = "cove-config" name = "cove-config"
version = "0.8.3" version = "0.9.0"
dependencies = [ dependencies = [
"cove-input", "cove-input",
"cove-macro", "cove-macro",
@ -369,7 +369,7 @@ dependencies = [
[[package]] [[package]]
name = "cove-input" name = "cove-input"
version = "0.8.3" version = "0.9.0"
dependencies = [ dependencies = [
"cove-macro", "cove-macro",
"crossterm", "crossterm",
@ -383,7 +383,7 @@ dependencies = [
[[package]] [[package]]
name = "cove-macro" name = "cove-macro"
version = "0.8.3" version = "0.9.0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View file

@ -3,7 +3,7 @@ resolver = "3"
members = ["cove", "cove-*"] members = ["cove", "cove-*"]
[workspace.package] [workspace.package]
version = "0.8.3" version = "0.9.0"
edition = "2024" edition = "2024"
[workspace.dependencies] [workspace.dependencies]