From a8a48fc3850dfba5093c1af81c0d702fcd28c584 Mon Sep 17 00:00:00 2001 From: Felix Zwettler Date: Fri, 26 Jul 2024 11:43:31 +0200 Subject: [PATCH] chore: bump app version --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- Cargo.lock | 8 +++--- Cargo.toml | 6 ++--- .../src/fileformats/rnoteformat/mod.rs | 2 +- crates/rnote-engine/src/utils.rs | 4 +++ crates/rnote-ui/Cargo.toml | 2 +- crates/rnote-ui/data/app.metainfo.xml.in.in | 26 +++++++++++++++++++ meson.build | 2 +- 8 files changed, 41 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0b8b4031eb..0dec5e24c4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -28,7 +28,7 @@ If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. Fedora 39, Windows 11 23H2, ...] - - App Version: [e.g. Rnote v0.10.2] + - App Version: [e.g. Rnote v0.11.0] - Installation Source: [e.g. Flatpak, Archlinux Community Repo, ...] - Desktop Environment: [e.g. Gnome 45.2] - Display Server: [e.g. Wayland or X11] diff --git a/Cargo.lock b/Cargo.lock index 75a4297a91..b38a33f7f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3256,7 +3256,7 @@ dependencies = [ [[package]] name = "rnote" -version = "0.10.2" +version = "0.11.0" dependencies = [ "anyhow", "approx", @@ -3308,7 +3308,7 @@ dependencies = [ [[package]] name = "rnote-cli" -version = "0.10.2" +version = "0.11.0" dependencies = [ "anyhow", "atty", @@ -3327,7 +3327,7 @@ dependencies = [ [[package]] name = "rnote-compose" -version = "0.10.2" +version = "0.11.0" dependencies = [ "anyhow", "approx", @@ -3356,7 +3356,7 @@ dependencies = [ [[package]] name = "rnote-engine" -version = "0.10.2" +version = "0.11.0" dependencies = [ "anyhow", "approx", diff --git a/Cargo.toml b/Cargo.toml index d42f710c71..6a6aa16a7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,11 +14,11 @@ homepage = "https://rnote.flxzt.net" license = "GPL-3.0-or-later" repository = "https://github.com/flxzt/rnote" rust-version = "1.74" -version = "0.10.2" +version = "0.11.0" [workspace.dependencies] -rnote-compose = { version = "0.10.2", path = "crates/rnote-compose" } -rnote-engine = { version = "0.10.2", path = "crates/rnote-engine" } +rnote-compose = { version = "0.11.0", path = "crates/rnote-compose" } +rnote-engine = { version = "0.11.0", path = "crates/rnote-engine" } adw = { version = "0.6.0", package = "libadwaita", features = ["v1_5"] } anyhow = "1.0" diff --git a/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs b/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs index 48cfb4dd93..9826a02bc4 100644 --- a/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs +++ b/crates/rnote-engine/src/fileformats/rnoteformat/mod.rs @@ -75,7 +75,7 @@ struct RnotefileWrapper { pub type RnoteFile = RnoteFileMaj0Min9; impl RnoteFile { - pub const SEMVER: &'static str = "0.10.2"; + pub const SEMVER: &'static str = crate::utils::crate_version(); } impl FileFormatLoader for RnoteFile { diff --git a/crates/rnote-engine/src/utils.rs b/crates/rnote-engine/src/utils.rs index 1d11d57b12..1f3fa341d2 100644 --- a/crates/rnote-engine/src/utils.rs +++ b/crates/rnote-engine/src/utils.rs @@ -5,6 +5,10 @@ use p2d::bounding_volume::Aabb; use rnote_compose::Color; use std::ops::Range; +pub const fn crate_version() -> &'static str { + env!("CARGO_PKG_VERSION") +} + pub fn color_from_xopp(xopp_color: xoppformat::XoppColor) -> Color { Color { r: f64::from(xopp_color.red) / 255.0, diff --git a/crates/rnote-ui/Cargo.toml b/crates/rnote-ui/Cargo.toml index 04d3e8e8ff..426d8e9e00 100644 --- a/crates/rnote-ui/Cargo.toml +++ b/crates/rnote-ui/Cargo.toml @@ -14,8 +14,8 @@ rnote-compose = { workspace = true } rnote-engine = { workspace = true, features = ["ui"] } adw = { workspace = true } -approx = { workspace = true } anyhow = { workspace = true } +approx = { workspace = true } async-fs = { workspace = true } base64 = { workspace = true } cairo-rs = { workspace = true } diff --git a/crates/rnote-ui/data/app.metainfo.xml.in.in b/crates/rnote-ui/data/app.metainfo.xml.in.in index c1404b89d4..3e27724a7e 100644 --- a/crates/rnote-ui/data/app.metainfo.xml.in.in +++ b/crates/rnote-ui/data/app.metainfo.xml.in.in @@ -87,6 +87,32 @@ + + +

this release changes:

+
    +
  • feat: add disable option for pen shortcuts (thanks to @Doublonmousse)
  • +
  • feat: add respect-borders option, improving size logic when pasting content (thanks to @Doublonmousse)
  • +
  • feat: add improve-for-E-Paper option, showing current selected color as a string
  • +
  • improv: migrate to libadwaita based dialogs (thanks to @zefr0x)
  • +
  • improv: stroke modeler entirely rewritten in Rust! (thanks to @Doublonmousse)
  • +
  • improv: zoom tool following the pointer (thanks to @JonathanGodar)
  • +
  • improv: developers list in about window (thanks to @zefr0x)
  • +
  • improv: native file dialogs on Windows, macOS (thanks to @Doublonmousse)
  • +
  • improv: gzip (de)compression optimizations, reducing file save/load times (thanks to @anesthetice)
  • +
  • improv: prevent accidental resizes/moves when interacting with buttons in the titlebar
  • +
  • improv: inhibit app close while saves are in progress
  • +
  • improv: ability to change text selection colors inside a single text box
  • +
  • fix: pen state becoming incorrect on windows (thanks to @Doublonmousse)
  • +
  • fix: file extension filters in dialogs (thanks to @Doublonmousse)
  • +
  • fix: force the gtk renderer to gl for now, fixing recurring crashes for some users (thanks to @Doublonmousse)
  • +
  • fix: two-finger long-press gesture causing crashes for some users
  • +
  • fix: single element stroke not generating hitboxes
  • +
  • fix: scrolls being captured by unit-entries in settings, causing accidental value changes
  • +
  • fix: hover state for typewriter move/resize nodes
  • +
+
+

this release changes:

diff --git a/meson.build b/meson.build index adbe7d6efe..53409ec9d1 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'rnote', ['rust', 'cpp'], - version: '0.10.2', + version: '0.11.0', meson_version: '>= 1.0', ) # add a patch suffix for alpha or beta versions in format '-.'.