Releases: getcandy/core
Releases · getcandy/core
2.0-beta8
Fixed
- Added missing
HasTranslations
trait toProductVariant
model.
Changed
- When adding addresses via the
CartManager
we update any existing addresses rather than removing and re adding. - When generating handles for models, we have moved to a forced
snake
case. i.e.some_handle
. By @itcyborg
Added
- Added
scopeDefault
to theUrl
model. - Added a new
defaultUrl
relationship to models using theHasUrls
trait. - Added new
PricingManager
class to deal with price fetching on purchasable objects. - Allow hub path to be configurable in
system
config. By (@ryanmitchell)
2.0-beta7
Fixed
- When translating an attribute, if we can't find a translation, we default to whatever the FieldType gives back instead of erroring.
TranslatedText
fieldtype now implementsJsonSerializable
interface (#50).
Changed
- Models that have channels now implement
start_at
andend_at
columns. This replaces the previouspublished_at
column. - Laravel UI modal components removed.
Added
- Added a new
default
column to thetax_classes
table. - Added
customer_id
to orders so an order has a 1:1 relation to a customer. (#73). - Created the
AttributeManifest
class so dev's can add their own attributable classes. - Created the
FieldTypeManifest
class so dev's can add custom FieldTypes to the store. - Added
$table->userForeignKey()
macro for migrations that create foreign keys which reference a user id.
2.0-beta5
2.0-beta4
Added
- Made customers searchable via Scout
- Added Addresses relationship to the customer model
Changed
- Customers
meta
column now uses Laravel'scasts
property and is cast to an object.
Fixes
- Fixes Issue 24 where URL relationship is
elements
when it should beelement
- Fixed an issue where
now()->year
would return an int on single digit months, but we need to have a leading zero.
2.0-beta3
What's Changed
Fixes
- Fixed and issue where the meilisearch set up wasn't creating the indexes it needed if they didn't exist.
2.0-beta2
Release/beta2 (#3) * Don't publish hub resources * Make sure currency is set to enabled * Add a collection group on install
2.0-beta
Merge branch 'main' of https://github.com/getcandy/core