Skip to content

Releases: wrk-flow/larastrict

v0.0.72

11 Nov 12:39
942323d
Compare
Choose a tag to compare

🐛 Bug Fixes

  • 942323d - Testing: Fix assert listener when closure listener is registered (commit by @pionl)

v0.0.71

12 Oct 14:20
e20cea1
Compare
Choose a tag to compare

✨ New Features

  • e20cea1 - Core: Add contract for sleep service with no sleep implementation in tests (commit by @pionl)

v0.0.70

05 Sep 18:26
872fe0c
Compare
Choose a tag to compare

✨ New Features

  • 60da0a8 - Testing: GateAssert->authorize now throws exception if false response is returned (commit by @pionl)
  • 872fe0c - Testing: CreateRequest now accept user parameter that is passed to request (commit by @pionl)

v0.0.69

24 Jul 15:40
ecbd60b
Compare
Choose a tag to compare

💥 BREAKING CHANGES

  • due to ecbd60b - Add ability to create request without Laravel container (commit by @pionl):

    createPostRequest has been renamed to createAndValidateRequest

✨ New Features

  • ab64cfa - Testing: Move MockModels to Testing/Concerns namespace (commit by @pionl)
  • ecbd60b - Testing: Add ability to create request without Laravel container (commit by @pionl)

v0.0.68

24 Jul 13:40
1d55e84
Compare
Choose a tag to compare

✨ New Features

  • 1d55e84 - Testing: Add AssertProviderPolicies for testing policies (commit by @pionl)

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)