Skip to content

feat(SPEC-112): decouple logging, deprecate PsrLogger, and bump to v5.2.0 - #100

Merged
code-cfernandes merged 3 commits into
mainfrom
feat/SPEC-112-decouple-logging
Oct 12, 2026
Merged

code-cfernandes merged 3 commits into
mainfrom
feat/SPEC-112-decouple-logging

Conversation

@code-cfernandes

Copy link
Copy Markdown
Member

Description

Implements SPEC-112 (decouple logging from pivotphp-core):

  • LoggingServiceProvider: No longer creates directories or files on disk at container boot.
  • NullLogger fallback: Defaults to zero I/O overhead Psr\Log\NullLogger.
  • pivotphp/logger integration: Automatically delegates to PivotPHP\Logger\LoggerFactory when installed.
  • Legacy BC: Respects LOG_PATH in environment if configured.
  • Deprecation: Marks PivotPHP\Core\Logging\PsrLogger as @deprecated since 5.2.0, will be removed in 6.0.0.
  • Dependencies: Suggests pivotphp/logger: ^0.1, broadens psr/log to ^1.1|^2.0|^3.0.
  • Version bump: Bumped to 5.2.0 in VERSION, Application::VERSION, docs, and changelog.
  • Tests: 403 tests passing, PHPStan level 9 clean (0 errors), validate_project.php 100% OK.

@github-actions

Copy link
Copy Markdown

🚀 Release Readiness Report - PivotPHP Core v5.2.0

✅ All Checks Passed!

  • Version: 5.2.0
  • PHPStan: Level 9, 0 errors
  • Tests: All tests passing
  • Code Style: PSR-12 compliant
  • PHP Compatibility: 8.1 - 8.4
  • Dependencies: All valid
  • Scripts: Consolidated and optimized

📦 Ready for Publication

The project is ready to be tagged and released!

Next Steps:

  1. Create a new tag: git tag -a v5.2.0 -m 'Release v5.2.0'
  2. Push the tag: git push origin v5.2.0
  3. The release workflow will automatically create a GitHub release
  4. Packagist will be automatically updated

@github-actions

Copy link
Copy Markdown

🚀 Release Readiness Report - PivotPHP Core v5.2.0

✅ All Checks Passed!

  • Version: 5.2.0
  • PHPStan: Level 9, 0 errors
  • Tests: All tests passing
  • Code Style: PSR-12 compliant
  • PHP Compatibility: 8.1 - 8.4
  • Dependencies: All valid
  • Scripts: Consolidated and optimized

📦 Ready for Publication

The project is ready to be tagged and released!

Next Steps:

  1. Create a new tag: git tag -a v5.2.0 -m 'Release v5.2.0'
  2. Push the tag: git push origin v5.2.0
  3. The release workflow will automatically create a GitHub release
  4. Packagist will be automatically updated

@github-actions

Copy link
Copy Markdown

🚀 Release Readiness Report - PivotPHP Core v5.2.0

✅ All Checks Passed!

  • Version: 5.2.0
  • PHPStan: Level 9, 0 errors
  • Tests: All tests passing
  • Code Style: PSR-12 compliant
  • PHP Compatibility: 8.1 - 8.4
  • Dependencies: All valid
  • Scripts: Consolidated and optimized

📦 Ready for Publication

The project is ready to be tagged and released!

Next Steps:

  1. Create a new tag: git tag -a v5.2.0 -m 'Release v5.2.0'
  2. Push the tag: git push origin v5.2.0
  3. The release workflow will automatically create a GitHub release
  4. Packagist will be automatically updated

@code-cfernandes
code-cfernandes merged commit 4987b4d into main Oct 12, 2026
10 checks passed
@code-cfernandes
code-cfernandes deleted the feat/SPEC-112-decouple-logging branch October 12, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant