Skip to content

Releases: AppsDevTeam/request-logger

v1.2

Choose a tag to compare

@thorewi thorewi released this 24 Oct 17:38
feat: Indexy request_log a request_log_body nesou traity

v1.1

Choose a tag to compare

@thorewi thorewi released this 17 Oct 08:04
feat: Odpověď se maskuje bez upozornění na číslo karty

v1.0.2: fix: created_at hlavičky i těla jako DATETIME(6)

Choose a tag to compare

@thorewi thorewi released this 03 Oct 11:34
Logger zapisuje do hlavičky i těla tentýž okamžik s mikrosekundami, ale
hlavička měla DATETIME(3) a tělo prosté DATETIME - MySQL tělu čas zaokrouhlil
na celé sekundy, takže se okamžik obou řádků lišil. Úložiště logů (adt/log-mover)
drží TIMESTAMP(6); teď je po celé cestě jedna přesnost a nic se nezaokrouhluje.

Projekty potřebují migraci: ALTER TABLE request_log / request_log_body
MODIFY created_at DATETIME(6) NOT NULL.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

v1.0.1: feat: Add request identifier for outcome-based categorization

Choose a tag to compare

@thorewi thorewi released this 03 Oct 07:33
Introduces an `identifier` column to the request log, allowing requests to be labelled by their outcome (e.g., 'duplicate_order'). This complements the `correlationId` (which links to external records) by providing a category for easier search and analysis beyond URL and status code.

Updates documentation to clarify the use of both `correlationId` and `identifier` and their indexing requirements.

v1.0: test: Prechod z Nette Testeru na PHPUnit 13

Choose a tag to compare

@thorewi thorewi released this 03 Oct 04:51
PHPUnit kvuli snadnemu pozdejsimu prechodu na Codeception, ktery na nem stoji
(Codeception 5.3 podporuje PHPUnit 9-13).

- testy jako TestCase tridy, fixtures po jedne tride na soubor pres autoload-dev
- staticky stav loggeru se nuluje v setUp/tearDown, protoze PHPUnit
  spousti vsechny testy v jednom procesu
- anonymni pozadavek nově overuje, ze nevznikl critical.log (driv se kontrolovalo
  jen to, ze nic nevyhodilo, coz logger plati vzdy)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>