From 8dd31e2bb9eb3ac3f7c73ea5f35ad1986b61877b Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 22 Nov 2026 13:45:00 +0100 Subject: [PATCH] build(packaging): make the release 1.0.0 The release after 0.0.0 is 1.0.0, by the owner's word of 2026-11-22: the commit before this one takes away the checkout over D-Bus that 0.0.0 published, and a break of what was published is a new major version. NOSTRO_VERSION in project.cpp and the newest of the app's metainfo say so, the entry dated today. The comment in nostro-app.cpp that quoted the version gives an example in its place, which a release does not have to change. The entry is the release notes, in two sections: "New" has the payto links and the question which account pays, and "Breaking" the checkout's removal in favour of those links. packaging/flatpak/release-version.sh prints 1.0.0 for the tree and renders the notes with a heading for each section, and appstreamcli validates the metainfo. The review's gate0 passes at this commit, and the app's settings read "Nostro 1.0.0". --- implementations/nostro-app.cpp | 2 +- packaging/flatpak/net.catcrafts.Nostro.metainfo.xml | 13 +++++++++++++ project.cpp | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/implementations/nostro-app.cpp b/implementations/nostro-app.cpp index 0ca5dea..2cacdc5 100644 --- a/implementations/nostro-app.cpp +++ b/implementations/nostro-app.cpp @@ -22,7 +22,7 @@ #include -// The version comes from the build as bare text, NOSTRO_VERSION=0.0.0, which this makes a string of. +// The version comes from the build as bare text, as in NOSTRO_VERSION=1.2.3, which this makes a string of. #define NOSTRO_TEXT_OF(text) #text #define NOSTRO_TEXT(text) NOSTRO_TEXT_OF(text) diff --git a/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml b/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml index 74be462..44052d6 100644 --- a/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.Nostro.metainfo.xml @@ -34,6 +34,19 @@ + + +

New

+
    +
  • Nostro opens payto://iban/ links (RFC 8905), which a website's or an app's pay button can be. A link opens the Pay form with what it says filled in: who is paid, how much and what for, under a line saying that a link filled it in. It does no more than that: nothing is paid until you press Pay and confirm it with your password.
  • +
  • When a link opens and you have more than one account, Nostro first asks which one pays. The form starts from the account chosen under Settings, "Pay links start from", which was "Pay at checkout from", or from the first account that can pay anyone where none is chosen.
  • +
+

Breaking

+
    +
  • The checkout over D-Bus is gone, in favour of payto links: nostrod no longer serves net.catcrafts.Nostro1.Checkout, and the Nostro.Checkout module with --product=checkout is removed. An app that had Nostro pay an order opens a payto link instead. It gets no answer back, and sees the payment arrive at its own bank.
  • +
+
+

The first release: everything the nostro command does, in a window that fits a phone and a desktop.

diff --git a/project.cpp b/project.cpp index 2871e19..644ecc8 100644 --- a/project.cpp +++ b/project.cpp @@ -367,7 +367,7 @@ extern "C" Configuration CrafterBuildProject(std::span a app.outputName = "nostro-app"; app.defines = defines; // What the app says its version is: the metainfo's release is the same. - app.defines.push_back({"NOSTRO_VERSION", "0.0.0"}); + app.defines.push_back({"NOSTRO_VERSION", "1.0.0"}); ApplyStandardArgs(app, args); app.dependencies = { library, ui, appCore, shell }; app.files.push_back("assets/NotoSans-Regular.ttf");