All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.0.92 - 2025-01-02
v0.0.91 - 2024-12-02
v0.0.90 - 2024-11-25
v0.0.89 - 2024-11-22
a646777
- Http: support API versions with float + load also non-versioned routes file (commit by @pionl)
v0.0.88 - 2024-10-17
v0.0.87 - 2024-09-09
v0.0.86 - 2024-08-07
-
due to
a1a54e3
- Provide @template for JsonResource $resource for better type safe (commit by @pionl):PHPStan will now throw an error if you pass incorrect value to __construct or Resource::collection
- made setContainer/getContainer/resourceArray/instance final
a1a54e3
- PHPStan: Provide @template for JsonResource $resource for better type safe (commit by @pionl)
v0.0.85 - 2024-08-06
faa4bae
- ChunkWriteStateEntity: phpdoc (commit by @h4kuna)9816cf3
- CommandInQueue: update caseId (commit by @h4kuna)096ffce
- SqlTestEnable: add Attribute from PhpUnit (commit by @h4kuna)
v0.0.84 - 2024-07-30
7468a7c
- SqlTestEnable: add fake connector for sql lite (commit by @h4kuna)52fc7fa
- Testing: use native hooks instead of method overwrite (commit by @h4kuna)c6384f8
- Database: add ChunkWriteService (commit by @h4kuna)7709c76
- serialize: add dependency on h4kuna/serialize (commit by @h4kuna)
v0.0.83 - 2024-07-29
-
due to
d9e2469
- Fix deleting cache in context and drop tags usage by default (commit by @pionl):Drop default tag for context cache - Laravel offical recommendation is not to use tags with redis
v0.0.82 - 2024-03-08
v0.0.81 - 2024-02-28
v0.0.80 - 2024-02-28
v0.0.79 - 2024-02-28
v0.0.78 - 2024-02-28
v0.0.77 - 2024-02-06
v0.0.76 - 2023-12-11
9a1ddb6
- ServiceProvider: Add ability to get tagged classes of given implementation (commit by @pionl)
v0.0.75 - 2023-12-10
-
due to
7804785
- Improve PHPStan support for ContextEventsService (commit by @pionl):Dropped Closure event due the bad type usage
v0.0.74 - 2023-11-22
-
due to
dcb79f3
- OrderByValuesScope is now from ASC to DESC order of given values (commit by @pionl):Values must be ordered from prefered order to last wanted order (now it was incorrectly used)
dcb79f3
- Database: OrderByValuesScope is now from ASC to DESC order of given values (commit by @pionl)
v0.0.73 - 2023-11-16
c644785
- Testing: Internal variables for generated assert has prefix underscore (commit by @h4kuna)
v0.0.72 - 2023-11-11
v0.0.71 - 2023-10-12
e20cea1
- Core: Add contract for sleep service with no sleep implementation in tests (commit by @pionl)
v0.0.70 - 2023-09-05
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 - 2023-07-24
-
due to
ecbd60b
- Add ability to create request without Laravel container (commit by @pionl):createPostRequest has been renamed to createAndValidateRequest
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 - 2023-07-24
v0.0.67 - 2023-07-24
v0.0.66 - 2023-07-08
v0.0.65 - 2023-06-30
v0.0.64 - 2023-06-30
-
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); }
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)
v0.0.63 - 2023-06-28
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 - 2023-06-27
c30fc9c
- Testing: Upgrade Laravel assert (construct, nullable, remove array_values) (commit by @pionl)
v0.0.61 - 2023-06-27
- 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
acc90a9
- Testing: AssertExpectations automatically checks if expectations were called (commit by @pionl)
v0.0.60 - 2023-06-23
v0.0.59 - 2023-06-23
v0.0.58 - 2023-06-22
v0.0.57 - 2023-06-22
v0.0.56 - 2023-06-22
v0.0.55 - 2023-06-21
8ae2d7a
- Testing: Add ability to assert AppConfig (use AppConfigContract for implementation) (commit by @pionl)
v0.0.54 - 2023-06-09
4d75907
- Database: Allow all Laravel 9 versions (Fix PHPStan warnings) (commit by @pionl)8f48750
- Cache: Add @template return type to CacheMeServiceContract::get
v0.0.53 - 2023-06-02
v0.0.52 - 2023-06-01
v0.0.51 - 2023-05-25
a54eeb4
- Queue: Correctly ensure that queue is not overridden when using property (commit by @pionl)
v0.0.50 - 2023-05-25
v0.0.49 - 2023-05-19
-
due to
1742fcf
- Allow array arguments in queued command (commit by @pionl):low - ScheduleServiceService renamed to ScheduleService
v0.0.48 - 2023-05-12
v0.0.47 - 2023-05-11
v0.0.46 - 2023-05-04
07ea6d0
- Log: Add extra line for line/debug (commit by @pionl)1eed371
- Log: Do not show debug lines if verbosity is normal, hide output on quiet (commit by @pionl)
v0.0.45 - 2023-05-02
v0.0.44 - 2023-05-02
-
due to
30e3a0c
- Add ability to turn of log for get/set method (commit by @pionl):If you are extending CacheMeServiceContract then add new last parameter
bool $log = true
to set/get method. -
due to
0b1d41d
- Add ability to output LogInterface usage to console. (commit by @pionl):LogToOutputService and LoggerToOutputCommand removed (was not working).
30e3a0c
- Cache: Add ability to turn of log for get/set method (commit by @pionl)449ba5c
- Config: Add ability to set value (commit by @pionl)1c5c1c7
- Config: Add ability to provider app service provider config (commit by @pionl)1c5970b
- Docker: Add proper docker support for schedule (needs to be enabled) (commit by @pionl)0b1d41d
- Console: Add ability to output LogInterface usage to console. (commit by @pionl)
v0.0.43 - 2023-04-26
v0.0.42 - 2023-04-26
0d98c88
- Introduce EditorConfig (commit by @szepeviktor)77197b7
- Fix Markdown list (commit by @szepeviktor)a2f308d
- Run lint + fix test (commit by @pionl)
v0.0.41 - 2023-01-20
v0.0.40 - 2023-01-18
b0ec6a8
- Testing: Fix PHPStan warning when using null in multi function asserts (commit by @pionl)c674c4b
- Testing: Add TranslatorAssert for asserting translations (commit by @pionl)e02c81b
- Http: Add ability to return custom public message in json / views (commit by @pionl)
v0.0.39 - 2023-01-16
-
due to
1428244
- Add support for multiple listeners in assertEventListeners (commit by @pionl):assertEventListeners accepts list of contracts and their assert listener
v0.0.38 - 2023-01-16
v0.0.37 - 2023-01-12
-
due to
e69f381
- Add getOptional method to allow return null if translation is not set + support arrayable keys (commit by @pionl):AbstractTranslations: $key parameter in methods get/getChoice/getArray/getKey accepts string|array instead of string
e69f381
- Translations: Add getOptional method to allow return null if translation is not set + support arrayable keys (commit by @pionl)
v0.0.36 - 2022-12-23
-
due to
022b496
- ContextServiceContractGetExpectation createState removed and add ability to assert passed $createState (commit by @pionl):ContextServiceContractGetExpectation createState removed and add ability to assert passed $createState
022b496
- Testing: ContextServiceContractGetExpectation createState removed and add ability to assert passed $createState (commit by @pionl)
v0.0.35 - 2022-12-23
7a942e0
- Testing: Context getExpectation createState property is optional due the fact its not needed (commit by @pionl)
v0.0.34 - 2022-12-22
-
due to
4f8557c
- Add and use ContextServiceContract instead of a implementation class + improve phpstan support (commit by @pionl):AbstractContext uses ContextServiceContract instead of a class.
a904884
- Core: Make ImplementsService a singleton (commit by @pionl)7dfab17
- Testing: Add ability to run call closures in TestingContainer (commit by @pionl)4f8557c
- Context: Add and use ContextServiceContract instead of a implementation class + improve phpstan support (commit by @pionl)
v0.0.33 - 2022-12-19
-
due to
25b420d
- Adjust convention for boot pipes - use Boot prefix (commit by @pionl):Low conflict - Renamed LoadProviderRoutes Pipe to BootProviderRoutesPipe,
LoadProviderViewComponents Pipe to BootProviderViewComponents and
RegisterProviderPoliciesPipe to BootProviderPoliciesPipe
550ac67
- Testing: Add asserts for View and View\Factory contracts (commit by @pionl)44d355e
- Testing: Add assertCalled method for asserting if expectations were called (commit by @pionl)d05eb61
- Provider: Add ability to boot view composers using HasViewComposers interface (commit by @pionl)
v0.0.32 - 2022-12-15
v0.0.31 - 2022-12-14
v0.0.30 - 2022-12-14
-
due to
84a913a
- Pass method parameters to expectation hook. (commit by @pionl):hook closure now receives more properties (expectation is last).
v0.0.29 - 2022-12-14
d5b06d9
- Testing: Add ability to run hook on assert expectation (commit by @pionl)56e2e7e
- Testing: Commit SimpleActionContract assert for tests (commit by @pionl)
v0.0.28 - 2022-12-13
v0.0.27 - 2022-12-09
v0.0.26 - 2022-11-29
0ddebb8
- User: Add ability to auto login a user via Auto-Login header in local environment (commit by @pionl)
v0.0.25 - 2022-11-28
v0.0.24 - 2022-11-24
-
due to
b5852d7
- Add ability to change queue for queued commands (commit by @pionl):minor impact, scheduleServiceContract contains new parameter
string $queue = 'default'
v0.0.23 - 2022-11-22
v0.0.22 - 2022-11-22
v0.0.21 - 2022-11-22
ff0ea2c
- Testing: Add concern for testing Assert classes (commit by @pionl)5bcfe2b
- Testing: Add assert for Illuminate\Contracts\Debug\ExceptionHandler (commit by @pionl)
v0.0.20 - 2022-11-22
v0.0.19 - 2022-11-21
66f9583
- Testing: Add TestData concern for simple test using dataProvider and type safe assert (commit by @pionl)47b1342
- Testing: Add AssertProviderSingletons for testing singletons (commit by @pionl)
v0.0.18 - 2022-11-16
a9d1a29
- Testing: Ensure that CreateRequest return request with correct url and json accept header (commit by @pionl)
v0.0.17 - 2022-11-16
v0.0.16 - 2022-11-15
1d95b3e
- Testing: Add ability to generate test Assert for all contracts methods (commit by @pionl)1d95b3e
- Testing: Add ability to testIlluminate\Contracts\Auth\Access\Gate
usingGateAssert
.
36197b4
- Testing: Fix artisan usage with larastrict commands (commit by @pionl)0cd12fe
- Testing: Update dependencies and fix phpstan warnning on latest testbench version (commit by @pionl)
v0.0.15 - 2022-10-13
28b335a
- Database: Delete/forceDelete will always return int (0 for no deletion was made) (commit by @pionl)066cdca
- Testing: Add ability to create custom requests in tests (commit by @pionl)
-
due to
28b335a
- Delete/forceDelete will always return int (0 for no deletion was made) (commit by @pionl):Delete/forceDelete will always return int (0 for no deletion was made)
v0.0.14 - 2022-10-11
9e178a0
- database: Set wasRecentlyCreated to true if setId is set for safe unique save action (commit by @pionl)
v0.0.13 - 2022-10-11
9f1eb6e
- validation: Handle float with comma in NumberRule and improve overflow detection (commit by @pionl)
v0.0.12 - 2022-10-10
77e40a6
- database: Mimic save (timestamps, exists, generated id) for safe unique save action (commit by @pionl)
v0.0.11 - 2022-10-04
a381428
- providers: Service provider refactoring to provider flexible pipe register/boot and separation (commit by @pionl)7d3cb75
- providers: Add ability to register views/translations/components for the provider (commit by @pionl)
-
due to
a381428
- Service provider refactoring to provider flexible pipe register/boot and separation (commit by @pionl):Service provider refactoring to provider flexible pipe register/boot and separation
v0.0.10 - 2022-10-04
0a6deb6
- testing: Make service provider parameter in AssertProviderBinding/Routes null by default (commit by @pionl)50c7eb2
- translations: Allow changing default value for not found translation (commit by @pionl)
-
due to
0a6deb6
- Make service provider parameter in AssertProviderBinding/Routes null by default (commit by @pionl):$registerServiceProvider is now third parameter instead of second.
v0.0.9 - 2022-09-29
964a854
- testing: Allow larastrict maintainers use our artisan commands (commit by @pionl)a776d5f
- testing: Add ability to test RunInTransaction/SafeUniqueSave actions using assert/expectation classes (commit by @pionl)
-
due to
964a854
- Allow larastrict maintainers use our artisan commands (commit by @pionl):(low) LaraStrictTestServiceProvider renmaned to TestServiceProvider
v0.0.8 - 2022-09-28
9733d67
- testing: Add AssertProviderBindings for testing service provider bindings (commit by @pionl)
v0.0.7 - 2022-09-28
v0.0.6 - 2022-09-27
d9a6287
- provider: Add ability to register Gate policies using contract (commit by @pionl)2765d84
- testing: Add TestingContainer and TestingApplicationRoutes (commit by @pionl)
6f5a57e
- provider: Call next in LoadProviderRoutesPipe (commit by @pionl)82fa307
- provider: Call next in SetFactoryResolvingProviderPipe (commit by @pionl)
v0.0.5 - 2022-09-27
763b570
- testing: Improve ability to assert registered routes with only allowed routes (commit by @pionl)
v0.0.4 - 2022-09-27
ab61bcb
- provider: Add ability to provide custom route action with reusable file suffix (commit by @pionl)
v0.0.3 - 2022-09-27
03618de
- provider: CreateCustomRouteActionContract renamed to RegisterCustomRouteActionContract (commit by @pionl)
-
due to
03618de
- CreateCustomRouteActionContract renamed to RegisterCustomRouteActionContract (commit by @pionl):CreateCustomRouteActionContract renamed to RegisterCustomRouteActionContract