Umbraco Commerce
CMSCloudHeartcoreDXP
15.latest
15.latest
  • Umbraco Commerce Documentation
  • Release Notes
    • v15.1.0-Rc
    • v15.0.0-Rc
  • Commerce Products
    • Commerce Packages
    • Commerce Payment Providers
    • Commerce Shipping Providers
  • Getting Started
    • Requirements
    • Installation
    • Licensing
    • Configuration
    • User Interface
  • Upgrading
    • Upgrading Umbraco Commerce
    • Version Specific Upgrade Notes
    • Migrate from Vendr to Umbraco Commerce
      • Migrate Umbraco Commerce Checkout
      • Migrate custom Payment Providers
  • Tutorials
    • Build a Store in Umbraco using Umbraco Commerce
      • Installation
      • Creating a Store
        • Configuring your Store
      • Creating your first Product
      • Implementing a Shopping Cart
        • Using the Umbraco.Commerce.Cart Drop-in Shopping Cart
        • Creating a Custom Shopping Cart
      • Implementing a Checkout Flow
        • Using the Umbraco.Commerce.Checkout Drop-in Checkout Flow
        • Creating a Custom Checkout Flow
      • Configuring Store Access Permissions
  • How-To Guides
    • Overview
    • Configure SQLite support
    • Use an Alternative Database for Umbraco Commerce Tables
    • Customizing Templates
    • Configuring Cart Cleanup
    • Limit Order Line Quantity
    • Implementing Product Bundles
    • Implementing Member Based Pricing
    • Implementing Dynamically Priced Products
    • Implementing Personalized Products
    • Implementing a Currency Switcher
    • Building a Members Portal
    • Order Number Customization
    • Sending Payment Links to Customers
    • Create an Order via Code
  • Key Concepts
    • Get to know the main features
    • Base Currency
    • Calculators
    • Currency Exchange Rate Service Provider
    • Dependency Injection
    • Discount Rules / Rewards
    • Events
      • List of validation events
      • List of notification events
    • Fluent API
    • Order Calculation State
    • Payment Forms
    • Payment Providers
    • Pipelines
    • Price/Amount Adjustments
    • Price Freezing
    • Product Adapters
    • Product Bundles
    • Product Variants
      • Complex Variants
    • Properties
    • ReadOnly and Writable Entities
    • Sales Tax Providers
    • Search Specifications
    • Settings Objects
    • Shipping Package Factories
    • Shipping Providers
    • Shipping Range/Rate Providers
    • Tax Sources
    • UI Extensions
      • Analytics Widgets
      • Entity Quick Actions
      • Order Line Actions
      • Order Properties
      • Order Collection Properties
      • Order Line Properties
      • Store Menu Items
    • Umbraco Properties
    • Unit of Work
    • Umbraco Commerce Builder
    • Webhooks
  • Reference
    • Stores
    • Shipping
      • Fixed Rate Shipping
      • Dynamic Rate Shipping
      • Realtime Rate Shipping
    • Payments
      • Configure Refunds
      • Issue Refunds
    • Taxes
      • Fixed Tax Rates
      • Calculated Tax Rates
    • Storefront API
      • Endpoints
        • Order
        • Checkout
        • Product
        • Customer
        • Store
        • Currency
        • Country
        • Payment method
        • Shipping method
        • Content
    • Management API
    • Go behind the scenes
    • Telemetry
Powered by GitBook
On this page
  • Key Takeaways
  • Async
  • Previous behavior
  • New behavior
  • Storefront API
  • Umbraco v15 updates
  • What to Test and How to Give Feedback

Was this helpful?

Edit on GitHub
Export as PDF
  1. Release Notes

v15.0.0-Rc

Umbraco Commerce v15.0.0-rc release notes.

Umbraco Commerce v15.0.0-rc is the initial release of Umbraco Commerce for Umbraco CMS v15.

Key Takeaways

  • Everything is now async.

  • Storefront API aligned with Management API

  • A number of Umbraco v15 updates.

Async

The key focus of this release is the move to a fully asynchronous code base. To reduce the maintenance burden, the decision was made to go fully async without maintaining backward compatibility. This will therefore require code updates to use the new async methods.

Previous behavior

Previously all C# API's were synchronous and thus blocking by nature.

// Fluent API example
order.AddProduct(productRef, 1)
  .SetPaymentMethod(paymentMethodId)
  .SetShippingMethod(shippingMethodId);

// Service method examples
orderService.SaveOrder(order);
emailTemplateService.SendEmail(emailTemplateId, order);

// Notification events
public class MyNotification : NotificationEventHandlerBase<OrderFinalizedNotification>
{
  public override void Handle(OrderFinalizedNotification evt)
  {
      // Implement your custom logic here
  }
}

New behavior

All APIs are now asynchronous and thus are suffixed with Async and return a Task result.

// Fluent API example
await order.AddProductAsync(productRef, 1)
  .SetPaymentMethodAsync(paymentMethodId)
  .SetShippingMethodAsync(shippingMethodId);

// Service method examples
await orderService.SaveOrderAsync(order);
await emailTemplateService.SendEmailAsync(emailTemplateId, order);

// Notification events
public class MyNotification : NotificationEventHandlerBase<OrderFinalizedNotification>
{
  public override Task HandleAsync(OrderFinalizedNotification evt, CancelationToken cancelationToken)
  {
      // Implement your custom logic here
  }
}

Storefront API

Implementing the Management API in v14 provided valuable insights into API structure. Common models were identified between the Management API and the Storefront API. To aid with maintenance and align approaches, the Storefront API was updated to reflect similar patterns.

The API will largely remain the same, with the main change being updated operation IDs for compatibility with client generators.

Umbraco v15 updates

In addition to the asynchronous work, Umbraco Commerce v15 has been updated to depend on Umbraco v15, which includes the following updates:

  • Runs against .NET 9

  • Variants property editor supports content variants

What to Test and How to Give Feedback

We welcome any feedback on installation or upgrade issues, as well as any bugs found in the sections mentioned above.

Issues can be raised on the Umbraco Commerce issue tracker at https://github.com/umbraco/Umbraco.Commerce.Issues/issues.

Previousv15.1.0-RcNextRequirements

Last updated 7 months ago

Was this helpful?