Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [Unreleased]

## [7.0.0]
## [7.0.0] - 2026-10-31

### Changed (behaviour change)
- `sanitizeRequestUri()` also strips scheme, userinfo, host and port from absolute URLs and `//host/path` references (`https://user:pw@host/cb?x=1` is logged as `/cb`), and yields `''` for anything that is not an origin-form target or has an empty authority. Previously `//host/path` was logged as `/host/path`.
Expand Down Expand Up @@ -42,3 +42,6 @@
- Composer scripts for every gate (`composer ci`), PHPStan level max without baseline, `CONTRIBUTING.md` mapping local commands to CI.
- **Breaking:** `require.php` is now `>=8.4.27 <8.5.0 || >=8.5.12 <8.6.0`. Previously no PHP constraint was declared (the code already required 8.3+ typed constants).
- `Logger::log()` now throws `Psr\Log\InvalidArgumentException` for a non-string or unknown level (previously an uncaught error from Monolog or `strtoupper`).

[Unreleased]: https://github.com/Maatify/Logger/compare/v7.0.0...HEAD
[7.0.0]: https://github.com/Maatify/Logger/releases/tag/v7.0.0
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<img alt="Maatify.dev" src="https://www.maatify.dev/company-profile/maatify_logo_dark.svg">
</picture>

[![Status](https://img.shields.io/badge/Status-Release%20Preparation-blue)](CHANGELOG.md)
[![Status](https://img.shields.io/badge/Status-Published-blue)](CHANGELOG.md)
[![Version](https://img.shields.io/badge/Version-7.0.0-blue)](https://packagist.org/packages/maatify/logger)
[![PHP](https://img.shields.io/badge/PHP-%3E%3D8.4.27-8892BF)](composer.json)
[![License](https://img.shields.io/badge/License-Proprietary-green)](LICENSE)
[![PHPStan](https://img.shields.io/badge/PHPStan-Level%20Max-4E8CAE)](phpstan.neon)
Expand All @@ -28,7 +29,7 @@

`maatify/logger` is a PSR-3 compatible logger for PHP: a Monolog-backed `Logger`, a static `LoggerService` facade, a legacy `RecordLog` entry point, redaction of secrets before anything is written, and a JSON file fallback used only when Monolog is not loadable.

Release Target: `7.0.0` · Release Preparation: active · Publication State of `7.0.0` at qualification: not published.
Published release: `7.0.0` (2026-10-31), distributed through [Packagist](https://packagist.org/packages/maatify/logger).

</div>

Expand Down Expand Up @@ -56,13 +57,13 @@ Release Target: `7.0.0` · Release Preparation: active · Publication State of `

## Installation

Install the exact release target:
Install the published release:

```bash
composer require maatify/logger:7.0.0
```

The command resolves through Packagist only after this exact version is published; the existence of this source tree does not publish it.
The command resolves through Packagist.

## Quick Usage

Expand Down
4 changes: 3 additions & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

## Current Support State

This tree is the release artifact for target `7.0.0`. It does not establish that `7.0.0` is published, and it does not define a supported release line; the supported release lines are recorded here only after a release is published and the maintainers have decided its support.
The actively supported release line is `7.x`.

Security fixes are provided in the latest release within the supported `7.x` line. Users should upgrade to the latest available `7.x` version before reporting a vulnerability. Older release lines are not supported.

## Reporting a Vulnerability

Expand Down
4 changes: 2 additions & 2 deletions llms.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maatify Logger (maatify/logger)

> PSR-3 compatible PHP logger with a Monolog backend, a static facade, a legacy entry point, redaction of secrets before writing, and a JSON file fallback. Standalone Composer package; release target 7.0.0.
> PSR-3 compatible PHP logger with a Monolog backend, a static facade, a legacy entry point, redaction of secrets before writing, and a JSON file fallback. Standalone Composer package; published release 7.0.0 on Packagist.

This file is for an AI agent that consumes the package, not one that modifies it. The supported contract is what the linked consumer documents describe. Visible in the repository does not mean supported: do not treat `src/` internals, tests, fixtures, scripts, undocumented classes or methods, or internal engineering files as a consumer contract, and do not invent a contract the documents below do not state.

Expand All @@ -13,6 +13,6 @@ This file is for an AI agent that consumes the package, not one that modifies it

## Release and state

- [CHANGELOG.md](CHANGELOG.md): release history and the `7.0.0` target section.
- [CHANGELOG.md](CHANGELOG.md): release history including the published `7.0.0` release.
- [SECURITY.md](SECURITY.md): support state and private vulnerability reporting.
- [composer.json](composer.json): the only owner of package identity, PHP and extension requirements, dependencies and autoload.