Skip to content

Releases: getcandy/core

v2.0-beta15

10 Aug 12:29
2fe9a48
Compare
Choose a tag to compare

Fixed

  • doctrine/dbal locked to 3.3.7 due to issue with Sqlite

v2.0-beta14

04 Aug 10:07
14c70fd
Compare
Choose a tag to compare

Added

  • Migrations are now publishable under the tag getcandy-migrations

Fixed

  • FieldTypes which have an empty value will now return suitable defaults.
  • Issues with floating point rounding on prices should now be resolved.
  • $meta will now be casted to an array correctly when updating a CartLine.
  • macros on models now reference the correct class to prevent side effects.

Changed

  • Saved carts have been removed from the core
  • Removed macro functionality from the BaseModel into it's own trait.
  • The last_four column on transactions is now nullable.
  • The override method for Order reference generators has been removed in favour of a config based approach.
  • The OrderReferenceGenerator has now been moved into the config to be more inline with future releases

2.0-beta13.2

23 Jun 07:13
8625016
Compare
Choose a tag to compare
Apply fixes from StyleCI

2.0-beta13.1

20 May 10:58
6943d4a
Compare
Choose a tag to compare

See admin change log for changes.

2.0-beta13

19 May 13:51
37ea94e
Compare
Choose a tag to compare

Added

  • Added support to allow the scout driver to be defined per model.
  • Added addLines method to the CartManager that allows for multiple items to be added to the cart.

Fixed

  • If a fieldtype class no longer exists, the editing pages will now remove it and prevent the associated errors.
  • Added support to allow the scout driver to be defined per model.
  • savedCart relationship has been added to the Cart model.
  • Incorrect price when currency has zero decimal places.
  • The last_four column has been changed to a VARCHAR (#282).
  • When adding a purchasable to the cart, a potential difference in key order for meta is taken into account. #271

2.0-beta12

08 Apr 11:13
cb98495
Compare
Choose a tag to compare

Changed

  • The method released on Payment Drivers has been renamed to authorize
  • GetCandy\Base\DataTransferObjects\PaymentRelease has been renamed to GetCandy\Base\DataTransferObjects\PaymentAuthorize

2.0-beta11

04 Apr 13:08
c0ad168
Compare
Choose a tag to compare

Added

  • Added createOrder($forget = true) method to the CartSession facade.
  • Added active scope to the Cart model for carts that do not have an order associated.
  • Added ability to tap into filterable, searchable and sortable fields in Scout.
  • Added convenient method to access pricing from product variants.
  • Added config/getcandy/urls.php config.
  • You can now specify a URL generator when creating records that use the HasUrls trait.
  • You can specify whether URLs are required throughout the system.
  • The database connection can now be specified for GetCandy's models in getcandy/database.php. By @ryanmitchell
  • Added getcandy:search:index command to reindex models based on options passed. By @lucasvmds
  • Added ability to format prices using different locales via the php NumberFormatter.
  • Added new clear() function to the CartManager.

Fixed

  • When a user logs in, the CartSessionAuthListener will now check for an active cart, rather than just grabbing the latest. (#186)
  • Dropdown, ListField and Number field types now implement the JsonSerializable interface.
  • When deleting a record that has URLs, if it wasn't soft deleted, there is now a clean up routine to remove any existing URLs
  • When running the getcandy:meilisearch:setup it will now wait for a period whilst the index is created before continuing. By @lucasvmds
  • translate method will now consider non array values passed and use the $locale parameter correctly #251. By @armezit

Changed

  • When generating media conversions, the original file format is now kept. By @lucasvmds
  • Quantity column on cart_lines and order_lines table is now of type unsignedInteger.

View Changes

2.0-beta10.1

19 Feb 09:24
b7e6315
Compare
Choose a tag to compare
Apply fixes from StyleCI

2.0-beta10

18 Feb 13:33
647306d
Compare
Choose a tag to compare

Added

  • Added support for Laravel 9
  • Added new TaxBreakdown and TaxBreakdownAmount Data Transfer Objects. (#173)
  • Added setCartLine method to the system tax driver. (#173)
  • GetCandy will now automatically prefer multiple default addresses for shipping and billing. By @nicolalazzaro

Changed

  • The taxBreakdown method on the tax driver now uses Data Transfer Objects. (#173)
  • The CalculateLine action will now take in to account whether a unit price has already been set. By @ryanmitchell

Fixed

  • GetCandy will now register it's bindings in the boot method of the service providers. By @edcoreweb
  • The Cart actions to calculate the totals will now use the Taxes facade correctly.

2.0-beta9

11 Feb 14:41
c5edd95
Compare
Choose a tag to compare

Fixed

  • If an attribute value is null it will be returned instead of the {"en": null} encoded string. (#130)
  • When loading an exiting product with channel availability, the scheduling modal should no longer display without prompt.
  • Product and ProductOption models will now take the Scout prefix config setting on the indexes.
  • The Text field type tolerance now accepts numeric values instead of just forcing strings.
  • Translating an attribute via ->translateAttribute('name') will now handle non translatable fields for consistency.
  • When using the getcandy:meilisearch:setup only indexes available within the app should be affected.
  • When installing GetCandy the correct configuration or rich text fields should now be applied. By (@KKSzymanowski)

Added

  • Added Taxes facade to ensure the TaxManager can be easily extended. (#129)
  • collections relationship has been added to the Product model. By (@poppabear8883)
  • GetCandy's models now support have added macro support. By (@edcoreweb)

Changed

  • Instead of assuming $user->id we know use $user->getKey(). By (@ryanmitchell)
  • Big maintainence update to the Docblocks across the codebase to help with IDE support. By (@KKSzymanowski)

View Changes