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 <release> 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".
This commit is contained in:
parent
b43ab124a6
commit
8dd31e2bb9
3 changed files with 15 additions and 2 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <sys/prctl.h>
|
||||
|
||||
// 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)
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,19 @@
|
|||
</recommends>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<releases>
|
||||
<release version="1.0.0" date="2026-11-22">
|
||||
<description>
|
||||
<p>New</p>
|
||||
<ul>
|
||||
<li>Nostro opens <code>payto://iban/</code> 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.</li>
|
||||
<li>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.</li>
|
||||
</ul>
|
||||
<p>Breaking</p>
|
||||
<ul>
|
||||
<li>The checkout over D-Bus is gone, in favour of <code>payto</code> links: nostrod no longer serves <code>net.catcrafts.Nostro1.Checkout</code>, and the <code>Nostro.Checkout</code> module with <code>--product=checkout</code> is removed. An app that had Nostro pay an order opens a <code>payto</code> link instead. It gets no answer back, and sees the payment arrive at its own bank.</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.0.0" date="2026-11-21">
|
||||
<description>
|
||||
<p>The first release: everything the nostro command does, in a window that fits a phone and a desktop.</p>
|
||||
|
|
|
|||
|
|
@ -367,7 +367,7 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> 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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue