Skip to content

Latest commit

 

History

History
212 lines (132 loc) · 9.5 KB

CHANGELOG.md

File metadata and controls

212 lines (132 loc) · 9.5 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

2.0-beta13 - 2022-05-19

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.
  • 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

Changed

View Changes

2.0-beta12 - 2022-04-08

Changed

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

View Changes

2.0-beta11 - 2022-04-04

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 - 2022-02-18

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.

View Changes

2.0-beta9 - 2022-02-11

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 fieldtype 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 maintenance update to the Docblocks across the codebase to help with IDE support. By (@KKSzymanowski)

View Changes

2.0-beta8 - 2022-02-01

Fixed

  • Added missing HasTranslations trait to ProductVariant 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 the Url model.
  • Added a new defaultUrl relationship to models using the HasUrls trait.
  • Added new PricingManager class to deal with price fetching on purchasable objects.
  • Allow hub path to be configurable in system config. By (@ryanmitchell)

View Changes

2.0-beta7 - 2022-01-19

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 implements JsonSerializable interface (#50).
  • Core tests now use the correct User model stub when running. By @joelwmale
  • When creating a product, prices were being added twice. This should be resolved.
  • When adding a cart line, meta fields were causing lines to be duplicated, this should be resolved.

Changed

  • Models that have channels now implement start_at and end_at columns. This replaces the previous published_at column.
  • Laravel UI modal components removed.
  • Description attribute is no longer required or a system attribute on install.

Added

  • Added a new default column to the tax_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.

View Changes

2.0-beta5 - 2022-01-10

Fixed

  • Added check on customers for when using MySQL search driver to prevent undefined columns #40.

Changed

  • Changed https to http on country import due to issues with local environment CA installations.

2.0-beta4 - 2022-01-07

Fixed

  • Fixes Issue 24 where URL relationship is elements when it should be element.
  • Fixed an issue where now()->year would return an int on single digit months, but we need to have a leading zero.

Changed

  • Customers meta column now uses Laravel's casts property and is cast to an object.

Added

  • Made customers searchable via Scout.
  • Added addresses relationship to the customer model.

View Changes

2.0-beta3 - 2021-12-24

Fixed

  • Fixed and issue where the meilisearch set up wasn't creating the indexes it needed if they didn't exist.

View Changes

2.0-beta2 - 2021-12-23

Fixed

  • Default currency has enabled set to true.

Changed

  • Install command no longer publishes hub assets

Added

  • Added a default CollectionGroup.

View Changes

2.0-beta - 2021-12-22

Initial release.