Releases: dan-wolf-at/core
Releases · dan-wolf-at/core
v13.1.2
Full Changelog: https://github.com/dan-wolf-at/core/commits/v13.1.2
v13.1.1
Full Changelog: https://github.com/dan-wolf-at/core/commits/v13.1.1
v8.17.6
Full Changelog: v8.17.5...v8.17.6
v8.17.5
Full Changelog: v8.17.4...v8.17.5
v8.17.4
Full Changelog: v8.17.3...v8.17.4
v8.17.3
Full Changelog: v8.17.2...v8.17.3
v8.17.2
Full Changelog: v8.17.1...v8.17.2
v8.17.1
Full Changelog: v8.17.0...v8.17.1
v8.17.0
Full Changelog: v8.16.0...v8.17.0
Release: Code Modernization, Strict Typing, Dependency Updates & Tooling Improvements
Key Changes:
- Dependency & Configuration Updates:
- Updated
composer.jsonandcomposer.lock: Raised PHP requirement to^8.3, updated Laravel framework to^11, Passport to^13, and many other dependencies. - Added new dev dependencies: Rector, PHPStan, PHPMD, PHP_CodeSniffer, composer-unused.
- Updated
.gitattributesand.gitignore.
- Updated
- Strict Types Enforcement: Introduced
declare(strict_types=1);across numerous core files, improving type safety and code reliabilit. - Code Cleanup & Removals:
- Removed unused
FormatterTrait. - Removed configuration files for Psalm (
psalm.xml) and PHPMD (ruleset.xml).
- Removed unused
- New Development Tools & CI:
- Added Rector for automated refactoring (
rector.php). - Added PHPStan for static analysis (
phpstan.neon,phpstan-baseline.neon). - Added PHP_CodeSniffer with custom ruleset (
phpcs.xml). - Added PHPMD with custom ruleset (
phpmd.ruleset.xml,phpmd.baseline.xml). - Added composer-unused configuration (
composer-unused.php). - Added GitHub Actions workflows for automated testing, linting, static analysis, and security checks.
- Added Rector for automated refactoring (
- Refactoring & Enhancements:
- Generators: Refactored
GeneratorCommandby removingFormatterTraitdependency, adding strict types, enhancing command-line parameter handling, adding generator validation, and improving methods likehandle,removeSpecialChars,sanitizeUserData, andgetInput. AddedUIGeneratorTraitfor common UI generator logic. - Stubs: Updated numerous stubs (Actions, Controllers, Events, Factories, Migrations, Models, Requests, Tasks, Tests, etc.) with strict typing, improved method signatures (e.g.,
run,transform), better exception handling in Tasks, added PHPDoc groups for tests, added names to generated routes, and optimized event serialization. - Traits: Updated various Traits (
FactoryLocatorTrait,HasResourceKeyTrait,HashIdTrait,ResponseTrait,SanitizerTrait,ValidationTrait,TestCaseTrait,HashedRouteBindingTrait,ParserTrait,PrinterTrait,FileSystemTrait,CanEagerLoadTrait,CanOwnTrait,HasRequestCriteriaTrait,ModelTrait) with strict typing, updated type hints, and refactored methods for clarity and correctness. - Macros: Refactored
Config\UnsetKeyandCollection\ContainsDecodedHashimplementations. - Loaders: Updated loader traits (
MigrationsLoaderTrait,ConfigsLoaderTrait,HelpersLoaderTrait,AliasesLoaderTrait,SeederLoaderTrait,ViewsLoaderTrait,RoutesLoaderTrait,AutoLoaderTrait,ProvidersLoaderTrait,CommandsLoaderTrait,LocalizationLoaderTrait) with strict types and minor refactoring. - Exceptions: Added strict types and updated PHPDoc.
- Generators: Refactored
- Testing:
- Added new unit tests for
HasRequestCriteriaTrait. - Refactored base test case and helpers.
- Added new unit tests for
This release enhances the overall quality, maintainability, and developer experience of the Apiato core library.