Repository navigation
Releases
Releases · mdostal/mercatus-liber
v0.58.0: scheduled lines, Printful catalog browser, checkout recovery
The first tagged release. Everything from 2026-11-11 to 2026-11-23. The git tag and this heading
are the project's version; the packages' own package.json versions stay at 0.1.0 until they're
published to npm.
Added
- Scheduled lines and sale windows (#63–#71):
- Products and SKUs take
activeFrom/activeTo. Cart and checkout refuse what isn't on sale. lifecycle()in core says whether something is upcoming, active or ended.- Sales catalogs ("lines") have schedules, heroes, sections and landing pages.
- Search, promotions and BI work per line or category.
- Homepage marketing tiles carry
icidtracking. - The Store API and client get lines.
CountdownandSaleWindowcomponents; admin pages; agent tools.
- Products and SKUs take
- Printful catalog browser (#60–#62):
- Browse all of Printful's catalog (575 products, with an offline snapshot).
- Bring a product into the store, place and upload art per print area, and generate mockups.
- Publish when the art is ready.
- Admin components
CatalogGrid,CatalogItemDetail,PlacementArtEditorandMockupGallery. - A Postgres media store, and agent tools.
- Abandoned-checkout recovery (#74, #75, #76):
- Opt-in Stripe recovery links and promotional consent.
checkout.session.expiredbecomespayments.payment.expired, and the order becomesabandoned.checkout.order.abandonedcarriescanRemind.- Paying through the recovery link, or checking out the same cart again, completes or restarts
the order. - Inventory releases an abandoned order's stock.
- Paid orders record
marketingConsent.
- Card statement name (#76):
statementDescriptorSuffixon the Stripe adapter, checked against
Stripe's rules. - Measured products (#77): products built to the buyer's own measurements declare params
(numbers, choices, lists, divider lines).resolveLinevalidates them, andtoPrintOrder
writes them toprint-order/1. - Stripe collects the shipping address (#59), and each fulfillment adapter sends states the way
its provider wants. - Print art and admin components:
- Fulfillment and shipping:
unpublishProduct(#51) moves a product back to draft.- Sample health checks (#79): a scheduled job requests every sample store's pages every 6 hours
and opens asample-downissue when one fails.
Fixed
- Cart-wide discount codes are charged, not just previewed. Redemptions are counted across server
instances (#73). - Promotional consent is off by default. If Stripe refuses it, the session is created without it,
so checkout can't go down (#75). - The print-shop demo and the sitemap returned 500 when the CMS was read-only (#78).
- Demo seeds stop re-inserting bundles, rules, campaigns and reviews (#58).
- Printful order ids over 32 characters, durable self-shipped records, and retry-safe submit (#43).
Security
- Next.js 16.4.5, MCP SDK 1.32.2 and vitest 5.1.0, with transitive dependency floors raised (#57).
Installing the packed builds
The .tgz files below are every package, built. They aren't on npm yet. Each package depends on the others as @mercatus-liber/*@0.1.0, so install the ones you use together and point the internal dependencies at the files, for example with pnpm:
"pnpm": { "overrides": {
"@mercatus-liber/core": "file:./vendor/mercatus-liber-core-v0.58.0.tgz",
"@mercatus-liber/catalog": "file:./vendor/mercatus-liber-catalog-v0.58.0.tgz"
} }Or use the monorepo directly: see Getting started. Docs for every package: docs site → Packages. Sample stores: commerce.mdostal.com.