Releases: getcandy/core
Releases · getcandy/core
v2.0-beta15
Fixed
doctrine/dbal
locked to3.3.7
due 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.
$meta
will now be casted to anarray
correctly when updating aCartLine
.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
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
addLines
method to theCartManager
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 theCart
model.- Incorrect price when currency has zero decimal places.
- The
last_four
column 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
released
on Payment Drivers has been renamed toauthorize
GetCandy\Base\DataTransferObjects\PaymentRelease
has been renamed toGetCandy\Base\DataTransferObjects\PaymentAuthorize
2.0-beta11
Added
- Added
createOrder($forget = true)
method to theCartSession
facade. - Added
active
scope to theCart
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
andNumber
field types now implement theJsonSerializable
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
andorder_lines
table is now of typeunsignedInteger
.
2.0-beta10.1
Apply fixes from StyleCI
2.0-beta10
Added
- Added support for Laravel 9
- Added new
TaxBreakdown
andTaxBreakdownAmount
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
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
andProductOption
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 theTaxManager
can be easily extended. (#129) collections
relationship has been added to theProduct
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)