Inverse 0.9.0 is the release candidate for 1.0. @sweberdev/inverse and @sweberdev/inverse-react are on npm under the MIT licence, and the Pro packages are updated on GitHub Packages for licence holders. Nothing breaks: 0.8.0 code keeps working as it is.
What is in 0.9.0
- API freeze. A test in every package lists the public exports. From 1.0 removing or renaming one needs a major version. The stability page says what the promise covers (exports, options, response bodies, ledger format, CLI flags), what may change in a minor version (texts that follow the law, report layouts) and how deprecations work.
- Austria. A new page says what Inverse covers for shops selling to customers in Austria and what it does not claim: it does not quote Austrian sections and makes no statement that Austria has a duty equivalent to the German cancellation button. Check the current rules with your counsel.
- Upgrade guide. Upgrading to 1.0: code that runs on 0.9 runs on 1.0 without changes.
pnpm add @sweberdev/inverse@^0.9.0 @sweberdev/inverse-react@^0.9.0
Docs: packages.sweber.dev/inverse/docs. Try the flows in the demo.
Inverse Pro 0.9.0
- Audit report as PDF.
inverse-audit --pdf report.pdfwrites the report as an A4 PDF without a browser, with your brand in the header;--pdf-dirwrites one per site for agencies. - Ending a subscription.
cancelSubscription({ provider: "stripe" | "paddle", ... })ends a subscription at the payment provider after a cancellation: at period end, immediately, or on a date at Stripe. It changes real subscriptions, so run it after a person has looked at the declaration, and try it with test keys first.
Inverse Pro is available on the package page, from CHF 19 a month.