Skip to content

Releases: wrk-flow/larastrict

v0.0.67

24 Jul 09:37
e99a21e
Compare
Choose a tag to compare

✨ New Features

  • e99a21e - Database: Add ability to force null values to 0.0 when using FloatCast (commit by @pionl)

v0.0.66

08 Jul 15:18
0583ac8
Compare
Choose a tag to compare

✨ New Features

  • 0583ac8 - Database: Add OrderByValuesScope for ordering by values in given order (commit by @pionl)

v0.0.65

30 Jun 14:30
62869c3
Compare
Choose a tag to compare

✨ New Features

  • 62869c3 - Testing: ModelResourceTestCase allows entity in resource (commit by @pionl)

v0.0.64

30 Jun 07:56
34af3f0
Compare
Choose a tag to compare

💥 BREAKING CHANGES

  • due to 780f59a - ResourceTestCase $object supports mixed type or closure (commit by @pionl):

    Update createResource typehint to mixed.

  • due to e3bf3ec - Add support for setting container to collection of resources (commit by @pionl):

    If you pass container and do not use JsonResource exception will be thrown.

  • due to 20b1ff4 - Move mockery to ModelResourceTestCase (commit by @pionl):

    ResourceTestCase does not include Mockery. Use this if needed

        use MockeryPHPUnitIntegration;  
        use MockeryTestCaseSetUp;  
        protected function mockeryTestSetUp(): void  
        {  
            $this->mockModels();  
        }  
        protected function mockeryTestTearDown(): void  
        {  
        }  
  • due to 99006bf - PHPStorm run for ResourceTestCase with single data entry test (commit by @pionl):

    to allow running single data test in PHPStorm, test function was removed.
    To run tests add this method when extending the TestCase.

        /**  
         * @param \Closure(static):void $assert  
         * @dataProvider data  
         */  
        public function test(\Closure $assert): void  
        {  
            $assert($this);  
        }  

✨ New Features

  • 3e7b7e9 - Http: Update MessageResource to use own JsonResource (commit by @pionl)
  • 780f59a - Testing: ResourceTestCase $object supports mixed type or closure (commit by @pionl)
  • e3bf3ec - Http: Add support for setting container to collection of resources (commit by @pionl)
  • 20b1ff4 - Testing: Move mockery to ModelResourceTestCase (commit by @pionl)
  • 34af3f0 - Http: Add resourceArray to JsonResource/ResourceTestCase (commit by @pionl)

🐛 Bug Fixes

  • 99006bf - Testing: PHPStorm run for ResourceTestCase with single data entry test (commit by @pionl)

✅ Tests

v0.0.63

28 Jun 19:29
6e9a475
Compare
Choose a tag to compare

✨ New Features

  • 2573fce - Http: Add JsonResource that can create instances (with unit testing) (commit by @pionl)
  • 882c3b5 - Testing: Add a unit test case for quick testing of resources (commit by @pionl)
  • 6e9a475 - Testing: Add ability to test models without Laravel framework (commit by @pionl)

v0.0.62

27 Jun 20:21
Compare
Choose a tag to compare

🐛 Bug Fixes

  • c30fc9c - Testing: Upgrade Laravel assert (construct, nullable, remove array_values) (commit by @pionl)

v0.0.61

27 Jun 16:46
Compare
Choose a tag to compare

💥 BREAKING CHANGES

  • due to acc90a9 - AssertExpectations automatically checks if expectations were called (commit by @pionl):

Due the changes the expectation logic has been changed and you need to update your code. How to migrate in PR #40

✨ New Features

  • acc90a9 - Testing: AssertExpectations automatically checks if expectations were called (commit by @pionl)

v0.0.60

23 Jun 15:09
b35f53d
Compare
Choose a tag to compare

✨ New Features

  • b35f53d - Testing: AssertEventListeners: Prevent other listeners to be fired (commit by @pionl)

v0.0.59

23 Jun 13:12
c7b8e75
Compare
Choose a tag to compare

✨ New Features

  • c7b8e75 - Database: Store database like value and add null support to FloatCast (commit by @pionl)

v0.0.58

22 Jun 13:32
Compare
Choose a tag to compare

🐛 Bug Fixes

  • 21c5a53 - Testing: Fix missing UrlGenerator and add tests (commit by @pionl)