Releases: getcandy/core
Releases · getcandy/core
v2.0-beta15
Fixed
doctrine/dballocked to3.3.7due to issue with Sqlite
v2.0-beta14
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.
$metawill now be casted to anarraycorrectly when updating aCartLine.macroson models now reference the correct class to prevent side effects.
Changed
- Saved carts have been removed from the core
- Removed macro functionality from the
BaseModelinto it's own trait. - The
last_fourcolumn on transactions is now nullable. - The
overridemethod 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
Apply fixes from StyleCI
2.0-beta13.1
See admin change log for changes.
2.0-beta13
Added
- Added support to allow the scout driver to be defined per model.
- Added
addLinesmethod to theCartManagerthat 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.
savedCartrelationship has been added to theCartmodel.- Incorrect price when currency has zero decimal places.
- The
last_fourcolumn has been changed to aVARCHAR(#282). - When adding a purchasable to the cart, a potential difference in key order for meta is taken into account. #271
2.0-beta12
Changed
- The method
releasedon Payment Drivers has been renamed toauthorize GetCandy\Base\DataTransferObjects\PaymentReleasehas been renamed toGetCandy\Base\DataTransferObjects\PaymentAuthorize
2.0-beta11
Added
- Added
createOrder($forget = true)method to theCartSessionfacade. - Added
activescope to theCartmodel 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.phpconfig. - You can now specify a URL generator when creating records that use the
HasUrlstrait. - 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:indexcommand 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
CartSessionAuthListenerwill now check for an active cart, rather than just grabbing the latest. (#186) Dropdown,ListFieldandNumberfield types now implement theJsonSerializableinterface.- 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:setupit will now wait for a period whilst the index is created before continuing. By @lucasvmds translatemethod will now consider non array values passed and use the$localeparameter correctly #251. By @armezit
Changed
- When generating media conversions, the original file format is now kept. By @lucasvmds
- Quantity column on
cart_linesandorder_linestable is now of typeunsignedInteger.
2.0-beta10.1
Apply fixes from StyleCI
2.0-beta10
Added
- Added support for Laravel 9
- Added new
TaxBreakdownandTaxBreakdownAmountData Transfer Objects. (#173) - Added
setCartLinemethod to the system tax driver. (#173) - GetCandy will now automatically prefer multiple default addresses for shipping and billing. By @nicolalazzaro
Changed
- The
taxBreakdownmethod on the tax driver now uses Data Transfer Objects. (#173) - The
CalculateLineaction 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
bootmethod of the service providers. By @edcoreweb - The Cart actions to calculate the totals will now use the
Taxesfacade correctly.
2.0-beta9
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.
ProductandProductOptionmodels will now take the Scout prefix config setting on the indexes.- The
Textfield 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:setuponly 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
Taxesfacade to ensure theTaxManagercan be easily extended. (#129) collectionsrelationship has been added to theProductmodel. By (@poppabear8883)- GetCandy's models now support have added macro support. By (@edcoreweb)
Changed
- Instead of assuming
$user->idwe know use$user->getKey(). By (@ryanmitchell) - Big maintainence update to the Docblocks across the codebase to help with IDE support. By (@KKSzymanowski)