Skip to content

Releases: unchainedshop/unchained

Unchained Engine & Control Panel 0.25.0

19 Mar 15:20
Compare
Choose a tag to compare

v0.25.0

BREAKING CHANGES:

  • All Quotation API's and Plugins work differently then before
  • Delivery Adapter context has changed, please test your Delivery Plugins
  • Payment Adapter context has changed, please test your Payment Plugins

Minor changes:

  • Beta quotations (@pozylon)
  • Sets Body Parser Limit explicitly to 5mb
  • Fixes setPassword regression
  • Fixes document generation crashed when the document plugin did not implement all needed generator functions
  • Adds initial password logic that can be used for guest -> user transformation
  • Delivery Adapters can now control if an order get's automatically sent when prerequisites are met or if the order needs to be confirmed manually
  • New Cart Product resolve logic. See readme for explanation.
  • Fixes emptyCart mutation crashes when there is no cart

Schema changes

Extended (breaking)

  • emptyCart can return null now

Extended (non-breaking):

  • confirmOrder now optionally takes orderContext and deliveryContext
  • Quotation gets new fields "product", "expires", isExpired and "configuration"
  • User gets new fields "isInitialPassword" and "quotations"
  • OrderDocumentTypes now have a value OTHER that can be used for arbitrary documents
  • Media gets new field "meta"
  • OrderItem gets new fields "originalProduct" and "quotation"

New mutations:

  • addCartQuotation(orderId, quotationId, quantity, configuration)
  • verifyQuotation(quotationId, quotationContext)
  • rejectQuotation(quotationId, quotationContex)
  • makeQuotationProposal(quotationId, quotationContext)

New queries:

  • quotations(limit, offset)
  • quotation(quotationId)

Unchained Engine & Control Panel 0.24.0

04 Mar 23:06
Compare
Choose a tag to compare

Republish with various critical fixes

Unchained Engine & Control Panel 0.23.0

04 Mar 12:40
Compare
Choose a tag to compare

# 0.23.0

Awesome contributions by @macrozone, thank you very much!

Schema changes

Removed (BREAKING):

  • captureCart (has never been implemented)

Renamed (BREAKING):

  • checkout to checkoutCart
  • input type FilterQuery to FilterQueryInput
  • input type ProductConfigurationParameter to ProductConfigurationParameterInput
  • input type HashedPassword to HashedPasswordInput
  • OrderItemConfiguration -> ProductConfigurationParameter
  • updateOrder to updateCart
  • Order.address to Order.billingAddress
  • Parameter address to billingAddress in updateCart

New order manipulating mutation parameters in preparation of "multi-cart":

  • updateCart: new optional orderId
  • checkoutCart: new optional orderId
  • addCartProduct: new optional orderId
  • addCartDiscount: new optional orderId

New mutations:

  • emptyCart(orderId: ID)
  • createProductBundleItem
  • removeBundleItem