Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Releases: dan-wolf-at/core

v13.1.2

31 May 08:42

Choose a tag to compare

v13.1.1

18 May 11:53

Choose a tag to compare

v8.17.6

13 May 21:37

Choose a tag to compare

Full Changelog: v8.17.5...v8.17.6

v8.17.5

13 May 19:33

Choose a tag to compare

Full Changelog: v8.17.4...v8.17.5

v8.17.4

09 May 12:19

Choose a tag to compare

Full Changelog: v8.17.3...v8.17.4

v8.17.3

08 May 08:58

Choose a tag to compare

Full Changelog: v8.17.2...v8.17.3

v8.17.2

07 May 18:24

Choose a tag to compare

Full Changelog: v8.17.1...v8.17.2

v8.17.1

07 May 12:55

Choose a tag to compare

Full Changelog: v8.17.0...v8.17.1

v8.17.0

07 May 10:12

Choose a tag to compare

Full Changelog: v8.16.0...v8.17.0

Release: Code Modernization, Strict Typing, Dependency Updates & Tooling Improvements

03 May 09:08

Choose a tag to compare

Key Changes:

  • Dependency & Configuration Updates:
    • Updated composer.json and composer.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 .gitattributes and .gitignore.
  • 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).
  • 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.
  • Refactoring & Enhancements:
    • Generators: Refactored GeneratorCommand by removing FormatterTrait dependency, adding strict types, enhancing command-line parameter handling, adding generator validation, and improving methods like handle, removeSpecialChars, sanitizeUserData, and getInput. Added UIGeneratorTrait for 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\UnsetKey and Collection\ContainsDecodedHash implementations.
    • 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.
  • Testing:
    • Added new unit tests for HasRequestCriteriaTrait.
    • Refactored base test case and helpers.

This release enhances the overall quality, maintainability, and developer experience of the Apiato core library.