Spree 6.0.6
A patch release that brings Adyen back to Spree 6 as a first-party payment provider, released with Spree like Stripe and PayPal. Payments can now wait for a provider to confirm a capture, void or refund, and the admin shows them as requested until it does. It also adds a store.updated webhook and fixes order payments, captures, emails, storefront filters and inventory screens.
npx spree upgrade✨ New features
- Adyen payments. Cards, wallets and local payment methods through Adyen Drop-in, with saved cards, the store's capture setting and webhook-confirmed captures, cancellations and refunds. Saving the payment method sets up Adyen's webhook and keys for you. #15271 by @mad-eel
- Payments that wait for the provider. When a provider accepts a capture, void or refund and confirms it later, the payment shows "Capture requested" or "Void requested" until the answer arrives, and its details list each refund with its status and, for a failed one, the provider's reason. Totals count only money the provider has confirmed. #15271 by @mad-eel
store.updatedwebhook. Sent each time the store's settings are saved, including a translation or the logo, so a storefront can refresh its cached store name, SEO fields and logo. #15283- Smarter report time ranges for agents. The reporting agent tool picks an hour, day, week or month grain that fits the requested time range when none is given. #15269
🧭 Admin dashboard improvements
- Inventory and purchase orders. The Overdue and Past cancel-by filters work both ways, the Columns picker can show Cancel by, Overdue and Past cancel-by, a unit cost typed with a comma ("3,80") is read correctly in every browser, and Create transfer from an Inventory row lets you choose where the stock leaves from. #15195 by @mad-eel
- Save errors you can see. Add discount, Add fee, Add payment, Split fulfillment, customer group and company members, stock levels and suppliers show why a save failed instead of doing nothing, and messages raised over a sheet or dialog now appear above it. #15195 by @mad-eel
- Gift card, discount code and store credit errors. The dialogs show the reason a gift card, discount code or store credit payment was refused. #15255 by @KacperMekarski
- Card checks that did not run. A payment's details show "Not available" instead of "Did not pass" when the address or security code check was never run by the card issuer. #15265
- Order manager role. Staff with the Order manager role template can find products to add to an order, and a role without access to products is told why the product search is disabled. #15237
🐛 Bug fixes
- Saving any store settings page keeps the default market's currency and language instead of switching them back to their setup values. #15289
- Several payments on one order no longer cancel each other, and a new payment defaults to what is left to pay. #15242
- A capture never takes more than the order still owes, and an authorization left over after a partial capture is reduced or voided to match. #15287
- Canceling an order paid by Stripe or PayPal keeps a captured payment completed, refunded or not. #15248
- A gift card that has been used can no longer have its amount or currency changed. #15277
- Storefront option filters such as Size count and list only variants a shopper can buy. #14962 by @mad-eel
- Searching for "1", "t", "true" or "false" in variant pickers and the order and returns lists works. #14955 by @mad-eel
- Filters are offered only for fields a record actually has, so filtering on one no longer fails. #15188
- Moving a category to the top level keeps its storefront address. #15284
- Changing an automatic collection's rule to another kind updates its products. #15274
- An approved seller product is listed on the store's default sales channel, so it shows on the storefront. #15251
- Copying a cart into a draft order keeps its purchase order number and document. #15247
- The products CSV export includes image URLs, so a re-import keeps product images. #15243
- The product Tax card lists a variant as having its own tax category only when it differs from the product's. #15282
- Reports that break promotion discounts down by product, seller or another dimension load. #15254
- The order confirmation email shows store credit, so its lines add up to the total. #15275
- The fulfillment email for an exchange names the replacement item that was shipped. #15276
- Return emails show the quantity and amount credited, not what was ordered. #15270 by @ifizza
- Store logos in emails stay sharp. #15268 by @ifizza
- Belarusian, Bulgarian and Russian translations no longer mix Latin letters into Cyrillic words. #15281 by @bardrop
⬆️ Upgrading from 5.x
- Stores on Adyen can upgrade to Spree 6: add
spree_adyenwithspree add adyen(the 0.x gem does not run on Spree 6), then run the upgrade. Themigrate_adyen_paymentsandconfigure_adyen_gatewayssteps move 5.x Adyen payments and webhooks to the 6.0 shape, and the Next.js storefront must be updated so Adyen sessions can be paid. See the Adyen section of the upgrade guide. #15271 by @mad-eel
🛠 Developer experience
- Action needed on 6.0 stores: this release adds a migration for capture and refund statuses. After
npx spree upgrade, runspree upgrade --step backfill_settlement_statuses(orSTEP=backfill_settlement_statuses bundle exec rake spree:upgrade) to mark existing captures and refunds completed. Totals read correctly until it runs. #15271 by @mad-eel - A custom payment gateway can answer that a capture, void or refund was requested and report the outcome later by webhook; the payments guide describes the contract. Six new webhook events (
payment.capture_requested,payment.capture_failed,payment.void_requested,payment.void_failed,refund.requested,refund.failed) are typed in@spree/sdk, and saved cards name theirpayment_method_id. #15271 by @mad-eel spree add adyeninstallsspree_adyenat the project's Spree version, and new projects from spree-starter include it. #15271spree_apirequires Typelizer 0.15, and the OpenAPI references describe cart requirements and warnings, product filters and id lists in full.CheckoutRequirementin@spree/sdkgainscode. #15256, #15258spree_coreexcludesregexp_parser2.13.2, which breaksjson_schemerat boot. #15254- Every npm package ships its
CHANGELOG.md. #15236
📚 Documentation
- The Adyen guide is rewritten for Spree 6, including the Customer Area settings to turn on. #15271 by @mad-eel
- The Shopify integration guide asks you to allowlist your servers' outbound IP addresses. #15232 by @KacperMekarski
- Fixed dead links to the seeds folder and the Stimulus docs. #15263 by @farisbasha
- The docs logo links to spreecommerce.org, and the old vendor onboarding page redirects to seller onboarding. #15279
📦 Package versions
| Package | Version |
|---|---|
| Spree gems | 6.0.6
|
@spree/sdk, @spree/admin-sdk, @spree/seller-sdk, @spree/core
| 6.0.6
|
@spree/dashboard, @spree/dashboard-core, @spree/dashboard-ui, @spree/seller-dashboard, @spree/dashboard-sentry
| 6.0.6
|
@spree/cli
| 3.8.1
|
create-spree-app
| 2.5.1
|
Full Changelog: v6.0.5...v6.0.6