From 6afe7b48eb30f2b06caff73c483f4b39fd1dd668 Mon Sep 17 00:00:00 2001 From: Eric Rosas Date: Wed, 16 Oct 2024 08:47:30 -0700 Subject: [PATCH 1/2] Changed log severity Changed log severity --- CHANGELOG.md | 9 +++++++++ composer.json | 2 +- src/services/Request.php | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 029db70..be2a5f4 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 1.2.1 - 2024-10-22 +### Changed +- Changed Craft::info() to Craft::warning() so it gets picked up in non-devMode + + +## 1.2.0 - 2024-7-22 +### Changed +- Removed `castiron` from namespace, removed authorship comments, etc. + ## 1.2.0 - 2024-7-22 ### Changed - Removed `castiron` from namespace, removed authorship comments, etc. diff --git a/composer.json b/composer.json index 76b47e0..2eed0a5 100755 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "lsst-epo/craft-next-js-builds", "description": "Invoke Next.js page builds from Craft.", "type": "craft-plugin", - "version": "1.2.3", + "version": "1.2.4", "keywords": [ "craft", "cms", diff --git a/src/services/Request.php b/src/services/Request.php index cf73ddf..789a5a3 100755 --- a/src/services/Request.php +++ b/src/services/Request.php @@ -45,7 +45,7 @@ public function buildPagesFromEntry(Entry $entry, string $revalidateMenu) $params["tags"] = ["navigation"]; } $requestUrl = $endpoint . '?' . http_build_query($params); - Craft::info("Request URL: " .$requestUrl, "REVALIDATE_STATUS"); + Craft::warning("Request URL: " .$requestUrl, "REVALIDATE_STATUS"); // for tracking revalidate events try { $client->request('GET', $requestUrl, []); From d6198b6bbce797bc237b96c749a5e32af336b55d Mon Sep 17 00:00:00 2001 From: Eric Rosas Date: Wed, 16 Oct 2024 08:48:39 -0700 Subject: [PATCH 2/2] Removed dup line in `CHANGELOG` Removed dup line in `CHANGELOG` --- CHANGELOG.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be2a5f4..2fa2771 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Changed - Changed Craft::info() to Craft::warning() so it gets picked up in non-devMode - -## 1.2.0 - 2024-7-22 -### Changed -- Removed `castiron` from namespace, removed authorship comments, etc. - ## 1.2.0 - 2024-7-22 ### Changed - Removed `castiron` from namespace, removed authorship comments, etc.