Skip to content

Releases: MichaelBelgium/LaravelShoppingcart

Laravel 10

21 Feb 00:58
Compare
Choose a tag to compare
Laravel 10 Pre-release
Pre-release

This release adds support for laravel 10 and upcoming laravel versions. For lower laravel versions you can use version 4.0.0.

Version 5.x includes several breaking changes! Test before using it in production

Changes so far in 5.x:

  • Laravel 10 support
  • Typed properties/returns/parameters in several classes
  • Rewrote the cost implementation and added tests for it
  • Specified available methods in the Cart facade, to help productivity in IDE's and other programs for code completion
  • Adds/changes to Cart::total(), Cart::totalFormat(), Cart::tax(), Cart::taxFormat(), Cart:subtotal(), Cart::subtotalFormat()

Full Changelog: 4.0.0...5.0.5

v2.6.2

02 Feb 13:04
Compare
Choose a tag to compare

Small BC Break

  • Renamed setCost to addCost

Fixes

  • Spelling mistakes
  • Tax rounding issue (alternative to pull request #1)

Improvements

  • Docblocks
  • Behind the scenes: variable $extraCosts is now a collection (from Illuminate namespace)