Skip to content

Commit

Permalink
Update template stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Mar 11, 2024
1 parent 6d4034f commit bf337c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for Blitz Hints

## 1.2.1 - 2024-03-11

### Changed

- The template stack trace is now updated if different for the same field-template combination.

## 1.2.0 - 2024-03-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "putyourlightson/craft-blitz-hints",
"description": "Provides templating performance hints.",
"version": "1.2.0",
"version": "1.2.1",
"type": "craft-module",
"license": "mit",
"require": {
Expand Down
1 change: 1 addition & 0 deletions src/services/HintsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public function save(): void
],
[
'line' => $hint->line,
'stackTrace' => implode(',', $hint->stackTrace),
])
->execute();
}
Expand Down

0 comments on commit bf337c2

Please sign in to comment.