Skip to content

Commit a9680dc

Browse files
committed
Release 1.1.1: Symfony 7.4 CI compatibility and demo smoke hardening.
1 parent ba01bf7 commit a9680dc

6 files changed

Lines changed: 40 additions & 10 deletions

File tree

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,15 @@ demo-smoke:
149149
@PORT=$$(grep "^PORT=" demo/symfony8/.env 2>/dev/null | cut -d= -f2 | tr -d '\r'); \
150150
[ -z "$$PORT" ] && PORT=$$(grep "^PORT=" demo/symfony8/.env.example 2>/dev/null | cut -d= -f2 | tr -d '\r'); \
151151
[ -z "$$PORT" ] && PORT=8105; \
152-
echo "Smoke GET http://localhost:$$PORT/"; \
152+
echo "Smoke GET http://localhost:$$PORT/ (fallback: in-container curl)"; \
153153
code=000; \
154-
for i in 1 2 3 4 5 6 7 8 9 10; do \
155-
code=$$(curl -fsS -o /dev/null -w "%{http_code}" "http://localhost:$$PORT/" || true); \
154+
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do \
155+
code=$$(curl -fsS -o /dev/null -w "%{http_code}" "http://127.0.0.1:$$PORT/" 2>/dev/null || true); \
156+
if [ "$$code" != "200" ]; then \
157+
code=$$(cd demo/symfony8 && docker compose exec -T php curl -fsS -o /dev/null -w "%{http_code}" "http://127.0.0.1/" 2>/dev/null || true); \
158+
fi; \
156159
[ "$$code" = "200" ] && break; \
157-
sleep 3; \
160+
sleep 5; \
158161
done; \
159162
if [ "$$code" != "200" ]; then echo "demo-smoke failed: HTTP $$code"; (cd demo/symfony8 && docker compose logs --tail 80 php) || true; exit 1; fi; \
160163
echo "demo-smoke OK (HTTP 200)"

demo/symfony8/composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Table of contents
99

1010
- [Unreleased](#unreleased)
11+
- [1.1.1 - 2026-08-19](#111---2026-08-19)
1112
- [1.1.0 - 2026-08-18](#110---2026-08-18)
1213
- [1.0.0 - 2026-08-18](#100---2026-08-18)
1314

1415
## [Unreleased]
1516

17+
## [1.1.1] - 2026-08-19
18+
19+
Patch release restoring Symfony 7.4 CI matrix compatibility and hardening demo smoke on GitHub Actions.
20+
21+
### Fixed
22+
23+
- Test support user implements `UserInterface::eraseCredentials()` so PHPUnit runs on Symfony 7.4 (the method was removed from the interface in Symfony 8)
24+
- Demo smoke retries longer and falls back to in-container HTTP checks when host port mapping is slow on CI runners
25+
1626
## [1.1.0] - 2026-08-18
1727

1828
Comment protection strategies, object-level publication access, listing YAML defaults, and a Bootstrap-ready FrankenPHP admin chrome.
@@ -71,6 +81,7 @@ Initial public release of **Blog Kit Bundle** (`nowo-tech/blog-kit-bundle`).
7181
- CSRF-protected admin mutations and public comment forms; deletes go through native confirm dialogs
7282
- Comment bodies escaped in Twig; article HTML documented as trusted-editor `|raw`
7383

74-
[Unreleased]: https://github.com/nowo-tech/BlogKitBundle/compare/v1.1.0...HEAD
84+
[Unreleased]: https://github.com/nowo-tech/BlogKitBundle/compare/v1.1.1...HEAD
85+
[1.1.1]: https://github.com/nowo-tech/BlogKitBundle/releases/tag/v1.1.1
7586
[1.1.0]: https://github.com/nowo-tech/BlogKitBundle/releases/tag/v1.1.0
7687
[1.0.0]: https://github.com/nowo-tech/BlogKitBundle/releases/tag/v1.0.0

docs/RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ After creating the release commit and tag, run `make check-no-cursor-coauthor` a
1212

1313
Before tagging a release, confirm dependency audit is clean, no secrets are committed, and `docs/SECURITY.md` / `.github/SECURITY.md` remain accurate. Follow the 12.4.1 table in [SECURITY.md](SECURITY.md).
1414

15-
## Example for v1.1.0
15+
## Example for v1.1.1
1616

1717
```bash
1818
git add -A
1919
git status # review
2020
make release-check
21-
git commit -m "Release 1.1.0: comment protection, object access, and demo admin chrome."
21+
git commit -m "Release 1.1.1: Symfony 7.4 CI compatibility and demo smoke hardening."
2222
make check-no-cursor-coauthor
23-
git tag -a v1.1.0 -m "Release 1.1.0"
23+
git tag -a v1.1.1 -m "Release 1.1.1"
2424
git push origin main
25-
git push origin v1.1.0
25+
git push origin v1.1.1
2626
```

docs/UPGRADING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This document describes how to upgrade **Blog Kit Bundle** between released vers
55
## Table of contents
66

77
- [Unreleased](#unreleased)
8+
- [1.1.1](#111)
89
- [1.1.0](#110)
910
- [1.0.0](#100)
1011
- [Future releases](#future-releases)
@@ -13,6 +14,14 @@ This document describes how to upgrade **Blog Kit Bundle** between released vers
1314

1415
No upgrade notes yet.
1516

17+
## 1.1.1
18+
19+
Patch release with no schema, configuration, or API changes. Upgrade with:
20+
21+
```bash
22+
composer update nowo-tech/blog-kit-bundle
23+
```
24+
1625
## 1.1.0
1726

1827
Schema: `content_blog_settings` gains `comment_rate_limit_strategy`, `comment_rate_limit_limit`, `comment_rate_limit_interval_seconds`, `comment_captcha_strategy`, `html_sanitize_strategy`, and `masonry_strategy` (defaults `inherit` / `0`). Column defaults for `masonry_columns_*` become `0` (YAML inherit). `listing_mode` default becomes `inherit` (YAML `listing.mode`). Run Doctrine schema update.

tests/Support/TestUser.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,11 @@ public function setRoles(array $roles): self
5858

5959
return $this;
6060
}
61+
62+
/**
63+
* Required by Symfony 7.4 {@see UserInterface}; removed from the interface in Symfony 8.
64+
*/
65+
public function eraseCredentials(): void
66+
{
67+
}
6168
}

0 commit comments

Comments
 (0)