Skip to content

Releases: hnhdigital-os/laravel-helper-collection

v3.0.3

17 Aug 04:10
45cd622
Compare
Choose a tag to compare

Full Changelog: 3.0.2...3.0.3

v3.0.2

11 May 04:08
597d671
Compare
Choose a tag to compare
Update composer.json

v3.0.1

11 May 04:06
bf875bf
Compare
Choose a tag to compare

Update to support Laravel 10

v3.0.0

11 May 03:29
7e610fa
Compare
Choose a tag to compare

Updated to Laravel 9

v2.0.2

19 Sep 00:42
Compare
Choose a tag to compare
Improved return types

v2.0.1

21 Aug 13:34
Compare
Choose a tag to compare
Made method compatible

v2.0.0

16 Aug 05:16
cda53a2
Compare
Choose a tag to compare
Merge pull request #8 from hnhdigital-os/analysis-BMa2Mg

Apply fixes from StyleCI

v1.3.0

14 Jul 01:47
Compare
Choose a tag to compare

Fixed the UuidTrait migration traits namespace.

Deprecation Notice: Class HnhDigital\HelperCollection\UuidTrait located in ./vendor/hnhdigital-os/laravel-helper-collection/src/Migrations/UuidTrait.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0.

v1.2.5

14 Jul 01:38
Compare
Choose a tag to compare

HasCompositePrimaryKey has updated instructions due to an error that occurs when no results are found.

Illuminate\Database\Eloquent\Model and Illuminate\Database\Eloquent\Concerns\HasAttributes define the same property ($mutatorCache) in the composition of App\Models\TechDataStockSummary. However, the definition differs and is considered incompatible.

By declaring the $mutatorCache in the top level model seems to resolve this.

use App\Models\Traits\SummaryKeyTrait;
use HnhDigital\HelperCollection\Traits\HasCompositePrimaryKey;
use Illuminate\Database\Eloquent\Concerns\HasAttributes;
 
class Classname
{
      use HasAttributes, HasCompositePrimaryKey {
         HasAttributes::getAttribute as eloquentGetAttribute;
         HasCompositePrimaryKey::getAttribute insteadof HasAttributes;
     }
 
     use SummaryKeyTrait;
 
     protected static $mutatorCache = [];
}

v1.2.4

17 Feb 11:40
Compare
Choose a tag to compare
Add getAttribute method override when using a composite key